Commit 6bbc7103 authored by Kev Jackson's avatar Kev Jackson Committed by Daniel Borkmann

bpf, xdp, docs: Correct some English grammar and spelling

Header DOC on include/net/xdp.h contained a few English grammer and
spelling errors.
Signed-off-by: default avatarKev Jackson <foamdino@gmail.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarJesper Dangaard Brouer <brouer@redhat.com>
Link: https://lore.kernel.org/bpf/YVVaWmKqA8l9Tm4J@kev-VirtualBox
parent d4b6f87e
...@@ -15,13 +15,13 @@ ...@@ -15,13 +15,13 @@
* 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 have configured a given RX-ring queue.
* *
* Each xdp_buff frame received in the driver carry 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
* data-path read-access to RX-info for both kernel and bpf-side * data-path read-access to RX-info for both kernel and bpf-side
* (limited subset). * (limited subset).
* *
* For now, direct access is only safe while running in NAPI/softirq * For now, direct access is only safe while running in NAPI/softirq
* context. Contents is read-mostly and must not be updated during * context. Contents are read-mostly and must not be updated during
* driver NAPI/softirq poll. * driver NAPI/softirq poll.
* *
* The driver usage API is a register and unregister API. * The driver usage API is a register and unregister API.
...@@ -30,8 +30,8 @@ ...@@ -30,8 +30,8 @@
* 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 need to stop the RX-ring before purging and reallocating
* memory. In that process the driver MUST call unregistor (which * memory. In that process the driver MUST call unregister (which
* also apply 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