net/mlx5: fix un-supported RSS hash fields use
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Wed, 3 Jan 2018 09:14:19 +0000 (10:14 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commitb365799b3cd440437367b4539f1792eb65c86cc7
treeaece30e72bd0834c38fd81629789312c70be1746
parentd1eded3a8e6fa28087eef3062081a8b0f2dca222
net/mlx5: fix un-supported RSS hash fields use

MLX5 NIC does not support all hash fields, this patch limit by refusing
impossible RSS combination to avoid errors.

Fixes: 2f97422e7759 ("mlx5: support RSS hash update and get")
Cc: stable@dpdk.org
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5_defs.h
drivers/net/mlx5/mlx5_flow.c
drivers/net/mlx5/mlx5_rss.c