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 3EB95A034C; Wed, 23 Feb 2022 09:51:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B995340DF6; Wed, 23 Feb 2022 09:51:29 +0100 (CET) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam08on2085.outbound.protection.outlook.com [40.107.102.85]) by mails.dpdk.org (Postfix) with ESMTP id 0286F40140 for ; Wed, 23 Feb 2022 09:51:28 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K6IsBApcdr1HcNuq45x0svZrGj+emuov3eV8j2ir9ihja/IpgU6DDJkg/k7umaif06TWyslwLNU/soQo6t1Zp1D0aCcB6+D7C9F59zFn5pqLKKh/cL5rpBAaw+OEa2AaVKx9WoJOFYRtm/ApvZTrTRpfQcvPqdfy55BJqQDCqoVQLimZ+Y2JJuNuDba4LkJNBQUe4o65OXmbzxZgl3n5Z3Hqj6I4jJ9d8cngnk7BrsBUtzocJNfjEwBvNO5Gpj4v7NeAbPLR09Z2iSzukfxHaVXuqe8kbosrxx7WhlNZfDNG2pymHgLk0CpBkStG8C5UR407+AL+GjmbtJx9QBk35g== 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=oTfeoulC54u63VD7dmHsyVKymx0GkjSL0sqUEclptWw=; b=SXRPVUFvdNOUycWhWgE9BJ+T0kktb8hDZHQAuONL/1jnTpj+mS8Ii8h3MsQNEKyte8H+BgGkjAkchQIMwtO6rJMSAHaDs7QiJFnxnUNieIUN7WlbF6CEp2dioGlEwmh2ouPJOEIbZuVSrAV0N1sulgjH0atb6cpM0kIrGl0PQgCY5l83nievayeL3hhHm4Vu7Y0YodGX9MlZdsOJuODmVbthwulpe9v9cO/8tnJAajWBBguBzkEaHsjBAj3DNlPe3QFbQMegW7jKEsTEk4Q8WWungG4P//PB0riRWQsAEox78DVKbqFvXFHCH+onCnZQLHzSgMsJJDCMyCVZJQPHPA== 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=oTfeoulC54u63VD7dmHsyVKymx0GkjSL0sqUEclptWw=; b=PPf1NFmjn581lwM2ocbwzAFakoM9aRve2YmwUp1gWm3NBqZtOOJCq79FQoOF44Wf1gc/Xs/RnZbDa6WoWoWWiEsvPGdqbzgaNAC5fN1TXY12M+xHowSXuO0gqzZouPe5RjJCsk62P4ccxG89E0/yKQzcTdRWyujGeT7soEr4XSpT8yVlr7tN/HY3iIw0Sw+Tar7vSiylz3QZBtKj9ludKOnBQu1Qh48idSOO+Qbi26V9+FYUgbF6Ix6TFsZq5JABQNXdp1dbIR2dwk0Qtef3eQc3ghtDU/oetu4CMVZA9vT3VVea6zrm+5GeYe5cM/1DKCGrtjcWOu6FFQ4ygUWM0Q== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by CH2PR12MB5018.namprd12.prod.outlook.com (2603:10b6:610:6e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16; Wed, 23 Feb 2022 08:51:27 +0000 Received: from BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::c8a5:fe91:7c8d:5e84]) by BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::c8a5:fe91:7c8d:5e84%5]) with mapi id 15.20.4995.027; Wed, 23 Feb 2022 08:51:27 +0000 From: Raslan Darawsheh To: Haifei Luo , Matan Azrad , Ori Kam , Slava Ovsiienko , Shahaf Shuler CC: "dev@dpdk.org" , "NBU-Contact-Thomas Monjalon (EXTERNAL)" Subject: RE: [PATCH] net/mlx5: functions refactor for getting counter's action Thread-Topic: [PATCH] net/mlx5: functions refactor for getting counter's action Thread-Index: AQHYJvz9k0rrAa4r7EGxN9nTuPW/k6yg1wVw Date: Wed, 23 Feb 2022 08:51:27 +0000 Message-ID: References: <20220221082721.49462-1-haifeil@nvidia.com> In-Reply-To: <20220221082721.49462-1-haifeil@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-office365-filtering-correlation-id: cbf14743-3252-4d9f-b5f1-08d9f6a9ada4 x-ms-traffictypediagnostic: CH2PR12MB5018:EE_ x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1FToyO9ddFn0/x3rS3hvft8/tbV3LVp3kYesP4RfoQgRjD/tfqQZsvMD2trkcugHCzmyKiF9xK8hGk+mYBPwKH17QRRUVtjxDG7ZrrlNdge0D9X/UW4pn7zTyc34fxF7bVeqtbJ2ueJeSUnZYY4zRmRAsQiqf/tXGD+79xNqbOdddg/ngCNrX11A54j12OdsXCm+mYD4uVHCD+Yzm8JC+DBmArf/VM+EamI/DcOUYNRpDdELOzoo6DK1WE+IWZareP7b4PHUq8lz2kGtIHO+CFM/TIHewP2UuSIXtY9ufWwyvkZ6yEmk7+Thvo52QY19neQMajOZUFQn67BzDCzaVj8gZNOn02oLUheWF/PZFiolanVtECzpXQP9MScyIAAjYHl3/a+oi5sghbAU8CKYpMXfxWJHJ+IWJqHNK9o+CsqS9igr2/x+gMkRN6e6aLIjoRJ9S9Gfa39Ad3nkJEHdvCJMrlcbd5Fji3ffCJgRM/P4xT4CNvUpxfBANU37/MUO+z2aYe4djceN7qq/MoGpCyX0ldMGjrhv6I5Y20uKyArXpl/PWGZfcIcEqgri9ajROqidth8iyJ38B18w/YvpMeuN+gGpSKzZ96+H9Nw0Oy5ZrTcSrnWsuB+ZlkttgE+ShPD0/z6TNhOHD/vLGoOdw1Nxd4sb8Zsa5Yfd5hsJBm2lrw5z8ertfEC4IMbpKt7WPYrIZvJXVqr3v73srtRHIw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR12MB3078.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(4326008)(71200400001)(110136005)(55016003)(33656002)(83380400001)(26005)(54906003)(186003)(8676002)(66476007)(66446008)(66946007)(76116006)(64756008)(66556008)(316002)(508600001)(6636002)(9686003)(5660300002)(6506007)(7696005)(52536014)(8936002)(38070700005)(86362001)(122000001)(38100700002)(4744005)(53546011)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?4l7JmnR5zscw5AuuB5Rk4tVOu4+cqglVfkM/pBcfPR1YJRwz8//XxGgeTj8f?= =?us-ascii?Q?YsxioRHdpRkvbPHVkdx+sPw34glPhEUNk1E24Go3GuXMe6Dbk/xWRxAEGYiF?= =?us-ascii?Q?XvMHMySKckKYyNdQojmZNGX9UtHTEt8kDuDf2j/5Wquhir13dCiZU46NrmHd?= =?us-ascii?Q?tMCVjIb3EPbKx9B6Dq2cnLCSbm2lkjN6brHradXGcgkKhAImIl/j6nB12irS?= =?us-ascii?Q?carHL3x8xq3qZu6afg5UBzLQAKeZOdvxjGHgCPXKUWB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YqiwFThQzIMs14oI+TnIeFa566Cs83yPJEQy3u3/lvqDhjw6?= =?us-ascii?Q?/zeL89PE8Vza35rO81MyrRFyMfue03RUH6EaCHluziYk7gaAUE3iuz9Wxefr?= =?us-ascii?Q?xvafo4J8ubfmSQ4jWdxaK0yRmjFcb3K8c5mNCm/4fL1WrbFE4j3xhvNuEOlQ?= =?us-ascii?Q?KQihTTI3Q/iLuu8pevJbHFBP0WHhqDZmC7OvgkWn/6GOjtI+/anxccfV8ZXK?= =?us-ascii?Q?wvZlGTJO7iD7CsvAATXMQHMP3dMjbT+CKw44ZJQR61j26LsXCtP57mPdVo6w?= =?us-ascii?Q?UaQ4ODCk3vL4e8SPgnjeL+6EUD2I3Nryi+IN8yUn0oM+Ui7wbFPdLk3yhxmo?= =?us-ascii?Q?plrnXwIfFajeSopULLhQY9VZi9692cwLYWrldKLwzXxDHAovYWp+hoOvH+AZ?= =?us-ascii?Q?tkMpbw8FWOhEywjaRUcKr6SPinhLPYbnpkIuJ9CMDjQahvGtrcCXJpJYNDa7?= =?us-ascii?Q?Wf7brkSXGUzq/a0wo00Z8Ew=3D?= 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: BYAPR12MB3078.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: cbf14743-3252-4d9f-b5f1-08d9f6a9ada4 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Feb 2022 08:51:27.0763 (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: HDAGFTp5Mi/xLNhRv41CwFK4qoR3f2J0JM4lvmjowp9OA01QlCapugNkfVOWwGK8NXSOGLH4P83tX8LKdQhV2Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB5018 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, > -----Original Message----- > From: Haifei Luo > Sent: Monday, February 21, 2022 10:27 AM > To: Matan Azrad ; Ori Kam ; Slava > Ovsiienko ; Shahaf Shuler > Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; Raslan Darawsheh > Subject: [PATCH] net/mlx5: functions refactor for getting counter's actio= n >=20 > Previously API flow_dv_query_count_ptr is defined to get counter's > action pointer. This dv function is directly called and the better > way is by the callback. >=20 > Add one arg in API mlx5_counter_query and the related callback > counter_query. The added arg is for counter's action pointer. >=20 > Signed-off-by: Haifei Luo > Acked-by: Viacheslav Ovsiienko Patch rebased and applied to next-net-mlx, Kindest regards, Raslan Darawsheh