That solved it ! Thanks. However I think this should be documented somewhere, especially as the behaviour is different between i40e and ixgbe.
Tom ----- Mail original ----- De: "Bruce Richardson" <bruce.richard...@intel.com> À: "tom barbette" <tom.barbe...@ulg.ac.be> Cc: dev@dpdk.org Envoyé: Lundi 30 Janvier 2017 11:46:30 Objet: Re: [dpdk-dev] buf->hash.rss always empty with i40e On Sat, Jan 28, 2017 at 11:48:36AM +0100, tom.barbe...@ulg.ac.be wrote: > Hi all, > > No matter the number of queues or the ETH_RSS_X parameter the mbuf->hash.rss > field is empty using XL710 NICs. The exact same configuration gives me good > hash value values with ixgbe/82599 cards. > > Any idea? I checked it is the same problem on 2.2 and 16.11. FlowDirector is > not used. It's hard to diagnose the exact problem without the full settings you have tried, but one thing to watch out for that has caught me in the past is that turning on RSS for IP packets, does not give an RSS value if there is also TCP or UDP in the packets too. It only applies to IP packets without TCP or UDP. Here are settings that work for me with i40e driver: static const struct rte_eth_conf port_conf_default = { .rxmode = { .mq_mode = ETH_MQ_RX_RSS, .max_rx_pkt_len = ETHER_MAX_LEN }, .rx_adv_conf = { .rss_conf = { .rss_hf = ETH_RSS_IP | ETH_RSS_TCP | ETH_RSS_UDP, } } }; Regards, /Bruce