From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH] ethdev: support PCI domains Date: Fri, 22 Jul 2016 14:12:59 -0700 Message-ID: <20160722141259.35ea0a7e@xeon-e3> References: <1469201650-32447-1-git-send-email-okaya@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Sinan Kaya Return-path: Received: from mail-pf0-f182.google.com (mail-pf0-f182.google.com [209.85.192.182]) by dpdk.org (Postfix) with ESMTP id 46EEA5684 for ; Fri, 22 Jul 2016 23:12:45 +0200 (CEST) Received: by mail-pf0-f182.google.com with SMTP id x72so44696654pfd.2 for ; Fri, 22 Jul 2016 14:12:45 -0700 (PDT) In-Reply-To: <1469201650-32447-1-git-send-email-okaya@codeaurora.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, 22 Jul 2016 11:34:10 -0400 Sinan Kaya wrote: > The current code is enumerating devices based on bus, device and function > pairs. This does not work well for architectures with multiple PCI > segments/domains. Multiple PCI devices will have the same BDF value but > different segment numbers (01:01:01.0 and 02:01:01.0) for instance. > > Adding segment numbers to device naming so that we can uniquely identify > devices. > > Signed-off-by: Sinan Kaya I ran into this yes. There is a small risk of breaking some application that assumed something about names though. Acked-by: Stephen Hemminger