2021-09-27 08:24:27

by Kev Jackson

[permalink] [raw]
Subject: [PATCH] Trivial: 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: Kev Jackson <[email protected]>
---
include/net/xdp.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/net/xdp.h b/include/net/xdp.h
index ad5b02dcb6f4..447f9b1578f3 100644
--- a/include/net/xdp.h
+++ b/include/net/xdp.h
@@ -15,13 +15,13 @@
* level RX-ring queues. It is information that is specific to how
* 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
* data-path read-access to RX-info for both kernel and bpf-side
* (limited subset).
*
* 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.
*
* The driver usage API is a register and unregister API.
@@ -30,8 +30,8 @@
* 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
- * memory. In that process the driver MUST call unregistor (which
- * also apply for driver shutdown and unload). The register API is
+ * 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.
*/

--
2.30.2


2021-09-27 10:56:49

by Jesper Dangaard Brouer

[permalink] [raw]
Subject: Re: [PATCH] Trivial: docs: correct some English grammar and spelling

Hi Kev,

You should send this patch to the mailing list [email protected] or
[email protected] ... else I don't think it will be picked up.

On 27/09/2021 10.22, Kev Jackson wrote:
> Header DOC on include/net/xdp.h contained a few English
> grammer and spelling errors.
>
> Signed-off-by: Kev Jackson<[email protected]>
> ---
> include/net/xdp.h | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)

Acked-by: Jesper Dangaard Brouer <[email protected]>

--Jesper

2021-09-29 23:37:15

by Alexei Starovoitov

[permalink] [raw]
Subject: Re: [PATCH] Trivial: docs: correct some English grammar and spelling

On Mon, Sep 27, 2021 at 1:22 AM Kev Jackson <[email protected]> wrote:
>
> Header DOC on include/net/xdp.h contained a few English
> grammer and spelling errors.
>
> Signed-off-by: Kev Jackson <[email protected]>

Pls collect the Ack and resend cc-ing bpf@vger.
Also please use [PATCH bpf-next] as the subj.