summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5_ethdev.c
diff options
context:
space:
mode:
authorShahaf Shuler <shahafs@mellanox.com>2018-01-22 22:52:14 +0200
committerFerruh Yigit <ferruh.yigit@intel.com>2018-01-29 10:04:28 +0100
commitb233b027490b858f740a75fac19632a25d3aefdd (patch)
tree61959c7914d6d208792e29c7d9150293e318df5a /drivers/net/mlx5/mlx5_ethdev.c
parentad831a1176538f726428ebfe70f6607d7d854197 (diff)
downloaddpdk-b233b027490b858f740a75fac19632a25d3aefdd.zip
dpdk-b233b027490b858f740a75fac19632a25d3aefdd.tar.gz
dpdk-b233b027490b858f740a75fac19632a25d3aefdd.tar.xz
net/mlx5: fix missing RSS capability
The PMD was not reporting the supported RSS capabilities. Fixes: 2f97422e7759 ("mlx5: support RSS hash update and get") Cc: stable@dpdk.org Signed-off-by: Shahaf Shuler <shahafs@mellanox.com> Acked-by: Yongseok Koh <yskoh@mellanox.com>
Diffstat (limited to 'drivers/net/mlx5/mlx5_ethdev.c')
-rw-r--r--drivers/net/mlx5/mlx5_ethdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mlx5/mlx5_ethdev.c b/drivers/net/mlx5/mlx5_ethdev.c
index 6624888..c886aef 100644
--- a/drivers/net/mlx5/mlx5_ethdev.c
+++ b/drivers/net/mlx5/mlx5_ethdev.c
@@ -692,6 +692,7 @@ mlx5_dev_infos_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *info)
priv->reta_idx_n : config->ind_table_max_size;
info->hash_key_size = priv->rss_conf.rss_key_len;
info->speed_capa = priv->link_speed_capa;
+ info->flow_type_rss_offloads = ~MLX5_RSS_HF_MASK;
priv_unlock(priv);
}