From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f178.google.com (mail-pf0-f178.google.com [209.85.192.178]) by dpdk.org (Postfix) with ESMTP id E6B999135 for ; Thu, 25 May 2017 01:40:16 +0200 (CEST) Received: by mail-pf0-f178.google.com with SMTP id e193so149738687pfh.0 for ; Wed, 24 May 2017 16:40:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:mime-version :content-transfer-encoding; bh=L6OJrH+lkFKmeJjvgTx+AOhs5+M2pb2w4z+LlrGzN7A=; b=1FsmYCqWATC5ssFRPXfG9hQCBXkASNKRaa1ippEenOtDdCqc0fR9KbEzF0ejM0pIeI THcMEr/haNsvfjaPQcKOOxw6chp/Ck9rWr/eYPdplUaQo66z4e5/JNRgze1hfeUQI1z+ UimDjvoK1Jdl3vinA5SRqCw2HUQpy4jzNaV1cGS8OvM/0rkKlFfNjdruprEF1kKrn0SO tdkCZYQa+0vkIzhrRMHtIkkBeKI7OA8sGWPWwaBMDFlu8wnno9Lst5VQWgdmbXSoJuYh fr4Tw7uBauFKOdhZWHYe8fk3UxQFCwb6Bub0lLyqarp/zmHAXayYaXs1mXAA/9fwSvKq d+qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-transfer-encoding; bh=L6OJrH+lkFKmeJjvgTx+AOhs5+M2pb2w4z+LlrGzN7A=; b=BI5fSvSqyLCqsYBLWt55IyHRJySdkrJE7c2JmzvydtG/+wneO7VFoSMWnFhK5205hx gcbyobQYwN7w2d6gib5EC8gRfEU/4Pl2mCyPKzzS/mhg1WS4KdO+uVQZ399YK/Hic6WR IVGoS51+ggi+bJSRFcUSYqsWM1bXUo9+2IMBeDHW68Jpce4hJ7oledMqiP8bqC6rS4T4 VPYEGjFdxX0r1GxhHFDyngYqZstueR4HGfJYSOGU04BACSro031+0WbizRoT6RHHB+TW lo4+hnxmsQ/VJAdWvmwUiV2wwNg3XufzMrDYlxA0qj3TIc33xBKtnizXQlIVmMSoLf+t 6m6A== X-Gm-Message-State: AODbwcBx5aBsBlOnDWVk1zEOYIQfiydr6bsexaj6PuuIcM8tpPcguV3w VS9ED3mzwlj36xUkJCOhdg== X-Received: by 10.99.167.78 with SMTP id w14mr15047238pgo.228.1495669215793; Wed, 24 May 2017 16:40:15 -0700 (PDT) Received: from xeon-e3 (76-14-207-240.or.wavecable.com. [76.14.207.240]) by smtp.gmail.com with ESMTPSA id h62sm10228995pfj.0.2017.05.24.16.40.15 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 May 2017 16:40:15 -0700 (PDT) Date: Wed, 24 May 2017 16:40:08 -0700 From: Stephen Hemminger To: dev@dpdk.org Message-ID: <20170524164008.4d4e8e7b@xeon-e3> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [dpdk-dev] PCI domain size 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, 24 May 2017 23:40:17 -0000 While working on SR-IOV support on Azure, it was discovered that some applications and drivers do not support full size PCI domains. On Azure environment the PCI pass through device has a synthetic domain value (ie generated by host) which is > 16 bits. The common PCI utilities (pci-utils) and Linux kernel both support full 32 bits but DPDK does not. FreeBSD also supports 32 bit domains. Changing the one place in DPDK (rte_pci.h) in source is trivial but of course it is a major ABI breakage which is a complete flag day. I.e no binary compatiabilty is possible.