Re: [dpdk-dev] [PATCH] bus/pci: support segment value as address domain on Windows

2020-10-14 Thread Thomas Monjalon
16/09/2020 20:32, Ranjit Menon: > On 8/25/2020 4:43 AM, Tal Shnaiderman wrote: > > Set the domain value for rte_pci_addr probing on Windows > > to the value of the PCI segment returned by SPDRP_BUSNUMBER. > > > > Signed-off-by: Tal Shnaiderman > > --- > > --- a/drivers/bus/pci/windows/pci.c > > ++

Re: [dpdk-dev] [PATCH] bus/pci: support segment value as address domain on Windows

2020-09-16 Thread Ranjit Menon
On 8/25/2020 4:43 AM, Tal Shnaiderman wrote: Set the domain value for rte_pci_addr probing on Windows to the value of the PCI segment returned by SPDRP_BUSNUMBER. Signed-off-by: Tal Shnaiderman --- drivers/bus/pci/windows/pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [dpdk-dev] [PATCH] bus/pci: support segment value as address domain on Windows

2020-09-13 Thread Tal Shnaiderman
> Subject: Re: [PATCH] bus/pci: support segment value as address domain on > Windows > > On Thu, 10 Sep 2020 07:30:39 +, Tal Shnaiderman wrote: > > Right, it can happen in virtualization setups when several virtual functions > can have the same BDF, e.g.: > > > > PS > Get-NetAdapterHardwareIn

Re: [dpdk-dev] [PATCH] bus/pci: support segment value as address domain on Windows

2020-09-13 Thread Tal Shnaiderman
> Subject: Re: [PATCH] bus/pci: support segment value as address domain on > Windows > > Thanks for the explanation, Tal. > > I had always been curious how Windows stores the PCIe segment (domain) > number. > > On VMs hosted on Hyper-V, the VF segment numbers are always in the high > 16-bit valu

Re: [dpdk-dev] [PATCH] bus/pci: support segment value as address domain on Windows

2020-09-10 Thread Dmitry Kozlyuk
On Thu, 10 Sep 2020 07:30:39 +, Tal Shnaiderman wrote: > Right, it can happen in virtualization setups when several virtual functions > can have the same BDF, e.g.: > > PS > Get-NetAdapterHardwareInfo > > Name Segment Bus Device Function Slot NumaNode > PcieLinkS

Re: [dpdk-dev] [PATCH] bus/pci: support segment value as address domain on Windows

2020-09-10 Thread Menon, Ranjit
On 9/10/2020 12:30 AM, Tal Shnaiderman wrote: Subject: Re: [PATCH] bus/pci: support segment value as address domain on Windows On Tue, Aug 25, 2020 at 02:43:16PM +0300, Tal Shnaiderman wrote: Set the domain value for rte_pci_addr probing on Windows to the value of the PCI segment returned by

Re: [dpdk-dev] [PATCH] bus/pci: support segment value as address domain on Windows

2020-09-10 Thread Tal Shnaiderman
> Subject: Re: [PATCH] bus/pci: support segment value as address domain on > Windows > > On Tue, Aug 25, 2020 at 02:43:16PM +0300, Tal Shnaiderman wrote: > > Set the domain value for rte_pci_addr probing on Windows to the value > > of the PCI segment returned by SPDRP_BUSNUMBER. > > > > Signed-off

Re: [dpdk-dev] [PATCH] bus/pci: support segment value as address domain on Windows

2020-09-09 Thread Narcisa Ana Maria Vasile
On Tue, Aug 25, 2020 at 02:43:16PM +0300, Tal Shnaiderman wrote: > Set the domain value for rte_pci_addr probing on Windows > to the value of the PCI segment returned by SPDRP_BUSNUMBER. > > Signed-off-by: Tal Shnaiderman > --- > drivers/bus/pci/windows/pci.c | 4 ++-- > 1 file changed, 2 insert

[dpdk-dev] [PATCH] bus/pci: support segment value as address domain on Windows

2020-08-25 Thread Tal Shnaiderman
Set the domain value for rte_pci_addr probing on Windows to the value of the PCI segment returned by SPDRP_BUSNUMBER. Signed-off-by: Tal Shnaiderman --- drivers/bus/pci/windows/pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/bus/pci/windows/pci.c b/drivers/b