summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2023-12-12 20:37:35 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2023-12-14 16:38:59 +0100
commit04d25ccea2b3199269b7e500da33023b51418fde (patch)
tree9c45da55c1977cb060f9bb8231100cc07ab0f4ff /include/net
parent2e1d6a04116c373fbd25beddba4267178535bc60 (diff)
downloadlinux-stable-04d25ccea2b3199269b7e500da33023b51418fde.tar.gz
linux-stable-04d25ccea2b3199269b7e500da33023b51418fde.tar.bz2
linux-stable-04d25ccea2b3199269b7e500da33023b51418fde.zip
net, xdp: Correct grammar
Use the correct verb form in 2 places in the XDP rx-queue comment. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Jesper Dangaard Brouer <hawk@kernel.org> Link: https://lore.kernel.org/bpf/20231213043735.30208-1-rdunlap@infradead.org
Diffstat (limited to 'include/net')
-rw-r--r--include/net/xdp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/xdp.h b/include/net/xdp.h
index 8cd04a74dba5..e6770dd40c91 100644
--- a/include/net/xdp.h
+++ b/include/net/xdp.h
@@ -16,7 +16,7 @@
*
* 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
- * 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)
* reference to this xdp_rxq_info structure. This provides the XDP
@@ -32,7 +32,7 @@
* 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
* 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
* also applies for driver shutdown and unload). The register API is
* also mandatory during RX-ring setup.