Re: [dpdk-dev] buf->hash.rss always empty with i40e

2017-02-08 Thread Thomas Monjalon
2017-02-08 01:24, Wu, Jingjing: > 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 Where is it documented?

Re: [dpdk-dev] buf->hash.rss always empty with i40e

2017-02-07 Thread Wu, Jingjing
> -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 > Cc: Richardson, Bruce ; dev@dpdk.org; Zhang, > Helin ; Wu, Jingjing > Subject: Re: buf->hash.rss always empty with i40e > > Hi Konst

Re: [dpdk-dev] buf->hash.rss always empty with i40e

2017-02-06 Thread Zhang, Helin
Hi Tom Sorry, by default, i40e HW is a bit different from ixgbe HW. It will not treat UDP as an IP packet, when setting hash enable flags. But, a feature of configuring 'input set' can help to change the default HW behavior. Please refer to testpmd input set part to understand how to use that.

Re: [dpdk-dev] buf->hash.rss always empty with i40e

2017-02-06 Thread tom . barbette
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

Re: [dpdk-dev] buf->hash.rss always empty with i40e

2017-02-06 Thread Ananyev, Konstantin
Hi Tom, > > That also leave the question of how to HASH only on the IP tuple for TCP and > UDP packets? The use case is that I want all packets from the > same IP src/dst pair to be hashed to the same queue. This cannot be enforced > with a complete hash on TCP/UDP fields. > That's for IPv4 o

Re: [dpdk-dev] buf->hash.rss always empty with i40e

2017-02-06 Thread tom . barbette
That also leave the question of how to HASH only on the IP tuple for TCP and UDP packets? The use case is that I want all packets from the same IP src/dst pair to be hashed to the same queue. This cannot be enforced with a complete hash on TCP/UDP fields. Tom

Re: [dpdk-dev] buf->hash.rss always empty with i40e

2017-01-30 Thread tom . barbette
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 con

Re: [dpdk-dev] buf->hash.rss always empty with i40e

2017-01-30 Thread Bruce Richardson
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 id

[dpdk-dev] buf->hash.rss always empty with i40e

2017-01-28 Thread tom . barbette
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. Tha