[PATCH] net/mlx5: support matching optional fields of GRE
Thomas Monjalon
thomas at monjalon.net
Thu Feb 17 09:33:52 CET 2022
17/02/2022 07:27, Sean Zhang:
> 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 at nvidia.com>
> Acked-by: Slava Ovsiienko <viacheslavo at nvidia.com>
>
> ---
> v3 - some code style change
> v2 - replace default mask with nic mask
> ---
> doc/guides/nics/mlx5.rst | 10 +++
> drivers/common/mlx5/mlx5_devx_cmds.c | 3 +
> drivers/net/mlx5/linux/mlx5_os.c | 2 +
> drivers/net/mlx5/mlx5.h | 1 +
> drivers/net/mlx5/mlx5_flow.c | 101 +++++++++++++++++++++++++++++
> drivers/net/mlx5/mlx5_flow.h | 6 ++
> drivers/net/mlx5/mlx5_flow_dv.c | 121 +++++++++++++++++++++++++++++++++++
> 7 files changed, 244 insertions(+)
Should we add a line in the release notes?
More information about the dev
mailing list