> -----Original Message----- > From: tom.barbe...@ulg.ac.be [mailto:tom.barbe...@ulg.ac.be] > Sent: Monday, February 6, 2017 11:08 PM > To: Ananyev, Konstantin <konstantin.anan...@intel.com> > Cc: Richardson, Bruce <bruce.richard...@intel.com>; dev@dpdk.org; Zhang, > Helin <helin.zh...@intel.com>; Wu, Jingjing <jingjing...@intel.com> > Subject: Re: buf->hash.rss always empty with i40e > > Hi Konstantin, > > It seems a little overkill to play with the key... The XL710 seems to be able > to > hash on IP fields only. It seems only a configuration issue, I'm adding i40e > maintainers in CC so they can confirm? I think the i40e driver should > configure XL710 to hash on IP fields for TCP and UDP when only ETH_RSS_IP > is given instead of hashing to 0. That would mimic ixgbe behaviour btw. > > Tom > Yes, the behavior of XL710 is different from ixgbe on that. If only enable ETH_RSS_IP, rss will not work on TCP and UDP packets. So you need To set ETH_RSS_IP | ETH_RSS_UDP |ETH_RSS_TCP
Thanks Jingjing