From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from serv108.segi.ulg.ac.be (serv108.segi.ulg.ac.be [139.165.32.111]) by dpdk.org (Postfix) with ESMTP id 31BE469C5 for ; Mon, 6 Feb 2017 16:07:45 +0100 (CET) Received: from mbx12-zne.ulg.ac.be (serv470.segi.ulg.ac.be [139.165.32.199]) by serv108.segi.ulg.ac.be (Postfix) with ESMTP id 89BD5200EF88; Mon, 6 Feb 2017 16:07:45 +0100 (CET) Received: from localhost (localhost.localdomain [127.0.0.1]) by mbx12-zne.ulg.ac.be (Postfix) with ESMTP id 73910129E9C8; Mon, 6 Feb 2017 16:07:45 +0100 (CET) Received: from mbx12-zne.ulg.ac.be ([127.0.0.1]) by localhost (mbx12-zne.ulg.ac.be [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id jMVL8tp90XNc; Mon, 6 Feb 2017 16:07:45 +0100 (CET) Received: from mbx12-zne.ulg.ac.be (mbx12-zne.ulg.ac.be [139.165.32.199]) by mbx12-zne.ulg.ac.be (Postfix) with ESMTP id 54270129EA28; Mon, 6 Feb 2017 16:07:45 +0100 (CET) Date: Mon, 6 Feb 2017 16:07:44 +0100 (CET) From: tom.barbette@ulg.ac.be To: Konstantin Ananyev Cc: Bruce Richardson , dev@dpdk.org, helin.zhang@intel.com, jingjing.wu@intel.com Message-ID: <1444803498.22738050.1486393664880.JavaMail.zimbra@ulg.ac.be> In-Reply-To: <2601191342CEEE43887BDE71AB9772583F1114BE@irsmsx105.ger.corp.intel.com> References: <1845201442.14836426.1485600385431.JavaMail.zimbra@ulg.ac.be> <1162792082.14836638.1485600516608.JavaMail.zimbra@ulg.ac.be> <20170130104629.GB100504@bricha3-MOBL3.ger.corp.intel.com> <219263127.15433391.1485781191699.JavaMail.zimbra@ulg.ac.be> <55014943.22487464.1486373134907.JavaMail.zimbra@ulg.ac.be> <2601191342CEEE43887BDE71AB9772583F1114BE@irsmsx105.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [139.165.223.24] X-Mailer: Zimbra 8.0.9_GA_6191 (ZimbraWebClient - GC55 (Linux)/8.0.9_GA_6191) Thread-Topic: buf->hash.rss always empty with i40e Thread-Index: AQHSevjPcWnHni6aI0OCX3WMDb3dKaFbv/0AgAAvgwCOB8TwnQ== Subject: Re: [dpdk-dev] buf->hash.rss always empty with i40e X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Feb 2017 15:07:46 -0000 Hi Konstantin, It seems a little overkill to play with the key... The XL710 seems to be ab= le to hash on IP fields only. It seems only a configuration issue, I'm addi= ng i40e maintainers in CC so they can confirm? I think the i40e driver shou= ld configure XL710 to hash on IP fields for TCP and UDP when only ETH_RSS_I= P is given instead of hashing to 0. That would mimic ixgbe behaviour btw. Tom ----- Mail original ----- De: "Konstantin Ananyev" =C3=80: "tom barbette" , "Bruce Richardson" Cc: dev@dpdk.org Envoy=C3=A9: Lundi 6 F=C3=A9vrier 2017 13:25:59 Objet: RE: buf->hash.rss always empty with i40e Hi Tom, >=20 > 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 enfor= ced with a complete hash on TCP/UDP fields. >=20 That's for IPv4 only? It was a while ago, when I looked at it, but as I remember you can achieve = that by filling first 64 bits of RSS hash with some meaningful values, and keeping remaining RSS bits as zeroes. You probably can give it a quick try with testpmd. There is a nice article about similar subject: http://www.ndsl.kaist.edu/~kyoungsoo/papers/TR-symRSS.pdf Konstantin