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 A992A38EB for ; Mon, 30 Jan 2017 13:59:52 +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 4AAD3200E7A0; Mon, 30 Jan 2017 13:59:52 +0100 (CET) Received: from localhost (localhost.localdomain [127.0.0.1]) by mbx12-zne.ulg.ac.be (Postfix) with ESMTP id 43394129E89C; Mon, 30 Jan 2017 13:59:52 +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 xJCcsAfkY2nW; Mon, 30 Jan 2017 13:59:52 +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 26272129E743; Mon, 30 Jan 2017 13:59:52 +0100 (CET) Date: Mon, 30 Jan 2017 13:59:51 +0100 (CET) From: tom.barbette@ulg.ac.be To: Bruce Richardson Cc: dev@dpdk.org Message-ID: <219263127.15433391.1485781191699.JavaMail.zimbra@ulg.ac.be> In-Reply-To: <20170130104629.GB100504@bricha3-MOBL3.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> 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: s2+DM7QQl3PNu/VqrQdEQjJrEINDJg== 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, 30 Jan 2017 12:59:52 -0000 That solved it ! Thanks. However I think this should be documented somewhere, especially as the beha= viour is different between i40e and ixgbe. Tom ----- Mail original ----- De: "Bruce Richardson" =C3=80: "tom barbette" Cc: dev@dpdk.org Envoy=C3=A9: 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.barbette@ulg.ac.be wrote: > Hi all, >=20 > 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. >=20 > 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 =3D { .rxmode =3D { .mq_mode =3D ETH_MQ_RX_RSS, .max_rx_pkt_len =3D ETHER_MAX_LEN }, .rx_adv_conf =3D { .rss_conf =3D { .rss_hf =3D ETH_RSS_IP | ETH_RSS_TCP | ETH_= RSS_UDP, } } }; Regards, /Bruce