From: Shahaf Shuler Date: Mon, 22 Jan 2018 20:52:14 +0000 (+0200) Subject: net/mlx5: fix missing RSS capability X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b233b027490b858f740a75fac19632a25d3aefdd;p=dpdk.git 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 Acked-by: Yongseok Koh --- diff --git a/drivers/net/mlx5/mlx5_ethdev.c b/drivers/net/mlx5/mlx5_ethdev.c index 6624888c91..c886aefeaa 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); }