From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: [PATCH v3 0/3] pci: handle 32 bit domain values Date: Wed, 5 Jul 2017 09:55:30 -0700 Message-ID: <20170705165533.20581-1-stephen@networkplumber.org> Cc: Stephen Hemminger To: dev@dpdk.org Return-path: Received: from mail-pg0-f41.google.com (mail-pg0-f41.google.com [74.125.83.41]) by dpdk.org (Postfix) with ESMTP id 148972C13 for ; Wed, 5 Jul 2017 18:55:42 +0200 (CEST) Received: by mail-pg0-f41.google.com with SMTP id j186so127078019pge.2 for ; Wed, 05 Jul 2017 09:55:41 -0700 (PDT) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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