|WARNING| pw152873 [PATCH v2] doc: reword flow offload and api docs
qemudev at loongson.cn
qemudev at loongson.cn
Thu Apr 10 20:08:23 CEST 2025
Test-Label: loongarch-compilation
Test-Status: WARNING
http://dpdk.org/patch/152873
_apply patch failure_
Submitter: Nandini Persad <nandinipersad361 at gmail.com>
Date: Thu, 10 Apr 2025 11:39:31 -0700
DPDK git baseline: Repo:dpdk-next-net
Branch: main
CommitID: b69fb7abb6d211cb74284029c6cdb2066b9ac0e9
Apply patch set 152873 failed:
Checking patch doc/guides/prog_guide/ethdev/flow_offload.rst...
error: while searching for:
(Ethernet) and L4 (UDP). Doing so is only allowed at the bottom and at the
top of the stack.
Meta item types
~~~~~~~~~~~~~~~
They match meta-data or affect pattern processing instead of matching packet
data directly, most of them do not need a specification structure. This
particularity allows them to be specified anywhere in the stack without
causing any side effect.
Item: ``END``
^^^^^^^^^^^^^
End marker for item lists. Prevents further processing of items, thereby
ending the pattern.
- Its numeric value is 0 for convenience.
- PMD support is mandatory.
- ``spec``, ``last`` and ``mask`` are ignored.
. _table_rte_flow_item_end:
. table:: END
+----------+---------+
| Field | Value |
+==========+=========+
| ``spec`` | ignored |
+----------+---------+
| ``last`` | ignored |
+----------+---------+
| ``mask`` | ignored |
+----------+---------+
Item: ``VOID``
^^^^^^^^^^^^^^
Used as a placeholder for convenience. It is ignored and simply discarded by
PMDs.
- PMD support is mandatory.
- ``spec``, ``last`` and ``mask`` are ignored.
. _table_rte_flow_item_void:
. table:: VOID
+----------+---------+
| Field | Value |
+==========+=========+
| ``spec`` | ignored |
+----------+---------+
| ``last`` | ignored |
+----------+---------+
| ``mask`` | ignored |
+----------+---------+
One usage example for this type is generating rules that share a common
prefix quickly without reallocating memory, only by updating item types:
. _table_rte_flow_item_void_example:
. table:: TCP, UDP or ICMP as L4
+-------+--------------------+
| Index | Item |
+=======+====================+
| 0 | Ethernet |
+-------+--------------------+
| 1 | IPv4 |
+-------+------+------+------+
| 2 | UDP | VOID | VOID |
+-------+------+------+------+
| 3 | VOID | TCP | VOID |
+-------+------+------+------+
| 4 | VOID | VOID | ICMP |
+-------+------+------+------+
| 5 | END |
+-------+--------------------+
Item: ``INVERT``
^^^^^^^^^^^^^^^^
Inverted matching, i.e. process packets that do not match the pattern.
- ``spec``, ``last`` and ``mask`` are ignored.
. _table_rte_flow_item_invert:
. table:: INVERT
+----------+---------+
| Field | Value |
+==========+=========+
| ``spec`` | ignored |
+----------+---------+
| ``last`` | ignored |
+----------+---------+
| ``mask`` | ignored |
+----------+---------+
Usage example, matching non-TCPv4 packets only:
. _table_rte_flow_item_invert_example:
. table:: Anything but TCPv4
+-------+----------+
| Index | Item |
+=======+==========+
| 0 | INVERT |
+-------+----------+
| 1 | Ethernet |
+-------+----------+
| 2 | IPv4 |
+-------+----------+
| 3 | TCP |
+-------+----------+
| 4 | END |
+-------+----------+
Item: ``PORT_ID``
^^^^^^^^^^^^^^^^^
This item is deprecated. Consider:
- `Item: PORT_REPRESENTOR`_
- `Item: REPRESENTED_PORT`_
Matches traffic originating from (ingress) or going to (egress) a given DPDK
port ID.
Normally only supported if the port ID in question is known by the
underlying PMD and related to the device the flow rule is created against.
- Default ``mask`` matches the specified DPDK port ID.
. _table_rte_flow_item_port_id:
. table:: PORT_ID
+----------+----------+-----------------------------+
| Field | Subfield | Value |
+==========+==========+=============================+
| ``spec`` | ``id`` | DPDK port ID |
+----------+----------+-----------------------------+
| ``last`` | ``id`` | upper range value |
+----------+----------+-----------------------------+
| ``mask`` | ``id`` | zeroed to match any port ID |
+----------+----------+-----------------------------+
Item: ``MARK``
^^^^^^^^^^^^^^
Matches an arbitrary integer value which was set using the ``MARK`` action
error: patch failed: doc/guides/prog_guide/ethdev/flow_offload.rst:412
error: doc/guides/prog_guide/ethdev/flow_offload.rst: patch does not apply
Checking patch lib/ethdev/rte_flow.h...
More information about the test-report
mailing list