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 1D4E8A0503; Wed, 18 May 2022 15:01:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CD4A440221; Wed, 18 May 2022 15:01:16 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 0A1EF4021E for ; Wed, 18 May 2022 15:01:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652878875; x=1684414875; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=1jsRjHf2H1JRmMIdLdkv2C6iAm7xMFkU5+GRJK/A/RI=; b=Nh/Uk9VCALZMKdrZCb8VRBxNFt7uVM2+PLwRoG+VhBhjW/rhJlwQbpDK uE9XbL6uH9hahnG1UsIaWhGwIK/EySrTVHU9LhTCmevV+ds9xnoqNDDGh pvRZ/c+jpKIGo3TWn44lmumDlgVMPaaf+K6f0/V87MFtTg905zG8ZFZJ1 +CtqDP1LcTl18D1U7zg331JlhqZerwk5bNsYnBEiPlVTqUWNmlzfxTeH4 rY/i/a+UVpsX8Ajt63ot4sD4kO8S3wos3edCLm1tmkXo+lZhMj2kfcnr7 nh3AucO4k4YeUlfiKikWnXTbCumGxrgneJfhK8WBoWvIdXuu2rMoZVvSU w==; X-IronPort-AV: E=McAfee;i="6400,9594,10350"; a="271353784" X-IronPort-AV: E=Sophos;i="5.91,234,1647327600"; d="scan'208";a="271353784" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2022 06:00:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,234,1647327600"; d="scan'208";a="556312426" Received: from dpdk-dipei.sh.intel.com ([10.67.110.238]) by orsmga002.jf.intel.com with ESMTP; 18 May 2022 06:00:46 -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 v8 10/13] usertools: add support for virtio blk device Date: Wed, 18 May 2022 20:13:52 +0800 Message-Id: <1652876035-70513-11-git-send-email-andy.pei@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1652876035-70513-1-git-send-email-andy.pei@intel.com> References: <1643093258-47258-2-git-send-email-andy.pei@intel.com> <1652876035-70513-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..7231be4 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', + '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