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 CDD3FA0C56; Thu, 29 Jul 2021 22:07:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B450540E01; Thu, 29 Jul 2021 22:07:13 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2068.outbound.protection.outlook.com [40.107.237.68]) by mails.dpdk.org (Postfix) with ESMTP id 7E5D44067A for ; Thu, 29 Jul 2021 22:07:12 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RIXbOpcndRAfCk+AlV7nSqFD9g9Fi4rbHm6nVynOXNzmlRAa5DjGLfp4gogfS/AUws66labWL9OtGV7sx3zcPWyqy04drUpgPTb3CGxoKkJXsEUgWBM8shU+oWR+cRrr9cU0WoIkwHPlt91HwzhdD4UGEfYiwQ3+nuy7VRFwV7qUN5gfv1VgXgvQ8zudCe6oY18/afiaC0LWu4Jo0j/TGCFvvOEICcSArlUtj46oV9oCuZsIz5UXFMqLuOOhNgTk6GsXuNxv9vgbHTOvhjhpDxQW60iCIunxj8jsj110WMWvbwK/aCvzGaZYSaL5byzrGS1OWaEiJkoYOmiAsN0NyA== 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-SenderADCheck; bh=flRqaR85Q793Kat1pHXehxxZ0v2NKpVxs6uf4vPDftc=; b=Tgv9pSyLcegnDJUQUIMQdTvDy2CBfk255u3GqVPh7Kv7pYNG88J/3SiuUMNtuQtFG/mUve23HVJEBs9owvVy43y7PKHhksVggBz27eb0AyzzgaSrJKdTrPIAUM2tiLCGYrpCaISdLYouFyuZf7mPV5O/Wd7+UBN8SEyVKUU5gVoqd+797qFpcrMViA4vsn8bCmOWXiCDHrm+AxK4JWspz+DA20tO8uHXhGDi7mCbORGTPJcQ1+60FQNJy/tPcpuUlJbDOTZjFgpFWhIwCNZk3K9T+WPmbpVRThiCD5riE5RtDkaE6mv9A+xz2igiHSHEJcYFnnmZDtsnOCXnAf4DOw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=flRqaR85Q793Kat1pHXehxxZ0v2NKpVxs6uf4vPDftc=; b=N1UgoU0WtwUUZtPOBmrn1pTryfPoqYaFwqIXTtZGczew6SYOTvsbyznxx6oBOj1E5DA7h7mMlRE0InfZTUhe3YH2nbIyMnNUswZ8ipf+svOmIBG+/2broecYnb7aTCn4rsI4jqfiR+oBod6uAfFrMTC64Rzpea0pXn+Me0RxCZEOVLNsRWhomkgZ/5jdbMyWxTpkzRIg1oWAmWtciY1jK5JmFaNxg7R6dUyfMuYaaqUEm6sdDZFuVoXRh0RThSwS7Lwn+hQDMxQo5et4GkGqGlYFjDSMyWJ5WWvfEmNPYVV3h2yKaq0nQa2Cy2/fynsTYNhIImLR2QIqw4OYVOy/sA== Received: from DM4PR12MB5054.namprd12.prod.outlook.com (2603:10b6:5:389::24) by DM4PR12MB5309.namprd12.prod.outlook.com (2603:10b6:5:39d::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18; Thu, 29 Jul 2021 20:07:11 +0000 Received: from DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::584f:2720:1100:666a]) by DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::584f:2720:1100:666a%4]) with mapi id 15.20.4373.022; Thu, 29 Jul 2021 20:07:11 +0000 From: Raslan Darawsheh To: Bing Zhao , Slava Ovsiienko , Matan Azrad CC: "dev@dpdk.org" , Ori Kam , NBU-Contact-Thomas Monjalon Thread-Topic: [PATCH] net/mlx5: fix the green color policy RSS queues overwritten Thread-Index: AQHXhJN53MoxpiT1s0u0lm5Ys//BeKtaYV7A Date: Thu, 29 Jul 2021 20:07:11 +0000 Message-ID: References: <20210729160405.161982-1-bingz@nvidia.com> <20210729160405.161982-3-bingz@nvidia.com> In-Reply-To: <20210729160405.161982-3-bingz@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4ad9e088-41c4-4e21-b83a-08d952cc7373 x-ms-traffictypediagnostic: DM4PR12MB5309: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Q/5Hhwdpx16SsdAGlHG3oTxIB94QhPT74cuEpacR/kbFu/VPULnBeVpbnFXLn6Az/bsq9GaiU63D3jHX2eho47bMFXksrAPe2xudm34BQDv416fSkwlR1U9jmfGObOKhAINTpfFeG0JwMjMNi34CPNchvqDvDAI29EtaJerNuEBfqSt7NkJF1tqxoLgpSeCjmuXSMWVP3yRaYda3Ug7TAo420IrlnR4I6yOfP3Q2qa7dT7VuK9+Q0lR9mLsbNiCoEX0n1CvRz0bVOCvRvm18aiTTZ1to8ZjGR31C4z3d4lDdJJnuYiEiDpLjnG+caaXNGXfzhFbKBkhF5c1XkczyXy5OeiUOuFwaIwrXVrZSyQdOEshenXdH73I+7EaC3SxKaa9cdHoqYoWl6hoEhI75Z4nxwdP+gvwf9LLdrHhRjLGD1xIi9FQrene7wXYOcwz2+l684CgCkCuGYRWXJSMa72tT3WDxLvCAn6BWzgv75nzUlpS+Ra+mZGGNFI9oEaFA3vwUQBctYek5yx78Zw2oNRNv8On9NyiRouicraHh5KpDywhgEnmcF5ajvWNr7Kg6B03qYiUPeJwUb5cY+o3ZyNxoQHWanz1k1p73pm+h4yEUr2Xeh2Xj8Gq5/HIdnM8o+36DgJ+CTQ1+WK0o7wnZIQzkHuQDksPP4R1l6LIYXXeM4k/0PhvKcW3/eTgvJ/Q2wFWmasgDsgMuRn53+KTSLg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5054.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(346002)(366004)(376002)(136003)(39860400002)(478600001)(71200400001)(5660300002)(4326008)(316002)(66556008)(7696005)(8936002)(66946007)(53546011)(64756008)(66446008)(76116006)(83380400001)(66476007)(110136005)(9686003)(186003)(6506007)(38070700005)(54906003)(26005)(2906002)(33656002)(38100700002)(122000001)(55016002)(52536014)(8676002)(86362001)(6636002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?UVwiWbEcDAFQAjejhC+u/bucGCtYnRZbqDKj9uhnhhRKOK79zifUyv317qGl?= =?us-ascii?Q?IkSN3/g0Tc9bHiyU01n4WPfVvakpmBfY5W5dAMjdWrjbajkoIqsNgi6lTGAu?= =?us-ascii?Q?SnfYgHDwTY5p09i8/tNhTrxMfzoWAvRleFYUHpW5rnwGfzq+uabvztgef47r?= =?us-ascii?Q?Ij18OZLbNY2UH6ci3sZH0pYFGOL3me/s//ILQd1/id8udBnEZcF7EOiQ8jLf?= =?us-ascii?Q?o86CntDzt5C3rlMiFee9gVbXnezGow7LXKpn9A2kQCxckSvwR9oVd9OgTo4U?= =?us-ascii?Q?ehQX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wKg/24?= =?us-ascii?Q?7IpiCs+R6z4SXLysNxxI7+5SOl9FJA2Hi6yNebGAbX8slut4U1cqfjHgz1Jz?= =?us-ascii?Q?hBGIgMgUngCEtXhHxjyCOkyypm/S+PF4xnrIc354GjlwsxAWJ8A0UdYf7sQR?= =?us-ascii?Q?mEyoqp+l+uzyTvzYwAeqZGE+?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5054.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4ad9e088-41c4-4e21-b83a-08d952cc7373 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2021 20:07:11.2379 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: AYnnTp7l/mQg0sGOPZ4glMEsQH/oDircHkMWJYXA8J1gNQVOzJz8VvT4ZoxzR1pe2H5c7mvnDDGy2leeD4/c5A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5309 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix the green color policy RSS queues overwritten 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 Sender: "dev" Hi, > -----Original Message----- > From: Bing Zhao > Sent: Thursday, July 29, 2021 7:04 PM > To: Slava Ovsiienko ; Matan Azrad > > Cc: dev@dpdk.org; Ori Kam ; Raslan Darawsheh > ; NBU-Contact-Thomas Monjalon > > Subject: [PATCH] net/mlx5: fix the green color policy RSS queues overwrit= ten >=20 > Both green policy and yellow policy could support RSS actions simultaneou= s, > the Rx queues configuration may be different between them while the other > fields should be the same. >=20 > When the only green color policy was supported in the past, the queues > copied and saved in the temporary workspace were used. Since the yellow > support was added, the queues stored in the thread workspace would be > overwritten by the yellow color policy. The flow rule created using a met= er > with such a policy would have the same RSS distribution for both green an= d > yellow packets. >=20 > By using the meter action containers RSS information instead of the > workspace RSS, this overwritten can be prevented. >=20 > Fixes: b38a12272b3a ("net/mlx5: split meter color policy handling") >=20 > Signed-off-by: Bing Zhao > Acked-by: Matan Azrad > --- Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh