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 A06FB46729; Mon, 12 May 2025 18:12:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4B07B4026C; Mon, 12 May 2025 18:12:07 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id D1F2F4025F for ; Mon, 12 May 2025 18:12:05 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id B8F762178D; Mon, 12 May 2025 18:12:04 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [PATCH v2 2/2] ethdev: remove callback checks from fast path X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Mon, 12 May 2025 18:12:03 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9FC47@smartserver.smartshare.dk> In-Reply-To: <20250512150732.65743-2-skori@marvell.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v2 2/2] ethdev: remove callback checks from fast path Thread-Index: AdvDT6dtNl1iyDDXR46COnveyler+wACOCzA References: <20250429181132.2544771-1-skori@marvell.com> <20250512150732.65743-1-skori@marvell.com> <20250512150732.65743-2-skori@marvell.com> From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: , "Thomas Monjalon" , "Ferruh Yigit" , "Andrew Rybchenko" Cc: 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 > From: Sunil Kumar Kori > Sent: Monday, 12 May 2025 17.07 >=20 > rte_eth_fp_ops contains ops for fast path APIs. Each API > validates availability of callback and then invoke it. > These checks impact data path performace. >=20 > Hence removing these NULL checks instead using dummy > callbacks. >=20 > Signed-off-by: Sunil Kumar Kori > --- Acked-by: Morten Br=F8rup