[PATCH v2 1/3] net/ixgbe: avoid private driver include in testpmd
Bruce Richardson
bruce.richardson at intel.com
Thu Oct 15 19:09:38 CEST 2026
On Thu, Oct 15, 2026 at 03:44:33PM +0100, Medvedkin, Vladimir wrote:
> Acked-by: Vladimir Medvedkin <vladimir.medvedkin at intel.com>
>
> On 10/15/2026 3:21 PM, Anatoly Burakov wrote:
> > From: Thomas Monjalon <thomas at monjalon.net>
> >
> > Testpmd commands should use the driver's public API
> > rather than access its private structures directly.
> > Note: ixgbe_testpmd.c should be considered as part of testpmd.
> >
> > ixgbe_testpmd.c includes ixgbe_ethdev.h only to check whether bypass
> > operations are available through the private adapter structure.
> >
> > Rely on the public bypass API to check availability
> > and handle -ENOTSUP in the commands.
> > Remove ixgbe_ethdev.h, ethdev_driver.h
> > and the now unnecessary RTE_LIBRTE_IXGBE_BYPASS definition.
> >
> > Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> > Reviewed-by: Anatoly Burakov <anatoly.burakov at intel.com>
> > ---
> > drivers/net/intel/ixgbe/ixgbe_testpmd.c | 55 ++++++++++---------------
> > 1 file changed, 21 insertions(+), 34 deletions(-)
> >
Patchset applied to dpdk-next-net-intel, ahead of the flow graph set.
/Bruce
More information about the dev
mailing list