[dpdk-dev] [PATCH v3 0/3] pci: handle 32 bit domain values

Stephen Hemminger stephen at networkplumber.org
Wed Jul 5 18:55:30 CEST 2017


Changes to PCI and EAL to handle full width of PCI domain
value. It turns out that PCI domain is only 16 bits in ACPI,
but some environments use the extra bits in PCI standard to allow
encoding of PCI buses that are outside of ACPI.

This version fixes both Mellanox drivers.

Stephen Hemminger (3):
  pci: remove unnecessary casts from strtoul
  eal: PCI domain should be 32 bits
  mlx4,5: handle 32 bit PCI domain

 drivers/net/mlx4/mlx4.c                 |  2 +-
 drivers/net/mlx5/mlx5_ethdev.c          |  2 +-
 lib/librte_eal/common/include/rte_pci.h | 12 ++++++------
 lib/librte_eal/linuxapp/eal/eal_pci.c   |  8 ++++----
 4 files changed, 12 insertions(+), 12 deletions(-)

-- 
2.11.0



More information about the dev mailing list