net/mlx4: restore UDP RSS by probing capabilities
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Thu, 23 Nov 2017 17:38:02 +0000 (18:38 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit024e87bef40b4cd06153cdfcb624ec28147f08d7
tree9a9f472863f00646bf5e056d8bc685112003b0ac
parent27563725b1aef003fa375800599e0745b3279761
net/mlx4: restore UDP RSS by probing capabilities

Until now, UDP RSS support could not be relied on due to a problem in the
Linux kernel implementation and mlx4 RSS capabilities were not reported at
all, hence the PMD had to make assumptions.

Since both issues will be addressed simultaneously in Linux 4.15 (related
patches already upstream) and likely backported afterward, UDP RSS support
can be enabled by probing RSS capabilities.

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
drivers/net/mlx4/mlx4.c
drivers/net/mlx4/mlx4.h
drivers/net/mlx4/mlx4_flow.c
drivers/net/mlx4/mlx4_flow.h