[PATCH v5 39/54] doc: correct grammar in ACL library guide
Stephen Hemminger
stephen at networkplumber.org
Sun Jan 18 20:10:42 CET 2026
Correct various grammar issues in the ACL library documentation:
- fix subject-verb agreement "fields has" to "fields have"
- fix awkward phrasing "to which...belongs to"
- fix typo "is a follows" to "is as follows" in two places
- fix typo "less then" to "less than" in code comment
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
doc/guides/prog_guide/packet_classif_access_ctrl.rst | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/doc/guides/prog_guide/packet_classif_access_ctrl.rst b/doc/guides/prog_guide/packet_classif_access_ctrl.rst
index 172f443f6e..00e2fdbef8 100644
--- a/doc/guides/prog_guide/packet_classif_access_ctrl.rst
+++ b/doc/guides/prog_guide/packet_classif_access_ctrl.rst
@@ -32,7 +32,7 @@ over which packet classification will be performed.
Though there are few restrictions on the rule fields layout:
* First field in the rule definition has to be one byte long.
-* All subsequent fields has to be grouped into sets of 4 consecutive bytes.
+* All subsequent fields have to be grouped into sets of 4 consecutive bytes.
This is done mainly for performance reasons - search function processes the first input byte as part of the flow setup and then the inner loop of the search function is unrolled to process four input bytes at a time.
@@ -69,7 +69,7 @@ To define each field inside an AC rule, the following structure is used:
* input_index
As mentioned above, all input fields, except the very first one, must be in groups of 4 consecutive bytes.
- The input index specifies to which input group that field belongs to.
+ The input index specifies which input group that field belongs to.
* offset
The offset field defines the offset for the field.
@@ -140,7 +140,7 @@ The following array of field definitions can be used:
},
};
-A typical example of such an IPv4 5-tuple rule is a follows:
+A typical example of such an IPv4 5-tuple rule is as follows:
::
@@ -209,7 +209,7 @@ The following array of field definitions can be used:
},
};
-A typical example of such an IPv6 2-tuple rule is a follows:
+A typical example of such an IPv6 2-tuple rule is as follows:
::
@@ -346,7 +346,7 @@ For example:
* populated with rules AC context and cfg filled properly.
*/
- /* try to build AC context, with RT structures less then 8MB. */
+ /* try to build AC context, with RT structures less than 8MB. */
cfg.max_size = 0x800000;
ret = rte_acl_build(acx, &cfg);
--
2.51.0
More information about the dev
mailing list