Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Randy Dunlap and committed by
Daniel Borkmann
04d25cce 2e1d6a04

+2 -2
+2 -2
include/net/xdp.h
··· 16 16 * 17 17 * The XDP RX-queue info (xdp_rxq_info) is associated with the driver 18 18 * 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. 20 20 * 21 21 * Each xdp_buff frame received in the driver carries a (pointer) 22 22 * reference to this xdp_rxq_info structure. This provides the XDP ··· 32 32 * The struct is not directly tied to the XDP prog. A new XDP prog 33 33 * can be attached as long as it doesn't change the underlying 34 34 * 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 36 36 * memory. In that process the driver MUST call unregister (which 37 37 * also applies for driver shutdown and unload). The register API is 38 38 * also mandatory during RX-ring setup.