Add new rte item to match the infiniband BTH in RoCE packets. v2: - Change "ethernet" name to "Ethernet" in the commit log. - Add "RoCE" and "IB" 2 words to words-case.txt. - Add "rte_byteorder.h" header file in "rte_ib.h" to fix compile errors. - Add "Acked-by" labels in the first ethdev patch.
v3: - Do rebase to fix the patch apply failure. - Add "Acked-by" label in the second net/mlx5 patch. Dong Zhou (3): ethdev: add flow item for RoCE infiniband BTH net/mlx5: add support for infiniband BTH match net/mlx5/hws: add support for infiniband BTH match app/test-pmd/cmdline_flow.c | 58 +++++++++++ devtools/words-case.txt | 2 + doc/guides/nics/features/default.ini | 1 + doc/guides/prog_guide/rte_flow.rst | 7 ++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 7 ++ drivers/common/mlx5/mlx5_prm.h | 5 +- drivers/net/mlx5/hws/mlx5dr_definer.c | 76 ++++++++++++++- drivers/net/mlx5/hws/mlx5dr_definer.h | 2 + drivers/net/mlx5/mlx5_flow.h | 6 ++ drivers/net/mlx5/mlx5_flow_dv.c | 102 ++++++++++++++++++++ drivers/net/mlx5/mlx5_flow_hw.c | 1 + lib/ethdev/rte_flow.c | 1 + lib/ethdev/rte_flow.h | 27 ++++++ lib/net/meson.build | 1 + lib/net/rte_ib.h | 70 ++++++++++++++ 15 files changed, 363 insertions(+), 3 deletions(-) create mode 100644 lib/net/rte_ib.h -- 2.27.0