From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 81F79A00C3; Fri, 14 Jan 2022 02:55:37 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DF9214274E; Fri, 14 Jan 2022 02:55:36 +0100 (CET) Received: from guri.nttv6.jp (guri.nttv6.jp [115.69.228.140]) by mails.dpdk.org (Postfix) with ESMTP id A75ED40DDD for ; Fri, 14 Jan 2022 02:55:34 +0100 (CET) Received: from z.nttv6.jp (z.nttv6.jp [192.168.8.15]) by guri.nttv6.jp (NTTv6MTA) with ESMTP id BE92C25F6A1; Fri, 14 Jan 2022 10:55:32 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nttv6.jp; s=20180820; t=1642125332; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=95lXCOPkneC9P75LYv2lWhH+UrDPyZlT00DXky5H2kY=; b=o1ew4RX8D2Rw2QAF+I79/S0lwq07sfKHVEutaw5Nm9ju+zLP8hksiTrSK/sbjYQ29WHtZa Qu2P7bopBXLrtrpQ07EkA8q78cFeM3/myiROmhIeyE9aDPVV5O2NkpOQ1td8z3AooSI8nx KbMzD53865yR+Z+kwwLkNHS+nJrgLGw= Received: from localhost (fujiko.nttv6.jp [IPv6:2402:c800:ff06:136::141]) by z.nttv6.jp (NTTv6MTA) with ESMTPSA id 8A7A376351E; Fri, 14 Jan 2022 10:55:32 +0900 (JST) Date: Fri, 14 Jan 2022 10:55:31 +0900 (JST) Message-Id: <20220114.105531.1132656450767243889.yasu@nttv6.jp> To: beilei.xing@intel.com Cc: bruce.richardson@intel.com, dev@dpdk.org Subject: Re: ETH_RSS_IP only does not seem to balance traffic From: Yasuhiro Ohara In-Reply-To: References: <20220113.005204.1354235040127303916.yasu@nttv6.jp> Organizaton: NTT Communications X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Thank you for the confirmation! Best regards, Yasu From: "Xing, Beilei" Subject: RE: ETH_RSS_IP only does not seem to balance traffic Date: Fri, 14 Jan 2022 01:44:45 +0000 Message-ID: > > >> -----Original Message----- >> From: Richardson, Bruce >> Sent: Thursday, January 13, 2022 11:06 PM >> To: Yasuhiro Ohara >> Cc: dev@dpdk.org; Xing, Beilei >> Subject: Re: ETH_RSS_IP only does not seem to balance traffic >> >> On Thu, Jan 13, 2022 at 12:52:04AM +0900, Yasuhiro Ohara wrote: >> > >> > Hi, >> > >> > My system developper friend recently ran into a problem where l3fwd >> > does not appear to receive balanced traffic on Intel XL710, but it is >> > resolved when the attached patch is applied. >> > >> > - .rss_hf = ETH_RSS_IP, >> > + .rss_hf = ETH_RSS_IP | ETH_RSS_TCP | ETH_RSS_UDP, >> > >> > IIRC I ran into a similar problem 3 or 4 years back, but didn't report >> > then because I believed I was doing something silly. >> > But since my friend is an experienced engineer, I feel like it may be >> > better (for the community) to ask this in the list. >> > >> > We are using dpdk-stable-18.11.6 and igb_uio. >> > >> > What are we doing wrong? >> > >> > If it is not a FAQ, I can test it again with more recent stable, and >> > will report the details. >> > >> For XL710 NICs, I believe that ETH_RSS_IP load balances only IP frames that do >> not have TCP or UDP headers also. Adding i40e driver maintainer on CC to >> comment further. > > Yes, Bruce is right. For XL710, ETH_RSS_IP doesn't cover TCP and UDP packets. > >> >> /Bruce >