[dpdk-dev] [PATCH] app/testpmd: fix vm_hotplug after removal of rte_eth_devices

Thomas Monjalon thomas at monjalon.net
Fri Jul 30 14:30:45 CEST 2021


> > After removing rte_eth_devices from testpmd the vm_hotplug no longer
> > recovered after removal of a device, this patch fixes this issue.
> > 
> > Fixes: 0a0821bcf312 ("app/testpmd: remove most uses of internal ethdev array")
> > 
> > Signed-off-by: Paulis Gributs <paulis.gributs at intel.com>
> > ---
> >  app/test-pmd/testpmd.c | 8 +++++---
> >  1 file changed, 5 insertions(+), 3 deletions(-)
> 
> Acked-by: Xiaoyun Li <xiaoyun.li at intel.com>

Adding a bit of explanation:
"because the port was closed before querying it."
About the title, vm_hotplug is nothing in testpmd,
and the problem is not limited to VMs.

Applied with rewording.




More information about the dev mailing list