> -----Original Message----- > From: Wang, YuanX <yuanx.w...@intel.com> > Sent: Monday, June 6, 2022 11:56 PM > To: maxime.coque...@redhat.com; Xia, Chenbo <chenbo....@intel.com>; > dev@dpdk.org > Cc: Hu, Jiayu <jiayu...@intel.com>; He, Xingguang > <xingguang...@intel.com>; Ling, WeiX <weix.l...@intel.com>; Wang, YuanX > <yuanx.w...@intel.com>; sta...@dpdk.org > Subject: [PATCH v2] net/virtio: unmap PCI device in secondary process > > In multi-process, the secondary process will remap PCI during initialization, > but the mapping is not removed in the uninit path, the device is not closed, > and the device busy error will be reported when the device is hotplugged. > > This patch unmaps PCI device at secondary process uninitialization based on > virtio_rempa_pci. > > Fixes: 36a7a2e7a53 ("net/virtio: move PCI device init in dedicated file") > Cc: sta...@dpdk.org > > Signed-off-by: Yuan Wang <yuanx.w...@intel.com> > Tested-by: Wei Ling <weix.l...@intel.com> > ---
Tested-by: Wei Ling <weix.l...@intel.com>