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 1C96241E18; Wed, 8 Mar 2023 03:58:47 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F35FF40ED6; Wed, 8 Mar 2023 03:58:46 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2049.outbound.protection.outlook.com [40.107.244.49]) by mails.dpdk.org (Postfix) with ESMTP id A9C4B40E03 for ; Wed, 8 Mar 2023 03:58:44 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RYh+xdjhhK1e8//MY15NXjHlmqryYOjqDllWdUTGr1yqx+Mg5GU5PzXA1K2FzFuRFiaFEuTmFt7HeX1yyQwlmXfXAI33bCcPZCPaB5CU9rQELIC55YvY5O4V7sdBzJlaG9ntNjAOd/pPPfVOrWI57dNOjdtP5fvAXIrwXPtDhdBeVvNqwAaURm94YrLRbYZJTppDJzMixq5bQWmepHeb22KElGoh+9zMRziuQ+ljM4MsLxt/gnMSoy+6/EGvE9HPGz2xviZA+pcMZS4YfZxyFpdwKFBD9r0X43hsRZLln/aS8Adtkqg9YEbAhM34eg0Bcx3VrnZMsR7egTlyDkVGXw== 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=UV4PI6xOJG+MjzyBWYfQeAsaNM/heehGOwHNYOPlAY4=; b=jEHNkEqo5R6dzvCFzQO/tO5Wn/LfklgVuO55bWcGIgUXo5FvAuVsTc/zCQRDp+1nm/7DBh5qwnkcllaZLKP0rEl+/yZyn1h+g3/hJ2r0kRwjtQcPLqZc8L3CtICqTg5Aw91sFOLQFZP96NGlMsnQwMKbqI+d3SXCKHRGi1l22l8eXz2xzJ2AdvoCYSkJkFghPTvD/aJ6vv3V5+OUqzac2xeKwYRLFZv2bfB3BSlQiHsEpBpJ2g8XBwon/knvQaQqsOSx8yYUyBPjAZPpTbj9WCcdf5CVQT6aJRN5O8NVcIf9AsAZTswEmEHb2CwrfdnAST+4an8S7Phe5FkzXNO/hA== 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=UV4PI6xOJG+MjzyBWYfQeAsaNM/heehGOwHNYOPlAY4=; b=C1xS0yuAh5g2/0D/iKvN0HaA2LYZffd40aCEVy7y63sB6KXsVi3rer5bFCAEuDQCAe1U/zKpTRnWC9d35pwR7J72DzQoWZ0QND5pK0TmZBrsFrQwxuri1ke06SQisc9L8aw4b3Dr4vtYhEK0ho1gEvOnSouC0qByy/x2i7D+axR1fqCHGZbzd6tfQYEVBA8PKnyunCgCVKVI0N9dq30P4Ba9vxsHpxeVkXMNn2yzFCxXKU2KebkgqxtjVArL8cUoLHGe7bsAZtoX/8pDWQj/OdSF4YHGplYC1/vShmgoR15GljqqWMvyf/z9lWz/5pHRsOQ28BbJkE+TjKKZzQRGfg== Received: from CO6PR12MB5396.namprd12.prod.outlook.com (2603:10b6:303:139::8) by IA1PR12MB6259.namprd12.prod.outlook.com (2603:10b6:208:3e5::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.23; Wed, 8 Mar 2023 02:58:36 +0000 Received: from CO6PR12MB5396.namprd12.prod.outlook.com ([fe80::e1dc:525:d45b:94d3]) by CO6PR12MB5396.namprd12.prod.outlook.com ([fe80::e1dc:525:d45b:94d3%8]) with mapi id 15.20.6156.029; Wed, 8 Mar 2023 02:58:36 +0000 From: Suanming Mou To: Gregory Etelson , "dev@dpdk.org" CC: Gregory Etelson , Matan Azrad , Raslan Darawsheh Subject: RE: [PATCH 0/5] net/mlx5: add indirect QUOTA create/query/modify Thread-Topic: [PATCH 0/5] net/mlx5: add indirect QUOTA create/query/modify Thread-Index: AQHZKzxKsVoWX0qDrEyMIyFeZCaQd67wfLtQ Date: Wed, 8 Mar 2023 02:58:36 +0000 Message-ID: References: <20230118125556.23622-1-getelson@nvidia.com> In-Reply-To: <20230118125556.23622-1-getelson@nvidia.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=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR12MB5396:EE_|IA1PR12MB6259:EE_ x-ms-office365-filtering-correlation-id: 8211d932-c79b-4aa9-7487-08db1f8102d3 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6JpFfR4I3yA/1mx7wh+cjAWBtn3xVxcjgmCDcMzwrAlwGduhb8Y5+HjLYJhmTTtoqMlAJI5YR2iIac8dHTUihWQhEKVR24cncil/uIqizVn/AKSP6vEzpOxfl83hT4YImZdZMJsnk38uT1cN0LZzDycb6TPnmC2CXj4syKvTrFfWU2ytHsMOWR4SWmYLwrLGYvwrlVNgYiDMrt4h2eFtdhKkRevLwmQnx3BPGFWK+uw3ZVgp9BKwfY+bF/bJ5jMJd7k3rspGpIjVr1Y+K9JKqTOvwVnoxIndFPpWf8PfLIBCGDw0pU9GJecSo6jkrOcg82V6dkl5BSB8UVRpObcI//cs+ATVV4MjL/Sar+ISJsYDcat7jzG/1qPHP4+1bBPC6lXGe8Y3qkpbQ1WgI1gGRUfkDb5U+q8aJWbZ5LhXKwsuRfPzWljJIx/ZDBkuYL2bzPArGLvN1fMNphsLSpul6IOT+VpX9IasUBqBjW5lKlAFRnTco3N+7rPtk26+36y2v/rF0lasBh8cSD/An5LPy7Z9l0uejV/V0NF3ClZJ+o91B600ulaxl87+7SATkAkarDI304+6M0lW9bZxm0DlR18T8Q3NXRC2Ba7/7K1Z2Vhp4MA9cooBL14SpeFWmxmopJBY39CJeXR+lOa0pAxM7odehv4SZCidnjw5gvxwEMDHZIY/TWc7QRSdbH24s4aqceJsq9y15e0deYnVxASUEQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR12MB5396.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(39860400002)(376002)(136003)(366004)(396003)(346002)(451199018)(33656002)(83380400001)(7696005)(53546011)(9686003)(26005)(71200400001)(6506007)(186003)(64756008)(52536014)(66556008)(107886003)(66946007)(54906003)(66476007)(66446008)(8936002)(8676002)(76116006)(2906002)(4326008)(41300700001)(15650500001)(5660300002)(55016003)(122000001)(316002)(38100700002)(110136005)(38070700005)(86362001)(478600001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?CbFRxW0cWl6QEbMD7bh4eLFOjFIlamAWgbhtvY4c/oxMPFJijVoQLltGxPDO?= =?us-ascii?Q?JfDfc2aSbsHNCJJh0UAOlnVgY4rGfayl8KGcQNHGJzPK/lE+LSDRU2GNRvOP?= =?us-ascii?Q?IRHakwRzJpJXaghCKq+sLsanZvhH1fpvVQhnfAjreEm5+/3Gu5FlxMakYbxx?= =?us-ascii?Q?m4vKsuFLXK03hvfx4KooRynDX9OgCXiUFOqZnGnrYtzveWBsmJ6hBoWUDNXC?= =?us-ascii?Q?z6/ZYxnyTkJNXVkSamY9s+GUI/Zo+r6KDbnt7qNDW3ElpKhUOUpB74j5P88W?= =?us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cOo+0EdoYoAFgWPGTAvby8q7Q3Spp?= =?us-ascii?Q?3PNZK8pYkn2LEA/iwgT+VVb+N0WVaKQCfQ42tI/4pWuhqUAlt/rbyIwrr5Dw?= =?us-ascii?Q?VKtLJBlDsBEmBNJPTN/0XZGUOAv29m/qLxa6oop9/2JgncfMMsMwXyAR0ozb?= =?us-ascii?Q?Y5Y7sUWkllp1CX3UXF3OVIXf9hrzyrbpfoQ5sHH3k5u4wXNgFTDspNWJC1Mj?= =?us-ascii?Q?N2+U6lcSeKgWkYGxaUXqYhJbGiZbNqUIV9m75fbpn2Nnthu9PLVTOvDMxu3I?= =?us-ascii?Q?XKCUPkBfXbB6yUbVKccfw2eyH9HWIYyfq0EBs3j3sZly73xSmJdTYc9NcMeT?= =?us-ascii?Q?HSWf+mFHl/GbbLiaMUGTQ0Zcv3Vvya4Pm34EY/HYz2EPcsqnpGLfuCPScjaJ?= =?us-ascii?Q?kbRkHx4sIy02+4ddHjJg1xLF77n8AdKTqx1JJ0oU?= 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: CO6PR12MB5396.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8211d932-c79b-4aa9-7487-08db1f8102d3 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Mar 2023 02:58:36.1556 (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: 8K9B1WCu0bXpcMaIP38IxA8TlyQHp1kCA0IgUH/VcI0+JI7bFcPibEZ7GCP47Sar4DgpeWnA+NMcUqb8/8y7kQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6259 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 Hi Gregory, The code looks good to me. But I assume doc update is missing here. Can you= please update the relevant doc and release notes? BR, Suanming Mou > -----Original Message----- > From: Gregory Etelson > Sent: Wednesday, January 18, 2023 8:56 PM > To: dev@dpdk.org > Cc: Gregory Etelson ; Matan Azrad > ; Raslan Darawsheh > Subject: [PATCH 0/5] net/mlx5: add indirect QUOTA create/query/modify >=20 > Add indirect quota flow action. > Add match on quota flow item. >=20 > Gregory Etelson (5): > net/mlx5: update query fields in async job structure > net/mlx5: remove code duplication > common/mlx5: update MTR ASO definitions > net/mlx5: add indirect QUOTA create/query/modify > mlx5dr: Definer, translate RTE quota item >=20 > drivers/common/mlx5/mlx5_prm.h | 4 + > drivers/net/mlx5/hws/mlx5dr_definer.c | 61 +++ > drivers/net/mlx5/meson.build | 1 + > drivers/net/mlx5/mlx5.h | 88 +++- > drivers/net/mlx5/mlx5_flow.c | 62 +++ > drivers/net/mlx5/mlx5_flow.h | 20 +- > drivers/net/mlx5/mlx5_flow_aso.c | 10 +- > drivers/net/mlx5/mlx5_flow_hw.c | 527 +++++++++++++------ > drivers/net/mlx5/mlx5_flow_quota.c | 726 ++++++++++++++++++++++++++ > 9 files changed, 1318 insertions(+), 181 deletions(-) create mode 10064= 4 > drivers/net/mlx5/mlx5_flow_quota.c >=20 > -- > 2.34.1