From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id E78323237 for ; Mon, 30 Jan 2017 11:46:33 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP; 30 Jan 2017 02:46:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,311,1477983600"; d="scan'208";a="1088855766" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.61]) by orsmga001.jf.intel.com with SMTP; 30 Jan 2017 02:46:30 -0800 Received: by (sSMTP sendmail emulation); Mon, 30 Jan 2017 10:46:30 +0000 Date: Mon, 30 Jan 2017 10:46:30 +0000 From: Bruce Richardson To: tom.barbette@ulg.ac.be Cc: dev@dpdk.org Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1162792082.14836638.1485600516608.JavaMail.zimbra@ulg.ac.be> Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.7.1 (2016-10-04) 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 10:46:34 -0000 On Sat, Jan 28, 2017 at 11:48:36AM +0100, tom.barbette@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