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 9C1D9A04FD; Mon, 23 May 2022 09:43:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3DEB64014F; Mon, 23 May 2022 09:43:28 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id D79BB40041 for ; Mon, 23 May 2022 09:43:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653291806; x=1684827806; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=SamiHznBi+xU5l6RGZJC5id6i5IZ7+vHwHS/CBwlnCA=; b=ORSzRXBBzzKOrQj4TBgsDoAGj7Q+tYm9iBbHAJ0jaEkn4tjNIuKVK4yi +AbmimEaNA4PRy3lm6+LFGGoxruamrVgBMwnQt34nK6jtVQCmmHLAv5mw V1Bbprqyy2MkHWPSHY/qdpIlzqLJib/VmBuN4egKxjAb/183mvskluPXx DUbSVeoBQDxg6zZa4rC8U/VesW5IwUvrq105bOSGVySpS+IBKfVnLqhFU gyLiRUmWlz5EwLA6Vu+za8AgWRvGx5hTfKAN7PFLtX2F9a9K/1uL18ud3 GGKQRyRwz+v3xuqTyngK1clzM9y27BR9Vy5CVwuM2Uynvg0AOlnWf94xF A==; X-IronPort-AV: E=McAfee;i="6400,9594,10355"; a="270708898" X-IronPort-AV: E=Sophos;i="5.91,246,1647327600"; d="scan'208";a="270708898" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 May 2022 00:43:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,246,1647327600"; d="scan'208";a="558520623" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by orsmga002.jf.intel.com with ESMTP; 23 May 2022 00:43:24 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 23 May 2022 00:43:24 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 23 May 2022 00:43:23 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Mon, 23 May 2022 00:43:23 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.45) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Mon, 23 May 2022 00:43:23 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n8EGADzTl054WHBLQoMhMjyjfxx2k+WB+kqzLiharjJOwycC4s/tV2lzPm56UXdY+YGOidug9YXdAYn9ploxVjRPTZI7o3DBxNGewAjj550EZrfQpJGVFRrq3r3+l9P7LRxa0rOEY+s8DLWDSLpkqwvJZAhJFDAzFHnX/Bf12wfLir7NkWVoBurilNKoNssejM+XcPJpEC5YH/+ntUktbdSu/uYU+pe3lu+rVSaWY4t2glr3wZJaAQ3lOGp/gpiZiunOG4MM/mTawwttRi+IA4n5GxnJK3LyxEsp1lX9WQH0NmC1YiM5GUJPH6MYBUpyZJGPHtq8GGreyflM5yYHPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=LxAm6RPmC3o8PG9EbgXqG5yUzwvB9VEO1nOmLsiaJ1Y=; b=ZUabTDUqd+0hKr+LXZFACi9G6TIdtyn3saupXajByGTRUr+J+AeGXQBkjpptGEriVvnLqVni16DsIKhzRGmhuw6SjE3GHD0D/w5njkeSWnohR6X7LrXGD0yoOX19L4hsnIRuxMYWExafY5pnI9K4STZmFS6pidRuABCCu3/tOAWm14tdmprzEsmM62rJIBgXdVF2jV+FfRfkQIOyg8AT/dU4SNF5+yTUDI49YNAeyRAUXjbZ22aERuIw1LiWETIlcHPdRGoOHqMjbueMRVeL99JAfpG+FA/S7L7q5jLKre6halCbv1fpbGHjBnp2Ou1/HHLNs+Ban7A74jni3nSNQw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SN6PR11MB3504.namprd11.prod.outlook.com (2603:10b6:805:d0::17) by SA2PR11MB4812.namprd11.prod.outlook.com (2603:10b6:806:f8::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.15; Mon, 23 May 2022 07:43:22 +0000 Received: from SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::54e1:e802:17c8:93f]) by SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::54e1:e802:17c8:93f%7]) with mapi id 15.20.5273.023; Mon, 23 May 2022 07:43:22 +0000 From: "Xia, Chenbo" To: "Pei, Andy" , "dev@dpdk.org" CC: "maxime.coquelin@redhat.com" , "Cao, Gang" , "Liu, Changpeng" , "Xu, Rosen" , "Xiao, QimaiX" Subject: RE: [PATCH v8 10/13] usertools: add support for virtio blk device Thread-Topic: [PATCH v8 10/13] usertools: add support for virtio blk device Thread-Index: AQHYardZYojdb426QU+O3RIHi97dYa0sG/mQ Date: Mon, 23 May 2022 07:43:22 +0000 Message-ID: References: <1643093258-47258-2-git-send-email-andy.pei@intel.com> <1652876035-70513-1-git-send-email-andy.pei@intel.com> <1652876035-70513-11-git-send-email-andy.pei@intel.com> In-Reply-To: <1652876035-70513-11-git-send-email-andy.pei@intel.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ca8b9f0d-5bce-4e9d-a60c-08da3c8fe9e3 x-ms-traffictypediagnostic: SA2PR11MB4812:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: BGzGF9zECtVMDHbAHLvarP7PMFI9bI8SVp7BbhWXKUkryRVkeTeGlgMqaB21pkjq9f772nfSfIl1F0KXrRumI0LVCCN+YsX43phUX91wUDERl0ro+93mxz3XC/o/UYJJtBpVhiep9ht//AV7UsJbT5gBcAtEmIGowZrX+UlCZ9YLlSombmb3ZqFMTHsOZM6fiHpSJKiVGZQNqpGJK6x2QEdPY0q5BQEZURhUucsh/TDQCZOsz6xz37jOJZukqaCyRCbwLB+c9tYQEEGuQABLUiz96wwZqFxrEBS9EU/LH7etFdMGWGdZAz/53RzCXS/vR6SrhSABdIwKYpgR5UvdIr6E6T/pAeqSoQ8J+0X0XsIBTdj1z4tvaAC7vJzImfGo+I6ZfovCVYjgez+yAr+NkVkhOSfpu7TJVY4Mr7UKsetywLyDFoYGdblJt+TROlH0cur6pvO99kOckh49rymUxhlitfWUfWaupem/DvYR4EwNilpr0g/HW7LjOa/0U/pYlO/VrSmLgD2+J5plQ+amrfX1QlUBCjasHOkcys2cKjDqUYu4l/30bIUewbQ/ALntWQPnh5kgF31HC0ukZYOEbW37TlrzSJ7c4CttBrbyZEBFd3Trc6eyYoLsCqmYaJb4P2GdgY9u/jrg2F76jbd0g1l1doTJNijiz2f4NIPjXABM03kdY+H/XU2SRT4B2uh5Ora6nX4zH5XRs1cgZb4xjw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3504.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(71200400001)(38100700002)(33656002)(83380400001)(26005)(508600001)(107886003)(2906002)(8936002)(9686003)(186003)(76116006)(110136005)(6506007)(66476007)(54906003)(52536014)(66946007)(86362001)(122000001)(7696005)(5660300002)(53546011)(4326008)(8676002)(316002)(66556008)(66446008)(64756008)(55016003)(38070700005)(82960400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?0RA92ZAidCfEVauyKxN2ACL9ubm5nng6Ld27NxFXCP5yy5DeRxVtoL6Trzja?= =?us-ascii?Q?DjuUOeHCYHCjsjV8F5dxisYB1JHj1T7hJ4Zu1aWAmJcV7AJb8CB8eQx+78LJ?= =?us-ascii?Q?wxrRdS6/uPRzJiMb48oOTcRUgVAdEZZNnlyEMLth/U+OZ5wsns5csVAD41t9?= =?us-ascii?Q?Z237kLTVLSiBNgWdBU0IrwTrbtF2tVa4oC2B0P8QcWe0YUU/Im15F+jMm7iv?= =?us-ascii?Q?IsyNnyk1T2at1kdXBniozPDkYRuQlhpDCw6mIMpZ8pVW5XGDNcaOUStAR5zQ?= =?us-ascii?Q?TKMYCcXhXddBV9QDJyGpodNkrSt9WRgb6aueahr34eNCtedf6+3r8zFJKyhM?= =?us-ascii?Q?KLV53tNJoTaNSzBcvOAsMkwGufMf6WSNvnYVFA31bmdv2XoDvI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h3Q0Jyo1xg1qWpeY6xODYqzjVObA3lj1WbV3cs0Z?= =?us-ascii?Q?ITw6/sNVHJz+fqcSPax1PyvPNf6OeIzXABNiX7oXW/riElrRYIFxcklCt0Bm?= =?us-ascii?Q?Xwk8XRGmwJJ9bdJ3v4qmd/TEIGTlkThTxcVBwJo0BDF5PcJfgu8Bj9yNadps?= =?us-ascii?Q?V+dJAcaN5ae/WMavqjiQTbloyufgcloTFAF61y9glCiVLEiFygGctfyznrGP?= =?us-ascii?Q?Yb0JxdvfEZxWxfgy1jpaPQZ8g/OrziltRmDm3yIiRuoyARvzF13dC5rtHsZQ?= =?us-ascii?Q?dCQcNaxxHD5n+oa56cDYg/OdqMRSWypjeA69YBkbatDz7zh9Ho5sIDFDM4Lt?= =?us-ascii?Q?a5f/erJqEk/azuuCmE3gY2JAzae0LIZH9pZXREAUYNi7HhdP9CtlgEZ838SH?= =?us-ascii?Q?68qnZnoliiGe6Z0GCGORp5HPCCMImdgePOT5IulERKiQMDYS86N1aYbgbmyt?= =?us-ascii?Q?NNqrTuktag=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB3504.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ca8b9f0d-5bce-4e9d-a60c-08da3c8fe9e3 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 May 2022 07:43:22.7878 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: BydZAqfXGWtnN4/BBN/8DMD8SrOYFGK3Da0YUxuTYn+XdhbzA2flMOHmbX9Vfcq/wjJhod5xmVYBo/EMbTWreA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB4812 X-OriginatorOrg: 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 > -----Original Message----- > From: Pei, Andy > Sent: Wednesday, May 18, 2022 8:14 PM > To: dev@dpdk.org > Cc: Xia, Chenbo ; maxime.coquelin@redhat.com; Cao, > Gang ; Liu, Changpeng ; Xu, > Rosen ; Xiao, QimaiX > Subject: [PATCH v8 10/13] usertools: add support for virtio blk device >=20 > Add virtio blk device support to devbind. >=20 > Signed-off-by: Andy Pei > --- > usertools/dpdk-devbind.py | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) >=20 > 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 =3D {'Class': '08', 'Vendor': '177d', 'Device': 'a0f4', > 'SVendor': None, 'SDevice': None} >=20 > +virtio_blk =3D {'Class': '01', 'Vendor': "1af4", 'Device': '1001', No modern device support? Thanks, Chenbo > + 'SVendor': None, 'SDevice': None} > + > network_devices =3D [network_class, cavium_pkx, avp_vnic, ifpga_class] > baseband_devices =3D [acceleration_class] > crypto_devices =3D [encryption_class, intel_processor_class] > @@ -82,7 +85,7 @@ > compress_devices =3D [cavium_zip] > regex_devices =3D [cn9k_ree] > misc_devices =3D [cnxk_bphy, cnxk_bphy_cgx, cnxk_inl_dev, > - intel_ntb_skx, intel_ntb_icx] > + intel_ntb_skx, intel_ntb_icx, virtio_blk] >=20 > # global dict ethernet devices present. Dictionary indexed by PCI addres= s. > # Each device within this is itself a dictionary of device properties > -- > 1.8.3.1