bus/pci: support segment as address domain on Windows
authorTal Shnaiderman <talshn@nvidia.com>
Tue, 25 Aug 2020 11:43:16 +0000 (14:43 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 14 Oct 2020 09:03:44 +0000 (11:03 +0200)
commitc3adf8144a172902b51d273eca2765a1681b5cc4
treec4fc698382c854f34c0502ba6d2f01de0c345948
parent09f84c9a6a4cc1c0b723b8e0cc203f7d5070ebb6
bus/pci: support segment as address domain on Windows

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 <talshn@nvidia.com>
Acked-by: Ranjit Menon <ranjit.menon@intel.com>
drivers/bus/pci/windows/pci.c