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 3F1E4A0548; Tue, 20 Apr 2021 16:08:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2907B41809; Tue, 20 Apr 2021 16:08:39 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2065.outbound.protection.outlook.com [40.107.237.65]) by mails.dpdk.org (Postfix) with ESMTP id 37F2241800 for ; Tue, 20 Apr 2021 16:08:38 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lqpcvS8CN7RANqZhkifHND/Z7lnL8q1+IP+zMO/yGA6uyDMuW/rwKsQWxRDvNR9Z7x+RAhINsJwaV7i0arpI4hizs3k5NtsXGaS3GaaX274XfCAEl1kf8Dfj+tib6IXnwg47dhWLYNreHDu6i430YU10agOUzNlSv51LDuR53pBZAslLKfcmNNDa2T4z90pykWr1AoZp5q4/4IibRCWXPmzHjLHNF9BZ0cmTFa0Kl0hUapeCNGhASRLFNdOBdn5baaGC+Tbxu7EU12vOrJRk5hMBd0P8TX9YBGNtTC/75zkwYEE1+aIZP0ZeD5vRX8UFLmDDgux8uwk9Qy8fcRW4Vg== 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=eqDDDuP/ucznI2QZ4DJMvWFscFO62YBKf6PJjLFH+/I=; b=eNzw+UJb8w5NudtFhAmCfdEsNIdmupaxovOGhWQ4jhhyVKZd8BsB+PRgeAl1CwaoJWbrYsHzPehMbTnEg/eLF0d41cZBBBWMA+N9jXERCBTRnZcxPUtXbjRZ1zfZVzAlSRJn/yhI0mvntbTnaSxlHz/Weojwq0vPKVxj5bbN9MayKqCgR12xOmXxNyAjmoBLfAwrnKG9nOUOP9JYpIchvJaRw2syoKXx0fav7xoAdyyUu+jPZuBZ+SK8TH2q9Su4a8qwWQb0Gl8iwXR6E5KvCiJ9NDzvoYh939mwczIDdsFPkmjmRY/es5rvPaqvSM1t/8mI6g1AlJa1SFFV+xN9PQ== 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=eqDDDuP/ucznI2QZ4DJMvWFscFO62YBKf6PJjLFH+/I=; b=Z2fp9h6+lGbCC6yytWY0RSAeQJdvIAhry89QZkZzLqvYRPX0bms+kfQgC1efH4825phnmzimyES/NsX9DJB8kSz0PXihQQ1sCFAYd0dwJqeD++W6WVvVIp2BdrwO3OiJ1F3ykV31Uc1TPwhj8eWE+dj9GAxgdGh2sEmD0H0WtgcdUBByJi7gYoKGeKMoC9WoOox5gxDTzYvqbjbBYyOp6SnyrEPS0lWU6+ZGaJTHCx/yDxfZDZGD6M9gO+ZrPRL74WbLn58px2YUdLMmJOe63/JwyFFfbFAazGIHhyMdUUnsY+Ego8hyfWgj6gUCy2LFdCR8noTTUUpdTfya8b4XYw== Received: from BL0PR12MB2419.namprd12.prod.outlook.com (2603:10b6:207:44::27) by MN2PR12MB4061.namprd12.prod.outlook.com (2603:10b6:208:19a::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.18; Tue, 20 Apr 2021 14:08:36 +0000 Received: from BL0PR12MB2419.namprd12.prod.outlook.com ([fe80::7979:5ea5:f490:d87f]) by BL0PR12MB2419.namprd12.prod.outlook.com ([fe80::7979:5ea5:f490:d87f%5]) with mapi id 15.20.4042.024; Tue, 20 Apr 2021 14:08:36 +0000 From: "Jiawei(Jonny) Wang" To: Ferruh Yigit , Matan Azrad , Ori Kam , Slava Ovsiienko , Shahaf Shuler CC: "dev@dpdk.org" , NBU-Contact-Thomas Monjalon , Raslan Darawsheh , Roni Bar Yanai Thread-Topic: [dpdk-dev] [PATCH v9 0/2] Support meter policy API Thread-Index: AQHXNTZBOKGR5d97SUKt07Dn5M1bsqq9SG6AgAApuxA= Date: Tue, 20 Apr 2021 14:08:36 +0000 Message-ID: References: <20210415092023.2089541-1-lizh@nvidia.com> <1618848506-37569-1-git-send-email-jiaweiw@nvidia.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [163.125.179.70] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f7139f94-f84b-4be3-3cde-08d90405ca60 x-ms-traffictypediagnostic: MN2PR12MB4061: 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:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: w8frDC5a+imWhMCDrc5WO5BtC7bzgj84b5IA9olMR7ps4ED0J9dZmXmwyOiZtdbShKYg62AEHfPykFj2UMQ5mgCVpKC6v8bHl+SVqiZ2OIdkiqaDI7HEtxVHE8JxKCo3+SYaV7UmF7bIGd6mRtcs1K7jNtb5gJvWKK4FNXR8OEcajrnpUbwLWXf+zJm0ROYaKr9+7DgQ58BjSXTt2v148RSfyQOuCG2RiRfMq2VBfrG85iePnY7nQ0Z/35lta7q5BzudZ3aBK4B7W33kWPtBvB3fevjxuRJIPmUHfNX4y4mi32EmmkHFd7307p1tTz+kx1us80WXE+gGuzLRNn6CewHjz0CJhoajUB3tTuxxHSwVyGXIRT95mNH3IgnAzIhGS258MxYhSLX0hc7kJThR9/rP8o3xJXaqV8kditQsxSC3KWWb5cG8FB4BraSGGs/TMf1ja1HG9RBbVkcKy2emaegRObUvAxoI8dMxisWcoa84kqxBnT0tgv5BrxGaCRuqaw1k3IcbUiV1RPrmuuX2cmqL9Aj+uhj9+ZQJVhn8WpMOwxA1JkmKI0afmBDjaxI3kKeFwN2XiPbJTZ2/KSy0f6AXDzgAlsj0UOgpGlHXAzs+GG8rBgpwVZSX3rFeUr2b806FWUI2ONs2Ux4a25UXr9FGj8FUXdlR+e4YogNpkZptWUMzNDdACY6ingOTbljf x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BL0PR12MB2419.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(346002)(39860400002)(376002)(136003)(396003)(33656002)(6506007)(53546011)(4326008)(107886003)(6636002)(478600001)(7696005)(186003)(26005)(86362001)(966005)(66946007)(5660300002)(55016002)(64756008)(66556008)(76116006)(71200400001)(52536014)(54906003)(66476007)(83380400001)(8676002)(9686003)(38100700002)(316002)(122000001)(110136005)(66446008)(2906002)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?GBAeSYDg4izaal6Kpz8VYaUMpRHu+bqoS5dMF31hZRUpqTIjdMyFKllMvDBP?= =?us-ascii?Q?7OrugIR4FFaRg0lJxJCUv8n7Lo9skJCIaQey0g4inQn8+XpZoeEL+m4goYoi?= =?us-ascii?Q?VSyEidUsp53ciLcxMwAtr+O1XEBFyzT0JmBXJFNPzQtVsC7KBi2U8eAvGnpK?= =?us-ascii?Q?VuupemFCzCeaoZYMFyhbPlLkUUFj4VaHExMTYvri3j+hBl0s6rErVv9qIngM?= =?us-ascii?Q?xznP8qoNkFgz9PxR92RNrIhwxJ3d60AJ9qgySwbkwsQOzFR1paRdALm3Rcng?= =?us-ascii?Q?wUMSi00GOzH1j/deVadyNn2elpVCzc0dBqx2t27MApzINi0g/A+BZAEmuSnP?= =?us-ascii?Q?dWW+stCH+L1Ii/+JEvwApgO77WKcTF4t02wCLOCktRNchN1OhkieLf0/KS7c?= =?us-ascii?Q?N+iDJ+g3RUNZSDeK3yNe3L5QVYYdJxjUudfKyQnbAN2vMo7xf9aJFXDDGyUJ?= =?us-ascii?Q?ysSozR/ULDj9OXyeRTw4/SjySq4jwHm+Rt2xpQxJOg6FeafPb8RFQFBBGJKM?= =?us-ascii?Q?UErHYw6rx5h63+nJ9IugzxNLdTpf/Fa0xPgwl3rjtYrXMyDX77jTl9PD4MAa?= =?us-ascii?Q?0s6QX6Jnkw6YjUBKpdkTddmCxNIGsOePswVJIk5Xw2e1MvVn32EaTAsbZLDe?= =?us-ascii?Q?XAxlneNipC5SwywNmFZB5XedMheqXNQvxbL27CURmzieF3l523NCExu+2p4Q?= =?us-ascii?Q?X1LL22GxuRILoWeL0iBUQsIZ+Va44DnsQ+Z17RaIhNg45SvwDRoE3/RA8HiB?= =?us-ascii?Q?VMzKDXqK114aQVNwWUWJqyZUeOyPfEF9jGt7olz6s3F1KICrpBg+GilBJ2hI?= =?us-ascii?Q?6eSh1UU66QIzUDNNmiCNUufezBN4FB0WC0//gWjg1YQlMuAwJpzRR3/rPKny?= =?us-ascii?Q?Dd1V578mWMnaQxy7huRfirn+0BeQdJv81alPq/gq+v0fIDhT0kzSKf6gTNN1?= =?us-ascii?Q?Gtzau4HeVyYKfHEwndY0ycnk8sEqtaI7cQ1fF2j5mKBcLmuc8qJ58yw0Q43I?= =?us-ascii?Q?4/moMbK7ylrIvkxX26Y/Tue3EZCtNbEDF52nLiHeDufTFobvZiy1lWrbARh2?= =?us-ascii?Q?f9iLCBxX2OIzprrISRC60ny39IcAer6/iUxnCALlYldVBUHnpUIfFag1Cp3j?= =?us-ascii?Q?SEJr+2M1AfM2mPLnvOoTZloG25QcxdxAKQ4fWOEGE0jdd2gzI451uPyLn/z8?= =?us-ascii?Q?mGYnLqxxXLyRvNASvi9z1cUNEUSP3Qn+SQvaTtsvfDcI08Ki9r2ubQvjZVT6?= =?us-ascii?Q?XvwfV9zGWpcNUBYkfQHzYLJM6b2g73wgCf1iUdH449jnX7Qb7xfp9Kn6GnAU?= =?us-ascii?Q?qGUIgTXENbgUcDpG9ttUq+HK?= 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: BL0PR12MB2419.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f7139f94-f84b-4be3-3cde-08d90405ca60 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Apr 2021 14:08:36.3349 (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: bnzNDcIjlrBTCV995JQCV5VdMQAEGBrWN4Z0VnyWgSga6Vgo2pCjwfeukLsL6+g8YXkIf4vakzeD8qEMorVQHg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4061 Subject: Re: [dpdk-dev] [PATCH v9 0/2] Support meter policy API 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: Ferruh Yigit > Sent: Tuesday, April 20, 2021 7:37 PM > To: Jiawei(Jonny) Wang ; Matan Azrad > ; Ori Kam ; Slava Ovsiienko > ; Shahaf Shuler > Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon > ; Raslan Darawsheh ; Roni > Bar Yanai > Subject: Re: [dpdk-dev] [PATCH v9 0/2] Support meter policy API >=20 > On 4/19/2021 5:08 PM, Jiawei Wang wrote: > > Currently, the flow meter policy does not support multiple actions per > > color; also the allowed action types per color are very limited. > > In addition, the policy cannot be pre-defined. > > > > Due to the growing in flow actions offload abilities there is a > > potential for the user to use variety of actions per color differently. > > This new meter policy API comes to allow this potential in the most > > ethdev common way using rte_flow action definition. > > A list of rte_flow actions will be provided by the user per color in > > order to create a meter policy. > > In addition, the API forces to pre-define the policy before the meters > > creation in order to allow sharing of single policy with multiple > > meters efficiently. > > > > meter_policy_id is added into struct rte_mtr_params. > > So that it can get the policy during the meters creation. > > > > Add two common policy template as macros in the header file, > > > > RFC ("ethdev: add pre-defined meter policy API") > > https://patchwork.dpdk.org/project/dpdk/patch/20210318085815.804896- > 1- > > lizh@nvidia.com/ > > > > Depends-on: series=3D16351 ("Add ASO meter support in MLX5 PMD ") > > https://patchwork.dpdk.org/project/dpdk/list/?series=3D16351 > > > > V2: Delete default policy and change relation doc files. > > V3: Fix coding style issues. > > V4: Fix comments about Depends-on > > V5: Fix comments about rte_mtr_meter_policy_add. > > V6: Delete policy example. > > V7: Fix comments and place two common policy template as macros. > > V8: Fix rebase conflict issues and CI warning > > V9: Rebase and Fix the comments for softnic driver. > > > > Haifei Luo (1): > > app/testpmd: support policy actions per color > > > > Li Zhang (1): > > ethdev: add pre-defined meter policy API > > >=20 > Hi Li, Haifei, >=20 > This patch conflicts with merged integrity check/conntrack features, also= the > dependent mlx5 ASO set send a new version. >=20 > Can you please send a new version rebasing on latest versions? >=20 >=20 Thanks Ferruh point it, I had rebased and also update the new mlx5 ASO seri= es link. The latest v10 already been sent. Thanks.