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 9DD54A00C3; Fri, 14 Jan 2022 02:45:01 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1A24A4274A; Fri, 14 Jan 2022 02:45:01 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 89DCC40DDD for ; Fri, 14 Jan 2022 02:44:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642124699; x=1673660699; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=4sAasHb6NAu2gYW3sMKpIRNnwvJZtVKLkL29yY1NPrI=; b=CYYaE2cfCiPIjTLa9/kOEiWJfv9nIpGWuEBLgv0F1zyH7oWrBlzA44zC JHYlxM7HR1TAm7955V+Tn9GJK3ADqE1GG4GMa/zcVnTuHFzltJzRo8wmX yMzg7CsaqAdg8un3fAzlr20sJQz0Va+sEkPr67UcIh8fC5YtZ/Ce7xoRR 4hwCYxzx7KXF2jLfMchtVB1LVSGpDkOjvT4k+pRn+Zc3Zkat89QvGSNHu Y63e5PaVHiqOwHCAmuhsX55bm88GqUuTEVj1YSjfNrakb+WmcCDgCsat9 RsMITB37fFeX6f3v5MnHeJEfil66Fuhh+z03ctQhEJZw5mNQbQND318N8 Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10226"; a="244363502" X-IronPort-AV: E=Sophos;i="5.88,287,1635231600"; d="scan'208";a="244363502" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jan 2022 17:44:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,287,1635231600"; d="scan'208";a="763461518" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga006.fm.intel.com with ESMTP; 13 Jan 2022 17:44:58 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Thu, 13 Jan 2022 17:44:56 -0800 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Thu, 13 Jan 2022 17:44:55 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Thu, 13 Jan 2022 17:44:55 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.172) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Thu, 13 Jan 2022 17:44:52 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dN19LBZFq5nI7ooIaNb/8jZ50U0EYZ+GvyZgJfm+1Jvhyku1c3c0DY/y8Sg0HqrAl1YmHSbZig/X+Q7VaYh0xyHptuMgs2PiZ31oHNaEV9kGmt62mTnDsruS8TaW51NJt2XY3+BrQ90QYZxVGybPLG11qGtxlpqXeNdhF4iPKbMceVqEqQT6CEZPTRh0lWnHfl+QQIJo+58xEPIPXZYPvDITU4SxaTGhfByv0jJ2osWF4hCPwZfyqO9s2DLvzHDTI8KTW+PnivdVDP3AJ59gmArOoFZpemvan0UvdbdrKBAHcWFZ115+3IBLQv2EMNKe27O5eNfWKgPKoVK2rq+cVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=t6vid8CR8zmPgLhR+GorvpUfawSHaxPU1AeB9odyFic=; b=iW9DIicPGp0XuQvlzTdfh2zxIkhotPkkzsfeMf80HnBuqoA6SQ9EuCYy8N/+IymSo/blVqvrG6cZeLmh2zJ2k/9BG4zcuOS36XTRg/CFnJ6GDwfhjhZ8c81KFNbTfwDuzGz5jws5RcU3YjQpPbsGsavpmscZq0lfdLCWHZ1Gr1tfs2JWj8phoXqdGv0JmTo5kr1L1WzjFzvCHpASHYVUNwKJXCD0GwdFiGpnfm0QFkRbKDpLYB+PNpXVYNyWjwqpIWzvJ13aT6T8qndf18GJVtMG9fSk6FFGY2pUbzALyhgFEIoIfw8PyDMEXcxoxjkcbxsbXm4YNUlYXDhZUCH3Tg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from DM6PR11MB3098.namprd11.prod.outlook.com (2603:10b6:5:70::11) by DM6PR11MB3641.namprd11.prod.outlook.com (2603:10b6:5:13b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4888.9; Fri, 14 Jan 2022 01:44:45 +0000 Received: from DM6PR11MB3098.namprd11.prod.outlook.com ([fe80::9def:fc57:835:9e07]) by DM6PR11MB3098.namprd11.prod.outlook.com ([fe80::9def:fc57:835:9e07%3]) with mapi id 15.20.4867.012; Fri, 14 Jan 2022 01:44:45 +0000 From: "Xing, Beilei" To: "Richardson, Bruce" , Yasuhiro Ohara CC: "dev@dpdk.org" Subject: RE: ETH_RSS_IP only does not seem to balance traffic Thread-Topic: ETH_RSS_IP only does not seem to balance traffic Thread-Index: AQHYB8yDrQ9S6/Z+REuw5806G0qNRqxhDoSAgACwwPA= Date: Fri, 14 Jan 2022 01:44:45 +0000 Message-ID: References: <20220113.005204.1354235040127303916.yasu@nttv6.jp> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c493bb80-cadb-4b8a-fcb9-08d9d6ff7175 x-ms-traffictypediagnostic: DM6PR11MB3641:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: kqxwv0HNQDXtyn4ER/FoK2byIFlVJtzcy1xZDhVggHbysKs6lTt3CoRmE3IDYrqcHOrSNMizRx5zvELW2Lh6U0CXbufKUYWISZFsZtnkX/5uNSUshq67O5GuIVSqCMCkh9W+PFpUSQXZe3DayF9VqAGDWE2IsWb02JdHGkfMuCPPzqWIRQR2KX0LZAFfT/GcPImedn8Qr02PlIVMrbdsvprsLehREk0wiLp9pnzsgRrQd5e86IcbNFVagXRMTbYs+0OyqsyQpjBZw0PsPCCoVBfBCEWIOLdVWWb++PmAufLaHQpmJdW9gPZiCndQdWf86Y8hP0cG2Dn4T3j6Q1JQEVXaZ10Xl/83v1VyVzYZ+oM5qXkMbaRp7GGXFEDEDcVQzfNkDKeBxDTLvd3lfv8p2LcGwKhXFIFY87DY1P8+26AguzUECMg2UujlTEOfY9E3HLYZPxWELGaolM2Nf6tTFNRYW4Du7P2O9cadQCMSvc9dA3eC48pJMZb1afuqWIzsDkv44ZDhI5YS8PDGgR5PHtsGUHDvrhvknOanXP5tegWZlz7825q6Eu0v7Yt7vX+a3mAFb72/KS73eT5kIqYGhLXCvdnhpVY5HaL9vb3zbMmnJvpOnxopwctzxZnAx9yNfFcicVlOiHVZzSDb9w07Hb5sKWKWjebYEgAhyh6NCXUWq0FyQD7zj63VdscKMVYiK4UM8W46U8n7CJpvnY1yDg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3098.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(53546011)(6506007)(2906002)(71200400001)(9686003)(38070700005)(83380400001)(52536014)(110136005)(8676002)(82960400001)(8936002)(38100700002)(316002)(55016003)(76116006)(66556008)(186003)(66946007)(7696005)(122000001)(86362001)(33656002)(64756008)(5660300002)(4326008)(66476007)(508600001)(26005)(66446008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?9QnaD6FjGXSI4jFkOM47o13Zh2fA7jdINZPgHl33t7BW/4JNttBpAwsT1RbH?= =?us-ascii?Q?qyBRfAd9lVbUFaaK/vaMzvntgngiRkcCBWyAaAF2c+H5OHWV0qnZpL5SlsRS?= =?us-ascii?Q?03XL/h7x22HgGEo0av3n73o/hlfu2dHpWrnsRpR5fKnSNpw1A1cy9fGDvqCb?= =?us-ascii?Q?4aBImqnbE7/2ywaOJ/s05oQAd9cEQUpCKh1Dh6G/o1eg8h+3LdHs/Cd4Czzh?= =?us-ascii?Q?62nTZW6+Mh4WXXmHtGVWm+SIU8guwV2gIu8/oa90nudb0CgCOlWQ9hfQjTmt?= =?us-ascii?Q?CFC1QmsRHASRoYCGaDJ+M+REmt/xSbJWsDrR4wF/koDJtOXlpTlPP7Qo7E0m?= =?us-ascii?Q?J9nNbkXt+1XuoI7CyHk4DILazO8CKUnW6PWYjKfeEKZvsIeNUpmx94jxCs9Z?= =?us-ascii?Q?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rNyohtdtrmcBXRiHZHgzi/52b?= =?us-ascii?Q?hvzN1YUq2DuNlcsLQZ45V1zCjX+6O4lKrM9cRoIdD9/TeC7f/wQkTeW7Ds7v?= =?us-ascii?Q?9XbJiD5wFbEQf79KMcu7/NiS8490FwWFavJhGcx/RFfHv8rMPBa9Ajb+e7bR?= =?us-ascii?Q?qznzYcXq+TSQoGtsHyKgOTuIyEykX+Js+T0Y8VlKQDow5STdj5LsYnEFyT3r?= =?us-ascii?Q?QdTJG+qkG5B5d6hFlHxyHsEGgIuiFrloJTdVfFTpKUA3y7ngrrrLrfznt8kh?= =?us-ascii?Q?E20o8Ybm7NzKeKnudzUSEH0jMljHSF3lk13RoM8klGeMQ4Lbw96O5OEADFtf?= =?us-ascii?Q?Ff2q3K7KW/pYGSdbojHufP4=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB3098.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c493bb80-cadb-4b8a-fcb9-08d9d6ff7175 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jan 2022 01:44:45.7729 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 2E61h5xeejETbw9S7/o08IZBIdCFJWInMsjLwzVIOBlAk4aYHPe+TMch0elQgtSiVuH8JaZGLFAsXBNqI9EwnQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3641 X-OriginatorOrg: intel.com 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 > -----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 >=20 > 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 =3D ETH_RSS_IP, > > + .rss_hf =3D 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 th= at 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 packet= s. >=20 > /Bruce