[PATCH] app/testpmd: fix closing softnic port before ethdev ports

David Marchand david.marchand at redhat.com
Fri Mar 10 14:47:21 CET 2023


On Fri, Mar 10, 2023 at 1:00 PM Ferruh Yigit <ferruh.yigit at amd.com> wrote:
> >> NAK
> >> No driver specific hacks please.
> >>
> >> Instead fix the driver design or bug please.
> >
> > Hi Stephen,
> >
> > This is not a Soft NIC driver-specific hack, this is required for working around some of the ethdev drivers that don't implement the stop() API correctly and free up the device queues or some other internal resources on stop() instead of close().
> >
>
> Why not fix the misbehaving drivers, instead of working around for
> softnic, as Stephen suggested?

+1


-- 
David Marchand



More information about the dev mailing list