net/mlx5: support flow matchng on IPv4 IHL
authorGregory Etelson <getelson@nvidia.com>
Mon, 5 Jul 2021 11:40:35 +0000 (14:40 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Thu, 15 Jul 2021 14:22:20 +0000 (16:22 +0200)
commitc410e1d5627bd7ce41b5c74013407d6b40a5cdef
treef982fecc72cf06609f012cade1957950f15680c3
parent9e22b859cd108a5c7ae7c41338c13d396eb2ec84
net/mlx5: support flow matchng on IPv4 IHL

Query MLX5 port hardware if it is capable to offload IPv4
IHL field.

Provide flow rules capability to match on IPv4 IHL field.
Minimal HCA firmware version required to offload IPv4 IHL is
xx_30_2000.

Signed-off-by: Gregory Etelson <getelson@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
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/net/mlx5/mlx5_flow_dv.c