From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2Ebg6Kf67gR3QedjQzYr2P57KDyW4bgthNNOk/bS3Yk=; b=gyMgGOw3Rc7fexxm07vRpMvEDlp+u1uEYRHly5g3mfHPWpP5gXJZX6/QkpFvw7lQTc r4jmpLms7zBUTKbkNkzaqL9yEKImSqUonxYhhGmvY26Kt6omw621Tqk+vL6UcZZWZ1ir jGgD7J+shucD8vFutR1YtlF2vsTkfzgWkcXa6HXaJvqydVASQmcz2PJSyjmgat9QOso0 edapdxKamt7C4ja1wW4DCDzjXXby28TGOHEOgnLygtLr4MLbtnYZXp81ss9pw2tzqQPG zmXRA70m/FenAglfOKBePSt3Ah8U9MCSgnoEfABjQ4fXq9YqAiDf/7NJSCPGDjT+XlQ0 BEuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2Ebg6Kf67gR3QedjQzYr2P57KDyW4bgthNNOk/bS3Yk=; b=FCsWr35SyQUsDrK/Yqf0JyXdFSvcXq5xRKIeyYx0N3/ZJ4JO7HYeXQEUNnMGEu4KZQ 0pSnbSGQ9FVwH3WXcE5h1yIMQga4acPXLQaMxpHUcIJ42hUyAZZqhagt9xWEgVrpEc0h xPhStvTTIaqZQvcsEGDoHaE2yNsj7CabySCeudaLP6sMtDK1JEw2OCeU+7waL38vWDYy xwAaWdArXGNGSYzOrD+Luhnmlzy51zbWZs1vZSoVb3Yto7N0t/Jbd68/XEbNprzUMcCr LYLwwwErGbuh8A1HIrtaofwYDr8vMdUr8iAPmKi73/IzXoZF86aldHRVkp3+XfCK+Gzg PFVw== X-Gm-Message-State: AEkoouvFZ4LDV8zFp8oebUoMEH4mCsYZL7kjca4NOV7fCU333Ifp2g5KDWKIgmOO0KsSrg== X-Received: by 10.98.22.212 with SMTP id 203mr9865066pfw.74.1469221964647; Fri, 22 Jul 2016 14:12:44 -0700 (PDT) Received: from xeon-e3 (static-50-53-69-251.bvtn.or.frontiernet.net. [50.53.69.251]) by smtp.gmail.com with ESMTPSA id u7sm19031044paz.45.2016.07.22.14.12.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 22 Jul 2016 14:12:44 -0700 (PDT) Date: Fri, 22 Jul 2016 14:12:59 -0700 From: Stephen Hemminger To: Sinan Kaya Cc: dev@dpdk.org Message-ID: <20160722141259.35ea0a7e@xeon-e3> In-Reply-To: <1469201650-32447-1-git-send-email-okaya@codeaurora.org> 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 Subject: Re: [dpdk-dev] [PATCH] ethdev: support PCI domains X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2016 21:12:45 -0000 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