From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E84B4A0C5B; Fri, 27 Aug 2021 23:41:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AECB84067C; Fri, 27 Aug 2021 23:41:14 +0200 (CEST) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) by mails.dpdk.org (Postfix) with ESMTP id 7FE0A40150 for ; Fri, 27 Aug 2021 23:41:13 +0200 (CEST) Received: by mail-lj1-f177.google.com with SMTP id h1so13793211ljl.9 for ; Fri, 27 Aug 2021 14:41:13 -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=Yh2thMFmCctNKZljRcr0uJ6F9txEXu3pNXJlFt28tpc=; b=c1NQWP5PGxAZpw3I2fwq77ywaXAzbhYI6SxCiIQK0xyBuiAQHDvyVOUqiUR50XgJGb lB7bcgSEulPCIANOHvL1TuBrgVwIdiWkQbcZ/t92cJM/ODCV5omIOEeSQkMCKOhUyGkb TBdF97VO8STaHgYmrFSDHH5zjwiHiDPt6mhB+tdN9vxCWjBHsMbKNQrBRKACf672294d QqBk1nRgwc1MiUsv4XB+Lahy0oqFwWZWdEl4F4Ce2qOQKhDY4oxEa0of5ye1vrJHfeKf TVDTn2E35BG8k+RNeqyJ3lj4mu9BSBE969zlQxfikSV7jAoEdeWVZb182fERggGtA3dw kURA== 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=Yh2thMFmCctNKZljRcr0uJ6F9txEXu3pNXJlFt28tpc=; b=p1I8ypCgjupA9cHtzolfkNfiIlF+UgYW8bTKshOl/fJ0FZjikRKtpsO9SD4cglliUE ry7qGrPAYBygpYoGzyufUCA8rDgJg5Q21ize8uxnHEeOlgga/+i1PAfds8Tcmq+f8a3w X0mFdvRQuabUZ/fLYW+O2j8MD+gjgxV8aKI8Q3AJBwe+1e5uvkKJkTN5TKVYWpgUjL/Q wXdr3hy43YpKhEDS/t4Ha0ikuQ60aMxaOVMaZAx9kMITUb1vl1MpUjvjFeDsUcnDlsAK oK9L9g0aVFTO2Wb3qTr3U0MRaUqil+C3ZQtoG5yt3FtDakW+u8qIlpmQlJmautgEEWE/ +i0Q== X-Gm-Message-State: AOAM533hr/FclThd09f3BW4LMJNuZukcCczYZQEIzyETc5t72lhyQcVq dogHYwwqcMe1B7jpIGOe4nI= X-Google-Smtp-Source: ABdhPJx7UUzYSIv0x7d09gfTlkiiQ2xtBwRrgDlcRZqmcHPyls5008nBU3s/hJmgAmdPKn1kfJ8NOg== X-Received: by 2002:a2e:9953:: with SMTP id r19mr9461945ljj.270.1630100472987; Fri, 27 Aug 2021 14:41:12 -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 k35sm696977lfv.227.2021.08.27.14.41.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Aug 2021 14:41:12 -0700 (PDT) Date: Sat, 28 Aug 2021 00:41:11 +0300 From: Dmitry Kozlyuk To: William Tu Cc: dpdk-dev Message-ID: <20210828004111.33a78933@sovereign> In-Reply-To: References: <20210827031853.214ca205@sovereign> X-Mailer: Claws Mail 3.17.8 (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] DPDK 21.11+ Windows Roadmap X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" 2021-08-26 19:31 (UTC-0700), William Tu: > Hi Dmitry, > Thanks, I have one question. > > On Thu, Aug 26, 2021 at 5:19 PM Dmitry Kozlyuk wrote: > > > > This roadmap has been discussed on Windows community calls Aug 5 and Aug 19 > > and it met no principal objections. It extends beyond the nearest release, > > but it is useful to have a comprehensive backlog in one place. > > > > In 21.11 it looks realistic to have: > > > [...] > > 4. Miscellaneous > > > > 4.1. Refactor bus/pci (DmitryK) > > > > Currently netuio maps BARs at PCI bus scan. This is against DPDK model > > and can break certain scenarios, like running apps with different sets of > > available PMDs. PCI bus driver code must be refactored. > > Can you elaborate more about the "against DPDK model" and the > scenarios it might break? > > I thought it's common that when a driver loads, it scans PCI configuration > space, and mmap BARs. So I'm curious why it's an issue for DPDK. Bus scan stage extracts information required to find the relevant PMD (PCI ID) or to filter it using -a/-b options and to properly map it (kernel driver, NUMA node, etc). Mapping BARs happens on the probe stage if required by the PMD. Neither scan nor probe should keep device handles/files open indefinitely if probing fails (on Windows it means the device cannot be removed or bound to another driver), which is what scan does now.