From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f171.google.com (mail-pf0-f171.google.com [209.85.192.171]) by dpdk.org (Postfix) with ESMTP id D375058F6 for ; Thu, 22 Jun 2017 17:56:49 +0200 (CEST) Received: by mail-pf0-f171.google.com with SMTP id e7so10580108pfk.0 for ; Thu, 22 Jun 2017 08:56:49 -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=0cVgv1YsF9Z7eFDRT3NB6xI98VF1LU9xb+dvCcCPgSs=; b=LoEyVwkaKZj/d9YGTYXjA7z/V2CrZ9g+6R0yQFdhQESIBjVmYdua/eO2w8cEEuyjJv WR6SVtoLFTARG0WQn9BLBHNEjQs/jBeoFMaGrsoxDYfAOB8qCPgB0rXyeuFGQzApc4nK ACpo4fiyzkUEDGR+lLtlfjvFvzfLmON86NHdImvVcbJusq6+9fywDfOM1F7gIxZBwSqa bf1jNnczXFoN22WUNfqhbFnnodk2uHJv5d1QB2pGaw3CWlpzMwVfm5g07NdY8j9IJ5U9 Y7HjQAQ7HGZ+FMaSHEHIo7jX0lt7IldyHQWfiNRcc25ptPqdS/DvmH3epcvY1MKhipwM vxZg== 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=0cVgv1YsF9Z7eFDRT3NB6xI98VF1LU9xb+dvCcCPgSs=; b=nFRcgrGjFfZNs7yDndqciDU/wlPxcnDAx6NfR4+RK0kMq4AHG3oy2E1Gtv5T+WdXPB RpUzaVXV5Z+i0O/KoMYUWJyrEwe6YPukyrgMC34fB8cm/KlqxZgSstQYMwPFu3NSGDAo VfuhwKlyL8yAaUPLrqKlJPaT4mMvROPQVDpNlagFsC2HqScIzYCmEvCTq0OzckuCs13k c48z2u5kly3ryjR255xKnZG028yboqBb3gzkyIcEmnfqxMoU7z4A+4BbuhCcjuEhJYgY EnN3Eqn5uaBQr5bLbAIfv4bkX//vD6NvCaHiav84JjQWpG/3JE7iIzsAvZxtSnROV3zP UWNA== X-Gm-Message-State: AKS2vOwsgtjkp0dHrXkCXFWbR8Ol6YmF6/f/yVbPxoX8vjl46PRnL+F6 DVOzaoqYCiSftwkNrMs+lw== X-Received: by 10.84.131.163 with SMTP id d32mr3747130pld.16.1498147008946; Thu, 22 Jun 2017 08:56:48 -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 y28sm4678939pfd.32.2017.06.22.08.56.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Jun 2017 08:56:48 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 22 Jun 2017 08:56:38 -0700 Message-Id: <20170622155641.25916-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH v2 0/3] 32 bit PCI domain support 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: Thu, 22 Jun 2017 15:56:50 -0000 The PCI address consists of domain, bus, device, function. The domain value is limited to 16 bits when received from ACPI, but on virtual environments the host may use the full 32 bits to distinguish direct hardware from synthetic buses. Stephen Hemminger (3): pci: remove unnecessary casts from strtoul eal: PCI domain should be 32 bits mlx5: handle 32 bit PCI domain 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 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) -- 2.11.0