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 2D49B41E3A; Fri, 10 Mar 2023 11:00:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 20E8640A81; Fri, 10 Mar 2023 11:00:01 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id D00CE40685 for ; Fri, 10 Mar 2023 10:59: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=1678442400; x=1709978400; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=q7Uv9CrbdBTivnvFt7fXz9nTzHP2F2Yb4cOKfB5+Lpo=; b=VPb9qsj0EntM7gl4TVW0FhfG1uXiHnRKPQievO0KFGo54bVEjAeJ/0U8 Ca0inPhJ8f3J1+Q3/mDuNja0S3yfsNIWgwc7jHD82b8pQJThrgSTG/rzD cVjGWOoxw2yB9ktQtWk6D7vxsvSoKUzK3SXhmYewfcyo9Yk2i1hBV+ZIT zYAZcrNUE1tO/u1fLka+28S8PeZobkaE4+qQ35VNQuHRiY/0RRh7Y/Hv/ 8V11xB3fteh4iykX5bpfd6EbjwCo3DJLu+X0mKMRXaaIKsKG5vc1ohleH KfgkIF+4/phLXsgpkRJQfbNpT06EpNR18GnNkbNpqgj3otFTn8nXJ+mjU Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10644"; a="339058637" X-IronPort-AV: E=Sophos;i="5.98,249,1673942400"; d="scan'208";a="339058637" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2023 01:59:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10644"; a="801522371" X-IronPort-AV: E=Sophos;i="5.98,249,1673942400"; d="scan'208";a="801522371" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga004.jf.intel.com with ESMTP; 10 Mar 2023 01:59:58 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) 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.2507.21; Fri, 10 Mar 2023 01:59:58 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Fri, 10 Mar 2023 01:59:58 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) 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.2507.21; Fri, 10 Mar 2023 01:59:58 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n1cZ3dIP8e5Ck00AtgzkYgfWDQk5ct9ra5C0KzpVvVdLCoysbyQGl0q7KUtPopucXKP+voTk3HtuEjFtYNQw2Aowi5L6c5bIG799XHm9MYAjjzIrpkvZ5CFjDSIsmb76uKfCJevwODZrD0oiq6v0QVI3ME/UaChuBNbuFEYKUDGzPy7wySLgw4Ut99FOMgu6yogzFNZoQKXcsGklpQsInIveO1OUYWEzg3rn7A1UZp5+p/lA73Ey4lZ+99YM8xPijyY30ooEEz0TgXSewGy1uUNH5RVv33vYj4yS4QTAJPFhTFGInef2vmZQwvbDH/9c9olzqeb+Wq1AMc6JjgfTIQ== 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=q7Uv9CrbdBTivnvFt7fXz9nTzHP2F2Yb4cOKfB5+Lpo=; b=MYtXPSkQ1C7AjRZ3SXKrk70mEzwWZpHv5gIUGtGtav0itUQTyvRFQg3m6eBLOyjyaUDywoN4ln8f/2gk3bE2GyqMdM8b6knlCXM8ucjheSbr8X5otB6TNCK6KtU5nOkozG94/Rd98Z1DrtKiAyBQrX6xvsxvhS3VtOFOwna4lV9iVdbYxRUiq1IeRkGCKJ3efby2oiALONn9Uvtt9o4+yQf239zExmnsvBcCtj+tlDII81fRzDAqO3MsMCl+0ceXmv/kwxfOxNa0F9AtPUlgFSH0y8tsUyMmhmT3qM3B+cdimRAE4LmQiV+k5qL4isjHMSWtVoIXJlWm5+5gybwC2g== 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 BN0PR11MB5743.namprd11.prod.outlook.com (2603:10b6:408:165::5) by DS0PR11MB6519.namprd11.prod.outlook.com (2603:10b6:8:d1::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.20; Fri, 10 Mar 2023 09:59:56 +0000 Received: from BN0PR11MB5743.namprd11.prod.outlook.com ([fe80::b0f1:69b4:644c:d7a6]) by BN0PR11MB5743.namprd11.prod.outlook.com ([fe80::b0f1:69b4:644c:d7a6%4]) with mapi id 15.20.6178.019; Fri, 10 Mar 2023 09:59:56 +0000 From: "Jiale, SongX" To: "Deng, KaiwenX" , "dev@dpdk.org" Subject: RE: [PATCH] net/bonding: fix forward packets failed Thread-Topic: [PATCH] net/bonding: fix forward packets failed Thread-Index: AQHZUw9R7DrQRgpf+E6ruwH7SkjIWq7zx8Zg Date: Fri, 10 Mar 2023 09:59:56 +0000 Message-ID: References: <20230310044131.2052540-1-kaiwenx.deng@intel.com> In-Reply-To: <20230310044131.2052540-1-kaiwenx.deng@intel.com> 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-traffictypediagnostic: BN0PR11MB5743:EE_|DS0PR11MB6519:EE_ x-ms-office365-filtering-correlation-id: 9be295b0-fe69-4dd6-57b9-08db214e33b2 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wr4qsy9kzAvlnY4fOxN+LssfM9t2uKod7gVeyC0eqlMe5qt4ikC2m0BN566zWMNiO2LwHnK4JQmbOftctcxwYcVmXOTxKZw/U2OU4TSgGYZXd7E1ft9HARufEzWPE0tpE/RR3Wnrq1eQQciiA8zduiW/rYIyLWm1eBsU4pjI9DcVZOWTzqE51k53wyLpGuwjzwW8pSx6dyFczKysHbTphjQbhe8zD08k+Bj+NpB00uQe6Pwv+i3nGyk18jv6WAtokqL+n3axuOHvAMvC/Je59GNSe1CmzcEkUYI2EMJ2xUh+aQUA5g/htuqqPbbbBCuP1XIbVJiKBpOhK53fxYDibs+Ns64/eCFiFAaIzgZ8TMuU9s6fVccI0xNClZtAbUvbW0cY4MM7QesFnnNWywJdk9EMf+yWWE0vjfjNL862KYAK0ELrRz5C2oLo+nO83SJes3sY2X3NwjRmc1r1oyIYClNu5GLTHjl7vF6dvaFKBY+DCLPwVZqJCKg65LM3YNV+Ant6wHz5YsEES3zmERTqbxkXOCMJyBC35pCX0+5T+/cmxzkqGxxNDtUsQCi9mJf2RVC1Di2vHwZD3TK7IyRb1TPSQ7QK9NJgbbWPG3ikZaj69A6WTbosGfNfxA3T7lyk4gVIvMNic+uv+7Ib3xdBkt4iJPL+JBNqnv3XaBVtBeffboCQPT0dX69Gurmn24GZULE56iHgxeQqty1AqRTOFA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN0PR11MB5743.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(346002)(376002)(366004)(396003)(39860400002)(136003)(451199018)(82960400001)(122000001)(2906002)(83380400001)(33656002)(4744005)(5660300002)(55016003)(52536014)(64756008)(66446008)(66556008)(66946007)(76116006)(66476007)(8936002)(41300700001)(38070700005)(8676002)(316002)(38100700002)(86362001)(110136005)(478600001)(7696005)(53546011)(9686003)(186003)(6506007)(26005)(71200400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?A+un2wXcmdWjts54Nu2Cid/Ecq/GiWwrn56vEOBCDKyZPQgWXduSIDCWGUsl?= =?us-ascii?Q?CAzLX9noJH9h8k6LQvF0C0jK/tTJNQjmpKL+JWS64y220w+/3AP8AXi/gOBz?= =?us-ascii?Q?X7KxrRuDTpFgEB7uYe7Ee63yMY3AG37sIpxf1/l90MLyyqXjR8UlGpNsrApP?= =?us-ascii?Q?TRR7aTi23QQwQUomLfV5DXv3UGellCJP9On3xfQV7b0yOu8MS2PKrjdZVTm+?= =?us-ascii?Q?3fKHuXAKd2SjcLmUhEicEXD8RtdBr+Wg1Dq+m8N475bJNRV5v9Ej5zNL5AfB?= =?us-ascii?Q?cd+gNmOLjjQAnnVVk7+AsHhJqnHx2Lscd3xeB4arSurvOTy7F3hib6qAGO7z?= =?us-ascii?Q?z3Tv4le/o4DMIVYQcxbAnwphQes0astARZermWB5PwtvimJp7GjDuOBt2ECy?= =?us-ascii?Q?w9IsoDkau/Xze1VvNXO8xmrhlpInTzSc2T/h0ZFsUoyv8ncQKHEs3aBEoLeA?= =?us-ascii?Q?3p3oCm3i83kXIN05izCK0lKmVBoJwIIkLPkvAPZivJuFgD1amLWqctHvX0hJ?= =?us-ascii?Q?xdS3bWgj/wY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cVK0hYr0Oi?= =?us-ascii?Q?jes4mXapTeqWb7fckM7fLwTLypHJ5L525Cel9wBXrfLypfD5a0C/bHiEUVQj?= =?us-ascii?Q?hXyCAZd5wOeD9Ktts7UyLko5je1HvLchsDQtRTQ3fnDdipL+oNRf3YHDw0Fx?= =?us-ascii?Q?FRhUR4p2roJxc4Pd5VlKNivIArSwLUk/CSfhVhBJ?= 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: BN0PR11MB5743.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9be295b0-fe69-4dd6-57b9-08db214e33b2 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Mar 2023 09:59:56.1080 (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: 5y0gFU/DuzWFc4SuS49XMd4yi1EDdhK29IuywS2BGz0x9Y39S8e6/cUZF/amtCJvOJijo0LY8cVOJeSbelNx9w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB6519 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: Kaiwen Deng > Sent: Friday, March 10, 2023 12:42 PM > To: dev@dpdk.org > Cc: stable@dpdk.org; Yang, Qiming ; Zhou, YidingX > ; Deng, KaiwenX ; > Chas Williams ; Min Hu (Connor) ; > Tomasz Kulasek ; Doherty, Declan > > Subject: [PATCH] net/bonding: fix forward packets failed >=20 > The bond port is failed to forward packets in Link Aggregation > 802.3AD(4) mode. Because bond devices get LACP packets from rx_ring > instead of tx_ring. >=20 > This commit will get LACP packets from tx_ring instead. >=20 > Fixes: 112891cd27e5 ("net/bonding: add dedicated HW queues for LACP > control") > Cc: stable@dpdk.org >=20 > Signed-off-by: Kaiwen Deng > --- Tested-by: Song Jiale