[v3,5/5] doc/mlx5: add IPv6 routing extension matching docs

Message ID 20230214125711.3791966-6-rongweil@nvidia.com (mailing list archive)
State Accepted, archived
Delegated to: Raslan Darawsheh
Headers
Series add IPv6 routing extension implementation |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation warning apply issues

Commit Message

Rongwei Liu Feb. 14, 2023, 12:57 p.m. UTC
  Update mlx5 related document on IPv6 routing extension header
matching.

Signed-off-by: Rongwei Liu <rongweil@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
---
 doc/guides/nics/features/default.ini |  1 +
 doc/guides/nics/features/mlx5.ini    |  1 +
 doc/guides/nics/mlx5.rst             | 10 ++++++++++
 3 files changed, 12 insertions(+)
  

Patch

diff --git a/doc/guides/nics/features/default.ini b/doc/guides/nics/features/default.ini
index 976a020985..b1ad3bdca0 100644
--- a/doc/guides/nics/features/default.ini
+++ b/doc/guides/nics/features/default.ini
@@ -143,6 +143,7 @@  udp                  =
 vlan                 =
 vxlan                =
 vxlan_gpe            =
+ipv6_routing_ext     =
 
 [rte_flow actions]
 age                  =
diff --git a/doc/guides/nics/features/mlx5.ini b/doc/guides/nics/features/mlx5.ini
index eb016f34da..dac5ee5579 100644
--- a/doc/guides/nics/features/mlx5.ini
+++ b/doc/guides/nics/features/mlx5.ini
@@ -89,6 +89,7 @@  vlan                 = Y
 vxlan                = Y
 vxlan_gpe            = Y
 represented_port     = Y
+ipv6_routing_ext     = Y
 
 [rte_flow actions]
 age                  = I
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index 9c6f1cca19..ee2df66e77 100644
--- a/doc/guides/nics/mlx5.rst
+++ b/doc/guides/nics/mlx5.rst
@@ -106,6 +106,7 @@  Features
 - Sub-Function representors.
 - Sub-Function.
 - Matching on represented port.
+- Matching on IPv6 routing extension header.
 
 
 Limitations
@@ -174,6 +175,7 @@  Limitations
 
     - ``-EAGAIN`` for ``rte_eth_dev_start()``.
     - ``-EBUSY`` for ``rte_eth_dev_stop()``.
+  - Matching on ICMP6 following IPv6 routing extension header, should match ipv6_routing_ext_next_hdr instead of ICMP6.
 
 - When using Verbs flow engine (``dv_flow_en`` = 0), flow pattern without any
   specific VLAN will match for VLAN packets as well:
@@ -274,6 +276,14 @@  Limitations
   extension header type = 0x85).
 - Match on GTP extension header is not supported in group 0.
 
+- Match on IPv6 routing extension header supports the following fields only:
+
+     - type
+     - next_hdr
+     - segments_left
+
+  Only supports HW steering. (``dv_flow_en=2``)
+
 - Flex item:
 
   - Hardware support: BlueField-2.