[RFC 0/5] support VXLAN-GPE header fields(flags, rsvd0 and rsvd1) matching
Gavin Li
gavinl at nvidia.com
Thu Jan 11 08:00:38 CET 2024
Previously, VXLAN-GPE in DPDK only supports VNI and next protocol header
fields. This patch series add support for flags and reserved field 0 and
1.
Below is the VXLAN-GPE header defined in the lasted draft.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|R|R|Ver|I|P|B|O| Reserved |Next Protocol |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| VXLAN Network Identifier (VNI) | Reserved |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Gavin Li (5):
net/mlx5: support VXLAN-GPE flags matching
app/testpmd: support VXLAN-GPE flags
net/mlx5: support VXLAN-GPE reserved fields matching
app/testpmd: support VXLAN-GPE reserved fields
net/mlx5/hws: support VXLAN-GPE matching
app/test-pmd/cmdline_flow.c | 30 +++++
doc/guides/nics/mlx5.rst | 5 +
doc/guides/rel_notes/release_24_03.rst | 6 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 3 +
drivers/net/mlx5/hws/mlx5dr_definer.c | 117 ++++++++++++++++++++
drivers/net/mlx5/hws/mlx5dr_definer.h | 13 +++
drivers/net/mlx5/mlx5_flow.c | 6 +
drivers/net/mlx5/mlx5_flow_dv.c | 32 +++++-
drivers/net/mlx5/mlx5_flow_hw.c | 1 +
9 files changed, 207 insertions(+), 6 deletions(-)
--
2.39.1
More information about the dev
mailing list