On Thu, 9 Mar 2023 14:42:49 +0000 Yogesh Jangra <yogesh.jan...@intel.com> wrote:
> + /* > + * SoftNIC runs on the sevice 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 result in segmentation > + * error. So first closing the SoftNIC port. > + */ > + RTE_ETH_FOREACH_DEV(pt_id) { > + if (!strcmp(ports[pt_id].dev_info.driver_name, > "net_softnic")) { > + stop_port(pt_id); > + close_port(pt_id); > + } > + } > + NAK No driver specific hacks please. Instead fix the driver design or bug please.