]> git.droids-corp.org - dpdk.git/commit
net/mlx5: support matching GRE optional fields
authorSean Zhang <xiazhang@nvidia.com>
Fri, 25 Feb 2022 01:14:17 +0000 (03:14 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 25 Feb 2022 15:34:08 +0000 (16:34 +0100)
commit5c4d4917916b4d39f0888cfad28c89186502f772
tree66c7bbac95649dfc838241de4e71a3419bc4e52c
parent23f7ec1d9b7ccfcfb9b9f67d33cf6cbf7f5034d3
net/mlx5: support matching GRE optional fields

This patch adds matching on the optional fields (checksum/key/sequence)
of GRE header. The matching on checksum and sequence fields requests
support from rdma-core with the capability of misc5 and tunnel_header 0-3.

For patterns without checksum and sequence specified, keep using misc for
matching as before, but for patterns with checksum or sequence, validate
capability first and then use misc5 for the matching.

Signed-off-by: Sean Zhang <xiazhang@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
doc/guides/nics/features/mlx5.ini
doc/guides/nics/mlx5.rst
doc/guides/rel_notes/release_22_03.rst
drivers/common/mlx5/mlx5_devx_cmds.c
drivers/net/mlx5/linux/mlx5_os.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow.c
drivers/net/mlx5/mlx5_flow.h
drivers/net/mlx5/mlx5_flow_dv.c