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 08923A0C47; Thu, 14 Oct 2021 14:17:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8B8B04112E; Thu, 14 Oct 2021 14:17:27 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2060.outbound.protection.outlook.com [40.107.223.60]) by mails.dpdk.org (Postfix) with ESMTP id 87B7540041; Thu, 14 Oct 2021 14:17:25 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S/URHbxweN9yPcysC2hIYhwghmEKnSNChEr1CagutaLedFSW9ARC0i14whegaEVTmphmFc/zRq27oe7Nfc2c7UCzlJsHLZP0uzUYckpNCWjeteEzVGpU6f92hY4GYJZ7bIeLVgj7TaOzcCjQpHPMZJ8PgNDsFwL9yo00kqKSLQzKmbMGqmz2YD8Q8sF+q6szI3ldhyv++9f2k9dPiLOD11vhGiGKB6md9q2RGEYXKnEQVp8svVOmuLPG76orRrew1/ylgvYnMAOD/T5tL7LjRw8lz8JNKGmTylY++Gw6nEj7sPobyqKFO0WGKtFDPEjc3IP4oPWLFctZ99K29Aifsw== 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=k/caM5be+qgWzMgs7fZSr0jzf+A4d+u3nt7fq+PAJVY=; b=iVazeAYNnUuCpwipxjsxw5zx0XhcKgi2NUZ5p3YCyrMbBkLHox2K1WF9TLhk7o0ArtnlVBv23ublgd4D69ujQjJ8igfCon+rcjzpr2EnNu8YXW+pz5+2Sg4yNQLErOgWVTINHzFqBAWrTYJdrWiRsZEq2TLiiXNoHpx1/U3E7uxpj9J/2GKrQdTG3EFlS+cR0iVRvkERMBeu6wXvZM7UBR+MvZjBrzdtPRZ2rN4Knr1w9vwJAngjWjsSyEkvbExysKm/uD1g/A++Z5i7+0rPOR1Ne/Vqf+fYf/PKyCIeerQOV472Ml2OYhuc19+TYUS0H9FWg0BpvuZoemIR5nvymg== 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=k/caM5be+qgWzMgs7fZSr0jzf+A4d+u3nt7fq+PAJVY=; b=Z9jvXU7rQAwjvoG6qtba6jhNLYn/CW7bd9aTyO1fI6jApLQFo95M2HarRP75pT9lOIW91vsFBYCKyw8mRGMkusGtZypQbsdyiC2B7XdkknFKKFWiuS5Nnq6nrPpf6EUG7ZfaswwaCjwvc89xhaobqabijzlAWUVWtAuc2d+iRMF5RD0se8pXrJnLx8Eq7TKuLjUO71Spd5eKOYfFZZ7z0Zz3/iI0iXHU3buBV/Otvt0gVuwtFv3gPHDCAfFFySPbui8Ov6Z3R6ug8XKymXV4J2wiS7YmTDf7FJDqG2f1WTgBmIn2kPiYU3KGZiufGsabOFSxlC+hXct4SMD9TLmYxQ== Received: from DM4PR12MB5312.namprd12.prod.outlook.com (2603:10b6:5:39d::20) by DM8PR12MB5399.namprd12.prod.outlook.com (2603:10b6:8:34::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.16; Thu, 14 Oct 2021 12:17:23 +0000 Received: from DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::a4bc:7da3:32e5:1665]) by DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::a4bc:7da3:32e5:1665%7]) with mapi id 15.20.4587.030; Thu, 14 Oct 2021 12:17:23 +0000 From: Raslan Darawsheh To: Li Zhang , "dekelp@nvidia.com" , Ori Kam , Slava Ovsiienko , Matan Azrad CC: "dev@dpdk.org" , NBU-Contact-Thomas Monjalon , "stable@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix domains selection for meter policy Thread-Index: AQHXvkl703AbcOxCD0uNnhpxl/oP1qvSbjfA Date: Thu, 14 Oct 2021 12:17:23 +0000 Message-ID: References: <20211011024048.28165-1-lizh@nvidia.com> In-Reply-To: <20211011024048.28165-1-lizh@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: 361f5b8a-b29a-4731-e88f-08d98f0c93f6 x-ms-traffictypediagnostic: DM8PR12MB5399: 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:2887; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ZUt7Su+qgL7GmO1bkTtW6Fabg4EwQDLxwHm4wI1xpKA1jQrFsfy4xOZ6p6VBWg5OUB6Eh1h0X8yAH9HFWe/jO9rVJHt7u9bpF4xewuwYNVleVQPF/d5SDR2SMDT58aHiBBPyHkEz8khkpVMqU3zghYWbWxPcmwySqkE3jYUMe0S4OB5tlj6o6j0rKyK9uIBEliJiLZ6jauBgU+Jd7qfZ45qxrn+rKHRtzkF6jfeCmghvBlblIXMVk5QJC5ymrLc+LScshua1Pe8dcHvPJTKJ91DTW54Bet8dZyZ7Z3CmzR75y5tVgkbG0ECBlj7qEhFF6w+EaiGubKoB+qvkdxtcv7EJAihZM4D9Dh2xg9goOKv4SLPnYNFn1i4tsdvv2LG2NXPmJ4dayZvX4U8ej4TXMZFHPXvBlx062v/TPES0mj12vJSKbhTlRJWXxJqmZZPJl5U8WvFy1BpRhoIENAc2DXjjOEX0QK0zRWMTt600eN6SNMoq4HtVIAoMequYWZ4UPEpngTPeVu3nOolAVgnu5LTBCPoaCGi9/mvDuvUVdiqdBRI7sQULRi2sGIQ97oCzzPQma/rqG/KF2vzo0IU/22D5ok4xPsAh011UWTfxK1gJVJlQ1Fwtff/ufAqGJ8LeuFcbyDlz5Jfzkc2l1XiNVe+2/hbfpGgDFrmgfCbPPx1pefqsJFZL3dlx7ZiXEsUcdrNSS1+VsLafRQc+CCaZKQ== 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)(122000001)(66446008)(110136005)(38070700005)(54906003)(8676002)(76116006)(7696005)(38100700002)(33656002)(66556008)(186003)(6636002)(52536014)(2906002)(5660300002)(316002)(86362001)(66946007)(66476007)(9686003)(64756008)(53546011)(4326008)(26005)(71200400001)(508600001)(8936002)(55016002)(83380400001)(6506007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?LMsNAscJzeKu+M/I6bWoXy/rkEeJS5wnJkxaUu0OzwpR23nWNq1vHYjgLdm1?= =?us-ascii?Q?taqcerJMIp00p2bNjXw9kXFzQrehzqfftgKQZPgy4PWYESYi5BKA4S03Lk+B?= =?us-ascii?Q?q1iY7xfAeXWq2upJoDA8Ou5Fs6fYT7VV/YtZOFLYeXxvbLHAQpo5oZG8VWZo?= =?us-ascii?Q?8hSWABqGdqj439E9DHb2Jb6bx+Dg5JeRf9IDRNE41l44TuS/R9kJJWWtmQtp?= =?us-ascii?Q?vkjYBL0N+1d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=?us-ascii?Q?W9515eDOVUf8ZMnlv+6MhfOQ8W0PjhGhdUU3Iu54nzSg0V0T7KQoL55K/xfN?= =?us-ascii?Q?sGeSP7xou/MjCqw/d3iCWL8FDFEOJY4PAJ1C3cGAu8WfhEhGHorAwmJoILCZ?= =?us-ascii?Q?piwRcCqEVZtW7l1Ib8j78aFyC9rm3GVKXQSzzE6+tUEqtQqYXSYXA6lswCNq?= =?us-ascii?Q?L4R+SnLEw/Vgtl886QU148re?= 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: 361f5b8a-b29a-4731-e88f-08d98f0c93f6 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Oct 2021 12:17:23.3262 (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: n9rynNoNN0fwL/ne/k7HYonFzsfRUnrExRZAfDkbSBg9NVf5V9wqLNzClL4o5bQ+mKqIwcvSCiEqu6/R1kzUhQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR12MB5399 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix domains selection for meter policy 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: Li Zhang > Sent: Monday, October 11, 2021 5:41 AM > To: dekelp@nvidia.com; Ori Kam ; Slava Ovsiienko > ; Matan Azrad > Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon > ; Raslan Darawsheh ; > stable@dpdk.org > Subject: [PATCH] net/mlx5: fix domains selection for meter policy >=20 > Fate actions are different per domain. > When all the domains, ingress, egress and FDB (transfer), > can support all the policy actions, i.e. [SET_TAG], > the policy prepares resources for all the domains and > failure happens if one of the domains misses its fate action > in the policy action list. >=20 > Remove the domains missing their fate action > from the meter policy preparation. >=20 > Now, the policy will prepare a domain only when the domain supports > all the actions and when one of the domain fate actions is on the list. >=20 > Fixes: afb4aa4f ("net/mlx5: support meter policy operations") > Cc: stable@dpdk.org >=20 > Signed-off-by: Li Zhang > Acked-by: Matan Azrad > --- Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh