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 829E0A04FF; Tue, 24 May 2022 05:36:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E631542B85; Tue, 24 May 2022 05:35:49 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id C6E3742B85 for ; Tue, 24 May 2022 05:35:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653363349; x=1684899349; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=zF27mMlf/kUbDCdth9ErFujwal/D+Gybj91c7MRK63E=; b=Zm0MuUOwoxfhrIzO4i0KyWADxGA7JjnLnDpq/T/suJKRm6Fz8X7r1/qG 9iG8JxD63kCuRg2aDSopUZhZoxl4WLc2xX3aayhIoAHmUEvKQ/unVcFPI d4dVKmB3+D9ypeUAgXcTHVUaIUszyVtb/dz6bylHmrq8S7TuSlc9XGHEB tIkChMhNvoy85R/rURZ80lzp8AetvSwN/krbKNLHek6vkSH6KptuQ50Rf 5OFHQ2hH0TDXpGd/4Hs9JrYQoM+I7arnrpklrOkOT97apsW14NhBcVCsQ wwtlnFbAgrTov1WUbqrndwZ8Sbz9HskL6UvHfR6UeDFZFP00IPrEzNIrY A==; X-IronPort-AV: E=McAfee;i="6400,9594,10356"; a="273533651" X-IronPort-AV: E=Sophos;i="5.91,247,1647327600"; d="scan'208";a="273533651" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 May 2022 20:35:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,247,1647327600"; d="scan'208";a="745047037" Received: from dpdk-dipei.sh.intel.com ([10.67.110.238]) by orsmga005.jf.intel.com with ESMTP; 23 May 2022 20:35: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 v10 10/13] usertools: add support for virtio blk device Date: Tue, 24 May 2022 10:48:14 +0800 Message-Id: <1653360497-18080-11-git-send-email-andy.pei@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1653360497-18080-1-git-send-email-andy.pei@intel.com> References: <1643093258-47258-2-git-send-email-andy.pei@intel.com> <1653360497-18080-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 Acked-by: Chenbo Xia --- 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