net/mlx4: use function to get default RSS fields
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Thu, 23 Nov 2017 17:38:00 +0000 (18:38 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit27563725b1aef003fa375800599e0745b3279761
tree36a37f40fb3bfb7a5fd9dcd4289ec10b944ab4fd
parentc7869af57e88bf0b9bd1a79ef1ae36b56d9525a8
net/mlx4: use function to get default RSS fields

Supported RSS hash fields are listed in function mlx4_conv_rss_hf() and
duplicated in mlx4_flow_prepare(); the latter are used when RSS is
requested without specifying any parameters.

This commit standardizes on mlx4_conv_rss_hf().

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