Skip to content

pci: handle 32 bit domain values

Stephen Hemminger dpdk-dev 3 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyApplied
  2. v23 patches 6 repliesSuperseded
  3. v13 patches 5 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3pci: remove unnecessary casts from strtoullib/librte_eal/linuxapp/eal/eal_pci.c+4 -40 replies
2/3eal: PCI domain should be 32 bitslib/librte_eal/common/include/rte_pci.h+6 -60 replies
3/3mlx4,5: handle 32 bit PCI domaindrivers/net/mlx4/mlx4.c drivers/net/mlx5/mlx5_ethdev.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] pci: handle 32 bit domain values

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(-)
Signature · 1 line
2.11.0