[3/3] doc: adds the description for send to kernel
Checks
Commit Message
This patch adds the description for send to kernel action support.
Signed-off-by: Jiawei Wang <jiaweiw@nvidia.com>
Acked-by: Ori Kam <orika@nvidia.com>
---
doc/guides/nics/mlx5.rst | 7 +++++++
doc/guides/prog_guide/rte_flow.rst | 9 +++++++++
lib/ethdev/rte_flow.h | 1 -
3 files changed, 16 insertions(+), 1 deletion(-)
@@ -165,6 +165,7 @@ Features
- Sub-Function.
- Matching on represented port.
- Matching on aggregated affinity.
+- Send to kernel.
Limitations
@@ -720,6 +721,12 @@ Limitations
The flow engine of a process cannot move from active to standby mode
if preceding active application rules are still present and vice versa.
+- Send to kernel action (``RTE_FLOW_ACTION_TYPE_SEND_TO_KERNEL``):
+
+ - Supports on non-root table.
+ - Supports on isolated mode.
+ - In HW steering (``dv_flow_en`` = 2):
+ - not supported on guest port.
Statistics
----------
@@ -3490,6 +3490,15 @@ The ``quota`` value is reduced according to ``mode`` setting.
| ``RTE_FLOW_QUOTA_MODE_L3`` | Count packet bytes starting from L3 |
+------------------+----------------------------------------------------+
+Action: ``SEND_TO_KERNEL``
+^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Send packets to the kernel, without going to userspace at all.
+
+The packets will be received by the kernel driver sharing the
+same device as the DPDK port on which this action is configured.
+
+
Negative types
~~~~~~~~~~~~~~
@@ -2931,7 +2931,6 @@ enum rte_flow_action_type {
* The packets will be received by the kernel driver sharing
* the same device as the DPDK port on which this action is configured.
* This action mostly suits bifurcated driver model.
- * This is an ingress non-transfer action only.
*
* No associated configuration structure.
*/