Re: [PATCH v4] bus/pci: fix legacy device IO port map in secondary process

2023-10-18 Thread David Marchand
On Wed, Oct 18, 2023 at 2:39 PM Gupta, Nipun wrote: > On 10/18/2023 3:35 PM, David Marchand wrote: > > On Mon, Oct 9, 2023 at 5:06 AM Ma, WenwuX wrote: > >>> From a pci bus API pov, nothing prevents a driver from mixing memory > >>> mapped with vfio and ioport resources (iow, calls to > >>> rte_

Re: [PATCH v4] bus/pci: fix legacy device IO port map in secondary process

2023-10-18 Thread Gupta, Nipun
On 10/18/2023 3:35 PM, David Marchand wrote: On Mon, Oct 9, 2023 at 5:06 AM Ma, WenwuX wrote: From a pci bus API pov, nothing prevents a driver from mixing memory mapped with vfio and ioport resources (iow, calls to rte_pci_map_resource() and rte_pci_ioport_map()). IOW, it may not be the ca

Re: [PATCH v4] bus/pci: fix legacy device IO port map in secondary process

2023-10-18 Thread David Marchand
On Mon, Oct 9, 2023 at 5:06 AM Ma, WenwuX wrote: > > From a pci bus API pov, nothing prevents a driver from mixing memory > > mapped with vfio and ioport resources (iow, calls to > > rte_pci_map_resource() and rte_pci_ioport_map()). > > IOW, it may not be the case with the net/virtio driver but, i

RE: [PATCH v4] bus/pci: fix legacy device IO port map in secondary process

2023-10-08 Thread Ma, WenwuX
Hi, > -Original Message- > From: David Marchand > Sent: 2023年10月3日 18:21 > To: Ma, WenwuX ; nipun.gu...@amd.com; > chenbo@outlook.com > Cc: dev@dpdk.org; maxime.coque...@redhat.com; Li, Miao > ; Ling, WeiX ; sta...@dpdk.org > Subject: Re: [PATCH v4] bus/pci: f

Re: [PATCH v4] bus/pci: fix legacy device IO port map in secondary process

2023-10-03 Thread David Marchand
On Wed, Aug 30, 2023 at 7:07 AM Wenwu Ma wrote: > > When doing IO port mapping for legacy device in secondary process, the > region information is missing, so, we need to refill it. > > Fixes: 4b741542ecde ("bus/pci: avoid depending on private kernel value") > Cc: sta...@dpdk.org > > Signed-off-by

RE: [PATCH v4] bus/pci: fix legacy device IO port map in secondary process

2023-09-04 Thread Ling, WeiX
Subject: [PATCH v4] bus/pci: fix legacy device IO port map in secondary > process > > When doing IO port mapping for legacy device in secondary process, the > region information is missing, so, we need to refill it. > > Fixes: 4b741542ecde ("bus/pci: avoid depending on privat

Re: [PATCH v4] bus/pci: fix legacy device IO port map in secondary process

2023-09-04 Thread Gupta, Nipun
On 8/30/2023 10:37 AM, Wenwu Ma wrote: When doing IO port mapping for legacy device in secondary process, the region information is missing, so, we need to refill it. Fixes: 4b741542ecde ("bus/pci: avoid depending on private kernel value") Cc: sta...@dpdk.org Signed-off-by: Wenwu Ma Acked

[PATCH v4] bus/pci: fix legacy device IO port map in secondary process

2023-08-29 Thread Wenwu Ma
When doing IO port mapping for legacy device in secondary process, the region information is missing, so, we need to refill it. Fixes: 4b741542ecde ("bus/pci: avoid depending on private kernel value") Cc: sta...@dpdk.org Signed-off-by: Wenwu Ma --- v4: - adjusting commit log v3: - adjusting va