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 4C104A0524; Fri, 19 Mar 2021 16:24:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 26020140F6B; Fri, 19 Mar 2021 16:24:31 +0100 (CET) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id 47F5040143; Fri, 19 Mar 2021 16:24:30 +0100 (CET) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id E25815C00F9; Fri, 19 Mar 2021 11:24:29 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 19 Mar 2021 11:24:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm3; bh= +mKt8w9KMsd2Wtv+QAg9ZsKnLmn0j7efN5/U+ojpfME=; b=bGEU9dik1LRUHz50 fb0ZYyi8GP08VMA0qm8OgY+Yq8oMF3oWt8n/+v90CyQygkuEJv4NhrgpFBvcnjim /e3AlWh/Q6JERY8LFnFzqTgpTpY7PReqJOUhI9zXn2HGvaKkrCN/PmUZ2XLVVTu6 hLr1WZL4EdBHuKDf/nf4jjyUrfAdKHDSyXoH9FLHDdIcbbtDfe7GhGmkuM75MQqv zli2bPXfb4JZOnxXwTCaODoX+9aGNIL2UTvepbm4KPPWzifQXtGL8aP7J9xWmmqW Y8CWOYgEhFy8ktYo6DB9Tsz/I+siyeMsq/lvY6I8DPUVPnYEq5Jvxs7p4fmgmZWh vTc6aA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=+mKt8w9KMsd2Wtv+QAg9ZsKnLmn0j7efN5/U+ojpf ME=; b=ilf9xRiC6JXoFFzHcS7KgJZHXkpZCbqxPX2/91kiM6aTxv4QessONf6we BElxzTTCCHnSZwPMSyJINw+yoI09a1p+aASm/hC6ilCa1mkVp6yAthJk8VopkW+n DWcFfwEd+Q+/6/ieZdGwUZBzfw3UiXyBngDKpzIfl2Q8o/tLJFdMiQmho3R2FZ8T BQEist2x+OM+gE31wKCgRW6C/KoULKjJcRj+Yjo/ANANly2Sg+Vfc4SGwsEERSOd hf2C7OMvE5iz1V++X57Wtr7QXBXu4bSvD8vBlj2kOrl2RV3eoExX1QbxH+zuFhAZ lQdUF1cupjbphvyWswGIM02W8y64A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudefkedgjeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 2CC3724005C; Fri, 19 Mar 2021 11:24:28 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: dmitry.kozliuk@gmail.com, stable@dpdk.org, Tal Shnaiderman , Narcisa Vasile , Pallavi Kadam , John Alexander , Ranjit Menon Date: Fri, 19 Mar 2021 16:24:27 +0100 Message-ID: <5332828.2QQVoecWZS@thomas> In-Reply-To: <12081b05-cf28-7730-320e-d86477bea3d5@intel.com> References: <20210316231153.724029-1-thomas@monjalon.net> <20210318104807.1882334-1-thomas@monjalon.net> <12081b05-cf28-7730-320e-d86477bea3d5@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] bus/pci: fix Windows kernel driver categories 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" 18/03/2021 23:07, Ranjit Menon: > On 3/18/2021 3:48 AM, Thomas Monjalon wrote: > > In Windows probing, the value RTE_PCI_KDRV_NONE was used > > instead of RTE_PCI_KDRV_UNKNOWN. > > This value covers the mlx case where the kernel driver is in place, > > offering a bifurcated mode to the userspace driver. > > When the kernel driver is listed as unknown, > > there is no special treatment in DPDK probing, contrary to UIO modes. > > > > The value RTE_PCI_KDRV_NIC_UIO (FreeBSD) was re-used > > instead of having a new RTE_PCI_KDRV_NET_UIO for Windows NetUIO. > > While adding the new value RTE_PCI_KDRV_NET_UIO > > (at the end for ABI compatibility), > > the enum of kernel driver categories is annotated. > > > > Fixes: b762221ac24f ("bus/pci: support Windows with bifurcated drivers") > > Fixes: c76ec01b4591 ("bus/pci: support netuio on Windows") > > Cc: stable@dpdk.org > > > > Signed-off-by: Thomas Monjalon > > Acked-by: Dmitry Kozlyuk > Acked-by: Tal Shnaiderman > Acked-by: Ranjit Menon Applied