net/mlx5: support matching on VXLAN reserved field
authorRongwei Liu <rongweil@nvidia.com>
Tue, 13 Jul 2021 12:09:19 +0000 (15:09 +0300)
committerAndrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru>
Tue, 13 Jul 2021 13:06:43 +0000 (15:06 +0200)
commit630a587bfb3789c5fa834b571d27c9ce477b029d
tree7209cebe0d1065749650c55856ed587186c2c382
parent730bf0665228729c49f5a05e4f4f95123c0338c6
net/mlx5: support matching on VXLAN reserved field

This adds matching on the reserved field of VXLAN
header (the last 8-bits). The capability from rdma-core
is detected by creating a dummy matcher using misc5
when the device is probed.

For non-zero groups and FDB domain, the capability is
detected from rdma-core, meanwhile for NIC domain group
zero it's relying on the HCA_CAP from FW.

Signed-off-by: Rongwei Liu <rongweil@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Acked-by: Raslan Darawsheh <rasland@nvidia.com>
12 files changed:
doc/guides/nics/mlx5.rst
doc/guides/rel_notes/release_21_08.rst
drivers/common/mlx5/mlx5_devx_cmds.c
drivers/common/mlx5/mlx5_devx_cmds.h
drivers/common/mlx5/mlx5_prm.h
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
drivers/net/mlx5/mlx5_flow_verbs.c
drivers/vdpa/mlx5/mlx5_vdpa_steer.c