From: Alejandro Lucero Date: Mon, 11 Sep 2017 13:27:32 +0000 (+0100) Subject: net/nfp: add info about RSS capabilities X-Git-Tag: spdx-start~1955 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f00351f88dec72a7f86532979b211f661cd00aba;p=dpdk.git net/nfp: add info about RSS capabilities NFP supports RSS but it is not being advertised. Signed-off-by: Alejandro Lucero --- diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c index 5d35ce1348..2c288c2e2c 100644 --- a/drivers/net/nfp/nfp_net.c +++ b/drivers/net/nfp/nfp_net.c @@ -1218,6 +1218,11 @@ nfp_net_infos_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info) ETH_TXQ_FLAGS_NOOFFLOADS, }; + dev_info->flow_type_rss_offloads = ETH_RSS_NONFRAG_IPV4_TCP | + ETH_RSS_NONFRAG_IPV4_UDP | + ETH_RSS_NONFRAG_IPV6_TCP | + ETH_RSS_NONFRAG_IPV6_UDP; + dev_info->reta_size = NFP_NET_CFG_RSS_ITBL_SZ; dev_info->hash_key_size = NFP_NET_CFG_RSS_KEY_SZ;