Skip to content

ethdev: introduce GENEVE header TLV option item

Shiri Kuzin dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 6 repliesIn review
  2. v18 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8lib/librte_ethdev: introduce GENEVE header TLV option itemlib/librte_ethdev/rte_flow.c lib/librte_ethdev/rte_flow.h+28 -00 replies
2/8app/testpmd: add GENEVE option item supportapp/test-pmd/cmdline_flow.c doc/guides/testpmd_app_ug/testpmd_funcs.rst+104 -60 replies
3/8common/mlx5: check GENEVE TLV support in HCA attributesdrivers/common/mlx5/mlx5_devx_cmds.c drivers/common/mlx5/mlx5_devx_cmds.h drivers/common/mlx5/mlx5_prm.h+36 -31 reply
4/8common/mlx5: create GENEVE TLV option object with DevXdrivers/common/mlx5/mlx5_devx_cmds.c drivers/common/mlx5/mlx5_devx_cmds.h drivers/common/mlx5/version.map+61 -11 reply
5/8net/mlx5: create GENEVE TLV option managementdrivers/net/mlx5/mlx5.c drivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow.h +1 more+127 -01 reply
6/8net/mlx5: add GENEVE TLV option flow validationdrivers/net/mlx5/mlx5_flow.c drivers/net/mlx5/mlx5_flow.h drivers/net/mlx5/mlx5_flow_dv.c+136 -11 reply
7/8net/mlx5: add GENEVE TLV option flow translationdrivers/net/mlx5/mlx5_flow_dv.c+70 -01 reply
8/8doc: update GENEVE TLV option supportdoc/guides/nics/mlx5.rst doc/guides/rel_notes/release_21_02.rst+25 -11 reply

Reviews trailers per patch

6 of 8 patches have a Reviewed-by or Acked-by.

PatchViacheslav Ovsiienko
1/8
2/8
3/8A-b
4/8A-b
5/8A-b
6/8A-b
7/8A-b
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [dpdk-dev] [PATCH v2 0/8] ethdev: introduce GENEVE header TLV option item

The Geneve tunneling protocol is designed to allow the user to specify some data context on the packet.
The GENEVE TLV (Type-Length-Variable) Option is the mean intended to present the user data.

In order to support GENEVE TLV Option the new rte_flow item "rte_flow_item_geneve_opt" is introduced.
The new item contains the values and masks for the following fields:
-option class
-option type
-length
-data

The usage example:
"flow create 0 ingress pattern eth / ipv4 / udp / geneve vni is 100 / geneve-opt class is 5 length is 1 type is 0 data is 0x66998800 / end actions count / drop / end"

New item will be added to testpmd to support raw encap/decap action.

Shiri Kuzin (7):
lib/librte_ethdev: introduce GENEVE header TLV option item common/mlx5: check GENEVE TLV support in HCA attributes common/mlx5: create GENEVE TLV option object with DevX net/mlx5: create GENEVE TLV option management net/mlx5: add GENEVE TLV option flow validation net/mlx5: add GENEVE TLV option flow translation
doc: update GENEVE TLV option support

Viacheslav Ovsiienko (1):
app/testpmd: add GENEVE option item support

 app/test-pmd/cmdline_flow.c                 | 102 ++++++++++-
 doc/guides/nics/mlx5.rst                    |  18 +-
 doc/guides/rel_notes/release_21_02.rst      |   8 +
 doc/guides/testpmd_app_ug/testpmd_funcs.rst |   8 +
 drivers/common/mlx5/mlx5_devx_cmds.c        |  63 ++++++-
 drivers/common/mlx5/mlx5_devx_cmds.h        |   9 +
 drivers/common/mlx5/mlx5_prm.h              |  28 ++-
 drivers/common/mlx5/version.map             |   1 +
 drivers/net/mlx5/mlx5.c                     |   2 +
 drivers/net/mlx5/mlx5.h                     |  13 ++
 drivers/net/mlx5/mlx5_flow.c                | 120 +++++++++++++
 drivers/net/mlx5/mlx5_flow.h                |  11 ++
 drivers/net/mlx5/mlx5_flow_dv.c             | 188 +++++++++++++++++++-
 lib/librte_ethdev/rte_flow.c                |   1 +
 lib/librte_ethdev/rte_flow.h                |  27 +++
 15 files changed, 587 insertions(+), 12 deletions(-)
Signature · 1 line
2.21.0