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 9A5D3A04FD; Mon, 23 May 2022 12:23:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9863B4067C; Mon, 23 May 2022 12:22:58 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 5E8B542B81 for ; Mon, 23 May 2022 12:22:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653301377; x=1684837377; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=+r6J8piZ0RfOHC/3sweboySSsMyjxytDBfbcG9Xta1k=; b=PemOAlx+SYTFtDD8yaU/z3WCe+hxXWnzsXJ1t4oN17ddYMp7XrJDMpD8 GGc67feD2IWs0ICg4/RhEbBAsXafkGD+gfnbn+S7ZIWTuutnQUs6Y62Wd BwYpC2m68nivWDS06fxPvN499JKkdKh5ZCwcgjKrkjATr+Szu1sTh1KgW x1n6iAzUcAayLRXe0rj6twIE5A1QmBkmp7FJQS2iq1P4GnOQ2NbmtIPmA JqGrexqRqxQNPMm4EjSv9W6fnuyt4qG0AnRQo/vmWw+tQEqR4fJm05R6y +ooQzOyeOS4FLLxSnW7cEWYKo6Al9YEUC7hI9R39KZyVJIxnMo8+Uyp6o g==; X-IronPort-AV: E=McAfee;i="6400,9594,10355"; a="255239386" X-IronPort-AV: E=Sophos;i="5.91,246,1647327600"; d="scan'208";a="255239386" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 May 2022 03:22:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,246,1647327600"; d="scan'208";a="547889503" Received: from dpdk-dipei.sh.intel.com ([10.67.110.238]) by orsmga006.jf.intel.com with ESMTP; 23 May 2022 03:22:54 -0700 From: Andy Pei To: dev@dpdk.org Cc: chenbo.xia@intel.com, maxime.coquelin@redhat.com, gang.cao@intel.com, changpeng.liu@intel.com, rosen.xu@intel.com, qimaix.xiao@intel.com Subject: [PATCH v9 10/13] usertools: add support for virtio blk device Date: Mon, 23 May 2022 17:35:21 +0800 Message-Id: <1653298524-232138-11-git-send-email-andy.pei@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1653298524-232138-1-git-send-email-andy.pei@intel.com> References: <1643093258-47258-2-git-send-email-andy.pei@intel.com> <1653298524-232138-1-git-send-email-andy.pei@intel.com> 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 Add virtio blk device support to devbind. Signed-off-by: Andy Pei --- usertools/dpdk-devbind.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py index ace4627..18c7d67 100755 --- a/usertools/dpdk-devbind.py +++ b/usertools/dpdk-devbind.py @@ -72,6 +72,9 @@ cn9k_ree = {'Class': '08', 'Vendor': '177d', 'Device': 'a0f4', 'SVendor': None, 'SDevice': None} +virtio_blk = {'Class': '01', 'Vendor': "1af4", 'Device': '1001,1042', + 'SVendor': None, 'SDevice': None} + network_devices = [network_class, cavium_pkx, avp_vnic, ifpga_class] baseband_devices = [acceleration_class] crypto_devices = [encryption_class, intel_processor_class] @@ -82,7 +85,7 @@ compress_devices = [cavium_zip] regex_devices = [cn9k_ree] misc_devices = [cnxk_bphy, cnxk_bphy_cgx, cnxk_inl_dev, - intel_ntb_skx, intel_ntb_icx] + intel_ntb_skx, intel_ntb_icx, virtio_blk] # global dict ethernet devices present. Dictionary indexed by PCI address. # Each device within this is itself a dictionary of device properties -- 1.8.3.1