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 86837A0C43; Wed, 20 Oct 2021 21:34:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1562D40150; Wed, 20 Oct 2021 21:34:28 +0200 (CEST) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam07on2081.outbound.protection.outlook.com [40.107.95.81]) by mails.dpdk.org (Postfix) with ESMTP id C03D140142; Wed, 20 Oct 2021 21:34:26 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nt7l0AlM65YGJgSA2wVzbsIYNSV1PbfT0hK4y6jFREHKSSd1zYgjr4ciBXF2eFoVEVxawzstSv07LVLlSxmOOevMJdKDeNDYEvLLQBd3yv8UVjJ4y6VBYHxt91O9ziP9Vqi/WeV4wa+CRsbREaabvFJdOs9h1Vxm1Q1pcvmAZEYsl69ADapOOQnklUZPz0K++5zLJdXZIIO5uwleceWDAILalDSLviZ7ASkTGYLz3DHtHFNstUXbmlwH/mCqau2h55N5YhbXIy221zLplATRf6XA3K1cZbX6SUfMTOXwPfR3Og22UrPX1LDmaDqT5NtK979i8DLU+v2ae/3QYXxUAQ== 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=HEyXIhlumB2rySAHrwGZXZQBB9F/w0AEvo7q/QmmBGc=; b=chs1BEfDdbkrRjjYSl+LQfHvhhReg31680yMPqSZyh0bw3Jt2gixjzIuUqtBUcHpnLABXg4qa0se1s3813ZpsM6h4HlEivOYs0YgoNF5gR40GVENkaE5limFeCS2rRbU7hAd8F4T05CsG6//noDlVtnGSunZvTiR01pcBVeH+knX06bhoqD9Kjl2bBTMQkz9houV49JfUGNsn1dX6lJ3s6s1+YUhw8/O6kzL40VtMLTgymY7sooSnUmxbRc5fVQroo/yanItBUYrYoGzmrKo7zkglQ2oacR1ZpsgGUbObs+1+z+7a5yTS2HccdL8+m8QyKYWj61pmOR6UDy5pSpprA== 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=HEyXIhlumB2rySAHrwGZXZQBB9F/w0AEvo7q/QmmBGc=; b=BlW4493YsmeDqaZcAcTmdzuzAMhzGWBvGOsHmawVRC0Unu7Uxic/QxT/O9Y5NGJZ3R3GeM3vA0Uw46veL+JRi6KYpm/oCZGeLBRvHSUXcywZ0qWfuOhHqwHafqjtntebMPetC35QCN7TZGk4QbNgf42ihb15DORXvwNRlj8TGjiJgjengl4YKHctrMKaCNVrHI5kd4T70wzVaaXpMmffRpyyMeu2pGr51n3KqHAdoheNN4jRc4wDFKdwykwcBKn3iF1u0Za8PfSff3EznKCfXSPjL/zZp1cTEGliJE2mnK0bzVh0C2/fEn3lFFVgGz64mnetEPIqb7+rdlzk0/LanA== Received: from DM4PR12MB5312.namprd12.prod.outlook.com (2603:10b6:5:39d::20) by DM4PR12MB5200.namprd12.prod.outlook.com (2603:10b6:5:397::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.16; Wed, 20 Oct 2021 19:34:25 +0000 Received: from DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::a4bc:7da3:32e5:1665]) by DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::a4bc:7da3:32e5:1665%8]) with mapi id 15.20.4608.018; Wed, 20 Oct 2021 19:34:25 +0000 From: Raslan Darawsheh To: Bing Zhao , Slava Ovsiienko , Matan Azrad CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix meter yellow policy with RSS action Thread-Index: AQHXxCLP0QTQzrcFnEKnR7QC1GrSqKvcSp7A Date: Wed, 20 Oct 2021 19:34:24 +0000 Message-ID: References: <20211018131855.145323-1-bingz@nvidia.com> In-Reply-To: <20211018131855.145323-1-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: cb8f0611-c8af-4dfc-c40e-08d994009fdd x-ms-traffictypediagnostic: DM4PR12MB5200: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5q9MtlKM3XwjEmjcVNf5atudaDzD6RhM/NopqiyFYrCw3Hp2tMG1DtR7a5gfKP44ObzHZk/Pg0UiiqGQJWJLpSu/icyfBZj0IKUgJL2Ujimy7oiZ81JGSVzGvzEAPVC2dRMVsX8nKVxFHbj/K5GRojQt/+yQh97uxb0iqHQEWZzrGBMpdTWhJg8rZY9lehmIfXknWV7md2uVLu2gmPG0kynEIKU/HVmq7/QLBZ7El6Qjwc4HCZ+4vwa3whSzlsHITG0NKRYu4AjxfxaQoQ08C8sYpDbRTpHNIlmvvfdbeTRaDdlSyf90KGIbv20kdMWKklOC0OUje1vfB27UITxakiaFQ5jioMmWkuSPXuFWGbHytgXUFax/BtMdRXHKNDKC6hoAqlbRRitdip0RjmXxRMJL/q9duW2d962b32b9uXI4wgps+6PsmfxqmSfcxKhijb8j5AHx4Lo7c5Oqc2tQ2JeTTqK2bD2ocMvq+p7Dflkor+1ZQz99vzcw++mw6arjXw5dIGzWZgURTLcnN5h0Y5cuBhyxddN2BUPst1cvyzZmK7IPvv53dcjG9uDJHZQq5tWYPUMd2ZDr7oS3U7HKswYqQrIDVbR6NCH8qQjWmdvscZAyV1PEy7Ps0WreSfI3BnsJ/+IacbLnr2rQgOvLKfpGG7FUWup3BfQV0ueXWovO1m5y4u/zFznOxqLvKAFt5rKEAZ28468eQMDJvH6wcw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5312.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(53546011)(38070700005)(6506007)(9686003)(54906003)(7696005)(71200400001)(66446008)(508600001)(186003)(8676002)(83380400001)(4326008)(76116006)(64756008)(450100002)(6636002)(38100700002)(110136005)(55016002)(66476007)(66556008)(8936002)(66946007)(122000001)(26005)(52536014)(4744005)(33656002)(5660300002)(316002)(86362001)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?tYzi7vLdu6Xu9C6GV89Iivuwnw3XJg6wvHaf3ql/SM2sYehBMOVckhzlUx4h?= =?us-ascii?Q?tIl51czeDOMCkBcvRimVl4XVhLTrS8nACYa3+qWJM5FaHLeOYIOTKLgQEDZX?= =?us-ascii?Q?XeqsjaYnDgoW6nEFl5ZQWHMX6AApNLAzNb2NOygssyS4S3XEBnJSMYlR0W2t?= =?us-ascii?Q?2OfKAQ+OBea/z/QmvejyltsEzoqUH6cTbqPlx8qwlNrqPgjbSZowauBdLLDV?= =?us-ascii?Q?ySwqT7StFSZlwdORkhdwHpcnpp7gNgexAV/SuYn0OGaqcXm/1athjkjwayT1?= =?us-ascii?Q?nGq+QQq7VmZ8PZniqZUx5i4fKyQ3przlnZ1JKfyRy00KU4TxJ5LJ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Z2CNJLrioK17GQYt0YJTeMUAxlR5U?= =?us-ascii?Q?UbkJdsa+OC5yWkwXXiem3S24f7we6oCt+B9wV6R4g7WWXg8ZuWafBd2KvTmu?= =?us-ascii?Q?8OU3fIOmWfUoM2zmWfBo/S8I?= 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: DM4PR12MB5312.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb8f0611-c8af-4dfc-c40e-08d994009fdd X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Oct 2021 19:34:25.1293 (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: rasland@nvidia.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5200 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix meter yellow policy with RSS action 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: Monday, October 18, 2021 4:19 PM > To: Slava Ovsiienko ; Matan Azrad > > Cc: dev@dpdk.org; Raslan Darawsheh ; > stable@dpdk.org > Subject: [PATCH] net/mlx5: fix meter yellow policy with RSS action >=20 > The RSS configuration in a policy action container was a pointer inside a= n > union, and the pointer area could be used as other fate action. In the cu= rrent > implementation, the RSS of the green color was prior to that of the yello= w > color. There was a high posibility the pointer was considered as the RSS = and > result in a error flow expansion when only the yellow color had the RSS > action. >=20 > The check of the fate action type should also be done to get rid of the > misjudgment. >=20 > Fixes: b38a12272b3a ("net/mlx5: split meter color policy handling") > Cc: stable@dpdk.org >=20 > Signed-off-by: Bing Zhao > Acked-by: Matan Azrad Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh