Skip to contentSkip to conversation

doc: update push/pop VLAN support in mlx5 guide

PATCH In review Dong Zhou 3 participants 3 messages Apr 1, 2021 – Apr 11, 2021

lore
Share & tools
lore

Dong Zhou

author
#0 lore raw

PATCH 1/1 doc: update push/pop VLAN support in mlx5 guide

Updates the documentation for push/pop VLAN support. In E-Switch mode, push VLAN on ingress traffic and pop VLAN in egress traffic are both support.

---
 doc/guides/nics/mlx5.rst               | 12 ++++++++++--
 doc/guides/rel_notes/release_21_05.rst |  6 ++++++
 2 files changed, 16 insertions(+), 2 deletions(-)
doc/guides/nics/mlx5.rst +10 -2
index 8703435..2f6b875 100644
@@ -171,9 +171,9 @@ Limitations
 
   - Flow rules having a VLAN pop offload command as one of their actions and
     are lacking a match on VLAN as one of their items are not supported.
-  - The command is not supported on egress traffic.
+  - The command is not supported on egress traffic in NIC mode.
 
-- VLAN push offload is not supported on ingress traffic.
+- VLAN push offload is not supported on ingress traffic in NIC mode.
 
 - VLAN set PCP offload is not supported on existing headers.
 
@@ -1566,6 +1566,14 @@ Supported hardware offloads
    | | of_set_vlan_pcp /   | |               | |               |
    | | of_set_vlan_vid)    | |               | |               |
    +-----------------------+-----------------+-----------------+
+   | | VLAN                | | DPDK 21.05    | |               |
+   | | ingress and /       | | OFED 5.3      | |    N/A        |
+   | | of_push_vlan /      | | ConnectX-6 Dx | |               |
+   +-----------------------+-----------------+-----------------+
+   | | VLAN                | | DPDK 21.05    | |               |
+   | | egress and /        | | OFED 5.3      | |    N/A        |
+   | | of_pop_vlan /       | | ConnectX-6 Dx | |               |
+   +-----------------------+-----------------+-----------------+
    | Encapsulation         | | DPDK 19.05    | | DPDK 19.02    |
    | (VXLAN / NVGRE / RAW) | | OFED 4.7-1    | | OFED 4.6      |
    |                       | | rdma-core 24  | | rdma-core 23  |
doc/guides/rel_notes/release_21_05.rst +6 -0
index 873140b..5c4159e 100644
@@ -119,6 +119,12 @@ New Features
 
   * Added support for preferred busy polling.
 
+* **Updated Mellanox mlx5 driver.**
+
+  Updated the Mellanox mlx5 driver with new features and improvements, including:
+
+  * Support push VLAN on ingress traffic and pop VLAN on egress traffic in E-Switch mode.
+
 * **Updated testpmd.**
 
   * Added a command line option to configure forced speed for Ethernet port.
Signature · 1 line
1.8.3.1
Reviewed-by on v1 1/1
#1 lore raw

Hello Bill,

Quoted 9 lines

-----Original Message-----
From: dev <[email protected]> On Behalf Of Dong Zhou
Sent: Thursday, April 1, 2021 4:23 PM
To: Jiawei(Jonny) Wang <[email protected]>; Raslan Darawsheh <[email protected]>
Cc: [email protected]
Subject: [dpdk-dev] [PATCH] doc: update push/pop VLAN support in mlx5 guide

Quoted 4 lines

Updates the documentation for push/pop VLAN support. In E-Switch mode, push VLAN on ingress traffic and pop VLAN in egress traffic are both support.

Quoted 58 lines

---
doc/guides/nics/mlx5.rst | 12 ++++++++++--
doc/guides/rel_notes/release_21_05.rst | 6 ++++++

2 files changed, 16 insertions(+), 2 deletions(-)
doc/guides/nics/mlx5.rst index renamed from doc/guides/nics/mlx5.rst +0 -0

8703435..2f6b875 100644

doc/guides/nics/mlx5.rst +10 -3
@@ -171,9 +171,9 @@ Limitations
 
  - Flow rules having a VLAN pop offload command as one of their actions and
    are lacking a match on VLAN as one of their items are not supported.
-  - The command is not supported on egress traffic.
+  - The command is not supported on egress traffic in NIC mode.
 
-- VLAN push offload is not supported on ingress traffic.
+- VLAN push offload is not supported on ingress traffic in NIC mode.
 
- VLAN set PCP offload is not supported on existing headers.
 
@@ -1566,6 +1566,14 @@ Supported hardware offloads
   | | of_set_vlan_pcp /   | |               | |               |
   | | of_set_vlan_vid)    | |               | |               |
   +-----------------------+-----------------+-----------------+
+   | | VLAN                | | DPDK 21.05    | |               |
+   | | ingress and /       | | OFED 5.3      | |    N/A        |
+   | | of_push_vlan /      | | ConnectX-6 Dx | |               |
+   +-----------------------+-----------------+-----------------+
+   | | VLAN                | | DPDK 21.05    | |               |
+   | | egress and /        | | OFED 5.3      | |    N/A        |
+   | | of_pop_vlan /       | | ConnectX-6 Dx | |               |
+   +-----------------------+-----------------+-----------------+
   | Encapsulation         | | DPDK 19.05    | | DPDK 19.02    |
   | (VXLAN / NVGRE / RAW) | | OFED 4.7-1    | | OFED 4.6      |
   |                       | | rdma-core 24  | | rdma-core 23  |
doc/guides/rel_notes/release_21_05.rst +3 -0
index 873140b..5c4159e 100644
@@ -119,6 +119,12 @@ New Features
 
  * Added support for preferred busy polling.
 
+* **Updated Mellanox mlx5 driver.**
+
+  Updated the Mellanox mlx5 driver with new features and improvements,

including:

doc/guides/rel_notes/release_21_05.rst +2 -0
+
+  * Support push VLAN on ingress traffic and pop VLAN on egress traffic in E-

Switch mode.
+
* **Updated testpmd.**

* Added a command line option to configure forced speed for Ethernet port.
--
1.8.3.1

#2 lore raw
In reply to Dong Zhou

Hi,

Quoted 8 lines

-----Original Message-----
From: Dong Zhou <[email protected]>
Sent: Thursday, April 1, 2021 4:23 PM
To: Jiawei(Jonny) Wang <[email protected]>; Raslan Darawsheh <[email protected]>
Cc: [email protected]
Subject: [PATCH] doc: update push/pop VLAN support in mlx5 guide

Quoted 5 lines

Updates the documentation for push/pop VLAN support. In E-Switch mode, push VLAN on ingress traffic and pop VLAN in egress traffic are both support.

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh