[dpdk-dev] net/nfp: add info about RSS capabilities
Checks
Commit Message
NFP supports RSS but it is not being advertised.
Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
---
drivers/net/nfp/nfp_net.c | 5 +++++
1 file changed, 5 insertions(+)
Comments
On 9/11/2017 2:27 PM, Alejandro Lucero wrote:
> NFP supports RSS but it is not being advertised.
>
> Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
Applied to dpdk-next-net/master, thanks.
@@ -1218,6 +1218,11 @@ enum nfp_qcp_ptr {
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;