RE: [PATCH v2] net/virtio: unmap PCI device in secondary process

2022-06-20 Thread Wang, YuanX
Hi Chenbo, > -Original Message- > From: Xia, Chenbo > Sent: Monday, June 20, 2022 11:38 AM > To: Wang, YuanX ; maxime.coque...@redhat.com; > dev@dpdk.org > Cc: Hu, Jiayu ; He, Xingguang > ; Ling, WeiX ; > sta...@dpdk.org > Subject: RE: [PATCH v2] net/virtio: un

RE: [PATCH v2] net/virtio: unmap PCI device in secondary process

2022-06-19 Thread Xia, Chenbo
> -Original Message- > From: Wang, YuanX > Sent: Monday, June 6, 2022 11:56 PM > To: maxime.coque...@redhat.com; Xia, Chenbo ; > dev@dpdk.org > Cc: Hu, Jiayu ; He, Xingguang ; > Ling, WeiX ; Wang, YuanX ; > sta...@dpdk.org > Subject: [PATCH v2] net/virtio: un

RE: [PATCH v2] net/virtio: unmap PCI device in secondary process

2022-06-06 Thread Ling, WeiX
> -Original Message- > From: Wang, YuanX > Sent: Monday, June 6, 2022 11:56 PM > To: maxime.coque...@redhat.com; Xia, Chenbo ; > dev@dpdk.org > Cc: Hu, Jiayu ; He, Xingguang > ; Ling, WeiX ; Wang, YuanX > ; sta...@dpdk.org > Subject: [PATCH v2] net/virtio: un

[PATCH v2] net/virtio: unmap PCI device in secondary process

2022-06-06 Thread Yuan Wang
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 ba