Skip to content

Commit 04d25cc

Browse files
rddunlapborkmann
authored andcommitted
net, xdp: Correct grammar
Use the correct verb form in 2 places in the XDP rx-queue comment. Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Jesper Dangaard Brouer <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
1 parent 2e1d6a0 commit 04d25cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/net/xdp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* The XDP RX-queue info (xdp_rxq_info) is associated with the driver
1818
* level RX-ring queues. It is information that is specific to how
19-
* the driver have configured a given RX-ring queue.
19+
* the driver has configured a given RX-ring queue.
2020
*
2121
* Each xdp_buff frame received in the driver carries a (pointer)
2222
* reference to this xdp_rxq_info structure. This provides the XDP
@@ -32,7 +32,7 @@
3232
* The struct is not directly tied to the XDP prog. A new XDP prog
3333
* can be attached as long as it doesn't change the underlying
3434
* RX-ring. If the RX-ring does change significantly, the NIC driver
35-
* naturally need to stop the RX-ring before purging and reallocating
35+
* naturally needs to stop the RX-ring before purging and reallocating
3636
* memory. In that process the driver MUST call unregister (which
3737
* also applies for driver shutdown and unload). The register API is
3838
* also mandatory during RX-ring setup.

0 commit comments

Comments
 (0)