net/mlx4: advertise supported RSS hash functions
authorOphir Munk <ophirmu@mellanox.com>
Mon, 14 May 2018 10:07:32 +0000 (10:07 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 May 2018 21:32:23 +0000 (22:32 +0100)
commit97b2217ae5bcdd90e9265790de388e7febeee3bd
treeca3d5adae65b767923aa6d2b2804a45e63d9ce8a
parentcbd737416c34c2f71227ac450db2c85a789dac30
net/mlx4: advertise supported RSS hash functions

Advertise mlx4 supported RSS functions as part of dev_infos_get
callback.
Previous to this commit RSS support was reported as none. Since the
introduction of [1] it is required that all RSS configurations will be
verified.

[1] commit 8863a1fbfc66 ("ethdev: add supported hash function check")

Signed-off-by: Ophir Munk <ophirmu@mellanox.com>
drivers/net/mlx4/mlx4_ethdev.c
drivers/net/mlx4/mlx4_flow.c
drivers/net/mlx4/mlx4_flow.h