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 2F48EA055D; Mon, 1 Mar 2021 11:08:25 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BA9524067B; Mon, 1 Mar 2021 11:08:24 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id BA04C4014E; Mon, 1 Mar 2021 11:08:22 +0100 (CET) IronPort-SDR: 54b6GRmGUZGZQEj7eTrAmU5avFauDFACfiiy3LmdlfjI8SMiu2DLQgTCaS2XFWd/P+8RSsUW2U U5vgJO5kDfgQ== X-IronPort-AV: E=McAfee;i="6000,8403,9909"; a="186531263" X-IronPort-AV: E=Sophos;i="5.81,215,1610438400"; d="scan'208";a="186531263" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Mar 2021 02:08:21 -0800 IronPort-SDR: cneEmeanU3E82w28BRbmbId4m+/oApl+cwsH6LDZBg9Cni9u3HNn+YJ52DPG7jDOUHrafy7tFj et3J44LEHm7g== X-IronPort-AV: E=Sophos;i="5.81,215,1610438400"; d="scan'208";a="406161553" Received: from bricha3-mobl.ger.corp.intel.com ([10.252.9.51]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 01 Mar 2021 02:08:20 -0800 Date: Mon, 1 Mar 2021 10:08:16 +0000 From: Bruce Richardson To: bugzilla@dpdk.org Cc: dev@dpdk.org Message-ID: <20210301100816.GB1251@bricha3-MOBL.ger.corp.intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Subject: Re: [dpdk-dev] [Bug 644] [dpdk-19.11.7]usertools/dpdk-devbind.py: bind NIC port to DPDK failed in vm. 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" On Mon, Mar 01, 2021 at 01:48:49AM +0000, bugzilla@dpdk.org wrote: > https://bugs.dpdk.org/show_bug.cgi?id=644 > > Bug ID: 644 > Summary: [dpdk-19.11.7]usertools/dpdk-devbind.py: bind NIC port > to DPDK failed in vm. > Product: DPDK > Version: 19.11 > Hardware: All > OS: All > Status: UNCONFIRMED > Severity: normal > Priority: Normal > Component: other > Assignee: dev@dpdk.org > Reporter: weix.ling@intel.com > Target Milestone: --- > > DPDK version:  > 19.11.7-rc1(cbcd84e3304f43623efe34236f548a1bdae68ca4) > Other software versions: qemu-4.2.1 > OS: Ubuntu 20.04.1 LTS/5.10.0-051000-generic > Compiler: gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2) > Hardware platform: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz > NIC hardware: fortville_spirit > NIC firmware: 5.10.0-051000-generic/8.00 0x80008b8a 1.2766.0 > Test Setup > Steps to reproduce > List the steps to reproduce the issue. > > #1.Bind nic port to vfio-pci on host > > usertools/dpdk-devbind.py --force --bind=vfio-pci 0000:af:00.0 0000:af:00.1 > Unrelated to this bug, don't use "--force" flag with dpdk-devbind unless the script won't let you unbind a port from the kernel and you are absolutely sure it is safe to do so. It should never be routinely used. /Bruce