From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CA9CDA04B5; Thu, 10 Sep 2020 19:57:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4E2201BFA2; Thu, 10 Sep 2020 19:57:04 +0200 (CEST) Received: from mail-lj1-f193.google.com (mail-lj1-f193.google.com [209.85.208.193]) by dpdk.org (Postfix) with ESMTP id 36E6C1B9B7 for ; Thu, 10 Sep 2020 19:57:03 +0200 (CEST) Received: by mail-lj1-f193.google.com with SMTP id n25so9358302ljj.4 for ; Thu, 10 Sep 2020 10:57:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2CSrsltlhpm1QnOMy7n/Qb8aowoYGVa/5EbcXjRo8os=; b=AumMeU9n1hC9VBk6XIfmT7keJSwqdtLqEkfDcUeHCVYW5ndXnP/ld5bo2N5+5fdMnV oyJmRGHAU5HBF/7QutNTGjN8xl7mJdbrEcVfLsZN/yupY2GMccX1I4wm7xhSPbKex09V dMVrB1n1+aEu9EP/5nHeYlB8f5xGLoH6yUEe1jtbRS2unbG7D0++j1h/+Gw7vzGWz7Zw itvQPHr9VhHrjTbtfenYEtRiFy8XIDQtGlo6t6UM4yZBLkYnslzsaF1ldd1W+Pvonl5J a53psUXto9U9CYzZm1w/dAS7o4WxOV9VoznUlof+IHnILhvD4b5LQlrw6noKfqwbp8/X Q5nw== 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:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2CSrsltlhpm1QnOMy7n/Qb8aowoYGVa/5EbcXjRo8os=; b=cPMft4QsIHet6N8etBvvGtdPf6ZPTp3xNITFk4sIVa265Me/OHjE/J0QXt+f3XdHNI J6BUcqgXVYcqDfIkcld5RIr7518mQ34CcAgUUFBrT7F5l6zodqtPjRt/Aq7LYUY+SmRn Ol2yxeS+wzCrOMRo7u6Vb0X1j0XOXMOdAjt2F7wxV2cGl2/qTVEQupDX54Jjya1wCfQL OrfL6PuVBe0AqF3L4/gm+SSqtEGOpUj86i/y1wwSST/+/1B9Hn073w8AYuHvoeDqGIBv kdaawQH/ZXjcJUAI040o7XbPE30ZKML/2IeZnVe3IKjn7xnTW04X4bOqIQJDqhkwalA5 pF3w== X-Gm-Message-State: AOAM532Ln/AL5IqJlYQ4A5VzgHR2QpsNEDJ51k6vs5JrRYnthYov+7do 8ze4Hwcz4L4aJXj3igJO+JQ= X-Google-Smtp-Source: ABdhPJzl3/Jox0/hgiZbWEE3M85iAkDRO5NOffHXL4LP5QSquXFABJIXZh4pzBg1Kk7700U7fjg2fQ== X-Received: by 2002:a05:651c:327:: with SMTP id b7mr4967867ljp.140.1599760622666; Thu, 10 Sep 2020 10:57:02 -0700 (PDT) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id j23sm1758042ljh.96.2020.09.10.10.57.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 10:57:01 -0700 (PDT) Date: Thu, 10 Sep 2020 20:57:00 +0300 From: Dmitry Kozlyuk To: Tal Shnaiderman Cc: Narcisa Ana Maria Vasile , "dev@dpdk.org" , NBU-Contact-Thomas Monjalon , "pallavi.kadam@intel.com" , "ranjit.menon@intel.com" , "harini.ramakrishnan@microsoft.com" Message-ID: <20200910205700.2893a935@sovereign> In-Reply-To: References: <20200825114316.10712-1-talshn@nvidia.com> <20200909232121.GB13311@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] bus/pci: support segment value as address domain on Windows 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, 10 Sep 2020 07:30:39 +0000, Tal Shnaiderman wrote: > Right, it can happen in virtualization setups when several virtual functions can have the same BDF, e.g.: > > PS > Get-NetAdapterHardwareInfo > > Name Segment Bus Device Function Slot NumaNode PcieLinkSpeed > ---- ------- --- ------ -------- ---- -------- ------------- > Ethernet 0 0 10 0 Unknown > Ethernet 4 58601 0 2 0 0 Unknown > Ethernet 5 52956 0 2 0 0 Unknown > > DPDK currently can detect either Ethernet 4 or ethernet 5 if only BDF is checked. > Unix uses the Domain value, the equivalent value for Windows is Segment. Hi Tal, I wonder how exactly this setup can be reproduced, i.e. could you share relevant QEMU options, VMX file or some other config you're using? Patch idea and code look clear, however, I never managed to build QEMU PCIe hierarchy to see it working.