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

Ferruh Yigit ferruh.yigit at amd.com
Thu Apr 18 17:29:00 CEST 2024


On 3/9/2023 4:02 PM, Yogesh Jangra wrote:
> SoftNIC runs on the service core, it uses the resources from
> the testpmd application. When we run quit command, the testpmd
> application stops ethdev ports first, SoftNIC will try to
> access the port and sometimes that results in segmentation
> error. This fix will first close the SoftNIC port.
> 
> Signed-off-by: Yogesh Jangra <yogesh.jangra at intel.com>
> Signed-off-by: Kamalakannan R <kamalakannan.r at intel.com>
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>
> 

I am cleaning up old patches in patchwork.

NACK to this patch as it is, testpmd should not behave different for any
 specific driver/device. This can go out of hand if we open the door.


More information about the dev mailing list