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 5D8FAA04FF; Tue, 24 May 2022 05:06:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 815D5427F0; Tue, 24 May 2022 05:06:03 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 4EC56427F0 for ; Tue, 24 May 2022 05:06:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653361561; x=1684897561; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=NdJz9c6XRbSsa8ax1mBtVQ9UzLFflo+rkx/83bG/9PE=; b=BADaPRvDUaS1rsVIPCFPlHiopMi1GoeU0TiSORb7hBX28q+eRRk1WvQ5 V1/wMhMRrSRUUW5xvjUvRzqIrYb4JxY4Te7WCsAWeeIFMKHaG2gihUjoh JPo9gRzfY+Y00CodR5V/wj/uwIzzLdiqmyYqv2IoA10MX8WtB78srAx7x L/HJbpgOhwNORfes5E2ZgsmowcV8WKQywowtPSsYH4qPF4DpnYytHi/ge gWnLt2r/4jBTyRKtGdIGYQ/gVcIKCPrmpemy1p6YyH5sgDO2w26SkxJbs d9B8QJ28hgo5VJsbR96xG08gJ/Jj9P+qU1tmz8csg4Zf1SooAsSu0Raw7 Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10356"; a="253291026" X-IronPort-AV: E=Sophos;i="5.91,247,1647327600"; d="scan'208";a="253291026" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 May 2022 20:05:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,247,1647327600"; d="scan'208";a="608505517" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga001.jf.intel.com with ESMTP; 23 May 2022 20:05:59 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX602.amr.corp.intel.com (10.22.229.15) 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 20:05:59 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx603.amr.corp.intel.com (10.22.229.16) 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 20:05:59 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.48) by edgegateway.intel.com (134.134.137.103) 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 20:05:59 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J/eomzid46cUv6QjDC/JhASBZGSHfYqSYvCV/DsgKVjUGFDEcLGKNltLX2iNhMac2RCw6Nb/EO/F7o97Bbal+nZatnKm6umSXII40GkwtKMBqTJemcZ950pdXrdZTe3tUpymiVHLjBLO303Y6t4JMQHVGaWKKjEw1XQFVC02XWQ+d858BNBZwLTi/ih0W0a1lWUPZv52kP37A2uxkIA0+jYAou8mua91ulspovVITmb97FFUxfK1GZJCNu5N06Il0v7bP1hyY1At6oNiCV/Dbdfwz3FNIDgixspxMM1MpNN4K32wYMtOvXczTliWw860nWrt4DsDtsClnZ2UqRb3fw== 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=VBhZ6GyQMh1AoAg0HovvASZE2FSxWZTJZietW0T8p6M=; b=a7R1Xs3jVyxj6up4PgdIXClScgpDSk9qjjF/OwRadwx0O+NN1FatLjTdBWJ4JKAPka4F4HOwL2k4WW1M0akE2QKUBnm78d4ZGPV1h2zVR21iq2JNnGR6p1mpwi21jUfylcEHK1FNMDe0Rgj/CaoCe05MHY5k7adYiozBnT8oVmFHEtQPONoTvh6/wtb5E7w0EEGJQbBdF10PaU/OAhEvrk8uRdlxdCTewWVShw9/T5A6kBV2/8GHWJ1TcnZsvQeFl7qZ+AMaz01HYOntvNm2AefvnG3T9JlFuShyzra/A35wKdg6XJcWK3srFwwF93Z02iPM0pMGqd3W+vuzKH28Ow== 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 CH0PR11MB5267.namprd11.prod.outlook.com (2603:10b6:610:e2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.16; Tue, 24 May 2022 03:05:58 +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; Tue, 24 May 2022 03:05:58 +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 v9 10/13] usertools: add support for virtio blk device Thread-Topic: [PATCH v9 10/13] usertools: add support for virtio blk device Thread-Index: AQHYbo8W85Q03MwM1E6OhCwauaSl6a0tWSvw Date: Tue, 24 May 2022 03:05:58 +0000 Message-ID: References: <1643093258-47258-2-git-send-email-andy.pei@intel.com> <1653298524-232138-1-git-send-email-andy.pei@intel.com> <1653298524-232138-11-git-send-email-andy.pei@intel.com> In-Reply-To: <1653298524-232138-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: febbeda9-0c46-45d6-c366-08da3d325346 x-ms-traffictypediagnostic: CH0PR11MB5267: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: pEkFDMGGdig0b8axw5RiMZqByAynqMxneoRSoeNrHVsTGpv94Uvj3g76T7QxKhW/XnWdbaAJQzQk9X9oAQERhXGFWQKJrOwjmCurXwALN/nN6aZENG8fh+7uGWeecg0nRHiYpNwr8K18jj9JJuv3fyBqwPuMsxE/zMDMhtvLF+RaQ63qRqCu3+bn+2s5MmRwk7uDOe7iVhRx7VeCwO+lNbBxytz6a/0o7NCax4KktkokiaNlZf/G4gb654g2NVnBoODZmR2bIE4DyETYtt0JFz9b2xcyu5NxVYg3dKyL3c/g7vzOVmdWmKMOKxwgxgKhNAuU+Pe1pC8qmYAZMVltOjxp4Ta2q9Tt9K/WUDSsgflieAAZEPxsGkmkqwJOYnBsxvrmfeoYN9wUo1WW+sC/b9vF+VZvc8KOKEgvC7CbCEQo0AVM4AOBlPhxYierRGUgnvJr2y+kfqktvPwoDSYvv5pt7n5ydAtdseM+18t1HU39bKc+xpu/8SsLvWaeg/7Ed/fvC5LYU5Vwp0rK5fAY0bo+mdoVKujzH0dJp8VoYhpB79TBDjNIVy0V0fHwnPVZs2yotwWo9YLpaZCRTd+vPwdCOF0TTEIui7e33Z3PzN9XTcwmqgBmjBzD0aZfS7r/5TtCz0OnPDjRCYwvbphMEZw2SJECkMaHtzf3woGm9N3VfFhtMM9zEOrrWWXF8PI58vIz4nzuKygH9+MiQtwDeA== 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)(38070700005)(71200400001)(55016003)(122000001)(33656002)(82960400001)(52536014)(5660300002)(8936002)(83380400001)(86362001)(7696005)(9686003)(26005)(53546011)(6506007)(508600001)(2906002)(4326008)(186003)(54906003)(316002)(8676002)(76116006)(110136005)(66556008)(64756008)(66946007)(66446008)(66476007)(107886003)(38100700002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?fvn80ZCrwgNL8uCzgi46vqUkCGidfB13TZd0bG/3BIBY/wFdm+75ojkB6Dd5?= =?us-ascii?Q?5RBOFy1aBmPxObNLnOOS6wdR6fMfAWNR6tsUJ5F2BZFTVQeK+2apRM7pd6Mx?= =?us-ascii?Q?/lCfqyKgI/tqZ4I6wIGdu/V0bwLbnEq3MvSx/bkM4bFd+WqB40qnUUI/3/Db?= =?us-ascii?Q?Iu8mxS4wfKE5x32MV0HxPHlK4uhgQrn0ILcXWpv7bilpgjkh3/Th3I+VNU5q?= =?us-ascii?Q?4YX0vJnM5kOoLgWDQz8IzXfUz8b21Rv99LLW8uw4DIGMD8J/T5l4SyH7tSYJ?= =?us-ascii?Q?gZLvjwsOAWRFgxqCruQszkl0n024cDDr+17/NWduRPhy6AQVkjj56qvrFHQL?= =?us-ascii?Q?SP8GzYYCQEUH7tvz/g/IOB1uZCGmTiK4JsVykxXqyHgFCG999kWrnApVvnmK?= =?us-ascii?Q?kHVpaNrMYUFZDEudPl3TaxA/qukbuNk4SY2dsmhXvw72u82ZTblvpjCInH7U?= =?us-ascii?Q?wCrd3qW8J7bR6+wvkWflyN/RqwrFdk7boWwfsFeSL+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QLe9O/hN10AEyMfp1qlz62d6tXEcpDYUTtnWRfRcEeDG2R9f5f8ekvyIW?= =?us-ascii?Q?YykxK3AGE456czK/QstpmIgmWVafZcDNNIt/gYmulnM3YZr1EuQWqyflEKfT?= =?us-ascii?Q?VzOLvwh/QpQGBypTdOiZYOukuXiwwGBrBXJohw1FNU/3gQAj7dhPixKqp6qX?= =?us-ascii?Q?nnl8q91AAohNrk2HP666s+T89vDRMvELRCmFyCjbLu5kBAcsJu8PDYpuXsgX?= =?us-ascii?Q?55lqCUj90X9a+BvMFhA0HR2w4mxpr0PuSg7h/B6jT2E/DdrxuE99VIVBaGBv?= =?us-ascii?Q?u1Er5W6MxXIkjhq49c/ktnY/uxLPKE3u/lknz9RWp/Ns24uZS1iHwC0XvKKD?= =?us-ascii?Q?l1HxmD1izg=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: febbeda9-0c46-45d6-c366-08da3d325346 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 May 2022 03:05:58.0683 (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: 4Fa5feiHSMY+jAuhTz0IPG7SBpXp0OqEAC8xnlQ0HDrzZrNHCIH5KpJNqStlcwKNMtoxStf7mSfLfg1D4s04GA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB5267 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: Monday, May 23, 2022 5:35 PM > To: dev@dpdk.org > Cc: Xia, Chenbo ; maxime.coquelin@redhat.com; Cao, > Gang ; Liu, Changpeng ; Xu, > Rosen ; Xiao, QimaiX > Subject: [PATCH v9 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..18c7d67 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,1042', > + '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 Acked-by: Chenbo Xia