From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=L5BFTlBaQMl+N3mejC6OSJDPZWS/p7Fh5vzR/2sUtm8=; b=eYM5yUTTgWnATN6tngvP4IidUpGxuICFAZZGgF/5h8uP4DAn5m2kHp6VI7uwmM96U2 MBi3PWYl5+FiPzMtH1lqJCD7pN0pco+K20T3n8orV1UNw358xvoBVLewxikFI6n5bZ5o 37nUri4rQPWW221O5ENXYlsbgTPm/dArpZUtnheSW9UH7Y9gAtU5iY3xU7peMYz0qECB 3sdjgtEDaqQNavcoCLWWXGhNKj0YFuZQe38eMQcZpBBJCVecV5I2G1bqTMDiKkdJ7Wnq N0I6VOv2J2/NGxXxFCa//QNIGSXeStuY6ZKOsaDCFm20JULjAd7RBc2d1EbP+93fgDYt JVNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=L5BFTlBaQMl+N3mejC6OSJDPZWS/p7Fh5vzR/2sUtm8=; b=SDq+QaKzEFByrLNYTC0eDakwfbzYgHGiR1GfNV4Gr/hnUigV90FDTJhZiR6YE4fAul m3lYKljblEqD1EJ0aZ+N3Ay7i593z6MdlESe0FxyStRtTELUhY24JsC7HZJ3GFsEdofd 5RnM0plKiduIAchlGr0Wy+7iZ8HTLZpUa3GZcyrs1fDzYu9mbKfaBCmkoWuntHIXrE88 hsldr2rp3CT5eyC3+EkAJiXxJJ4WtAWPZffHw9+l60qQpknVYK+jdJqX7nlskZer3Juf H6Lk61VNyDRsRkefupGHHSjowZ0WwQvnbHuCfcTYUUU/c5/7BWqxKk2T7x3bZCprB7Is D1Sw== X-Gm-Message-State: AIVw111qJAo+J9ZDguOAecHNhdj57VOJHyL1vU13w1T0YsdjJXj8scuJ yoERhNpUlBKec0ukU+Aj5A== X-Received: by 10.101.90.135 with SMTP id c7mr22200689pgt.168.1499273741136; Wed, 05 Jul 2017 09:55:41 -0700 (PDT) Received: from xeon-e3.wavecable.com (76-14-207-240.or.wavecable.com. [76.14.207.240]) by smtp.gmail.com with ESMTPSA id o1sm47900914pgq.10.2017.07.05.09.55.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Jul 2017 09:55:40 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Wed, 5 Jul 2017 09:55:30 -0700 Message-Id: <20170705165533.20581-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH v3 0/3] pci: handle 32 bit domain values X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2017 16:55:42 -0000 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