]> git.itanic.dy.fi Git - linux-stable/commitdiff
net, xdp: Correct grammar
authorRandy Dunlap <rdunlap@infradead.org>
Wed, 13 Dec 2023 04:37:35 +0000 (20:37 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 14 Dec 2023 15:38:59 +0000 (16:38 +0100)
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
include/net/xdp.h

index 8cd04a74dba509db5bede3646716a36d1080deaa..e6770dd40c917e3b53118e945ec0bef4904ba77c 100644 (file)
@@ -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.