Commit 04d25cce authored by Randy Dunlap's avatar Randy Dunlap Committed by Daniel Borkmann

net, xdp: Correct grammar

Use the correct verb form in 2 places in the XDP rx-queue comment.
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarJesper Dangaard Brouer <hawk@kernel.org>
Link: https://lore.kernel.org/bpf/20231213043735.30208-1-rdunlap@infradead.org
parent 2e1d6a04
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* *
* The XDP RX-queue info (xdp_rxq_info) is associated with the driver * The XDP RX-queue info (xdp_rxq_info) is associated with the driver
* level RX-ring queues. It is information that is specific to how * level RX-ring queues. It is information that is specific to how
* the driver have configured a given RX-ring queue. * the driver has configured a given RX-ring queue.
* *
* Each xdp_buff frame received in the driver carries a (pointer) * Each xdp_buff frame received in the driver carries a (pointer)
* reference to this xdp_rxq_info structure. This provides the XDP * reference to this xdp_rxq_info structure. This provides the XDP
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
* The struct is not directly tied to the XDP prog. A new XDP prog * The struct is not directly tied to the XDP prog. A new XDP prog
* can be attached as long as it doesn't change the underlying * can be attached as long as it doesn't change the underlying
* RX-ring. If the RX-ring does change significantly, the NIC driver * RX-ring. If the RX-ring does change significantly, the NIC driver
* naturally need to stop the RX-ring before purging and reallocating * naturally needs to stop the RX-ring before purging and reallocating
* memory. In that process the driver MUST call unregister (which * memory. In that process the driver MUST call unregister (which
* also applies for driver shutdown and unload). The register API is * also applies for driver shutdown and unload). The register API is
* also mandatory during RX-ring setup. * also mandatory during RX-ring setup.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment