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 D3F28A04FD; Mon, 23 May 2022 10:49:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7972D4014F; Mon, 23 May 2022 10:49:52 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 7525840041 for ; Mon, 23 May 2022 10:49:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653295790; x=1684831790; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=QM4K4qieP9uS9hnWtdyFG5EE1h9zlkyC0H+o5YNmO34=; b=aGWjXL5yY5xanheANI00+dLkZ1HO8F9gVew0mNbfgBWmznyZ2MufgIhx G0um8e9c8nLxMBLVOIpsbKQRa9K20KvcZUstC2pdkJwQV3pHM50bkOJDd 08tGpkCd6HOkqhYSm4PXt34TAVnxpuP0yLkJc81NNdbQSAiwLzZBzkSZj hzwmBu1iyxX0jNs0FUkXcNr/T8Z800CXy1gJcQR8du658GTIq1d9WEZvl kbZ4f08Y+GD2w/Y6jQZSQmOctyMntoXRxqLWR3WXMTTYEaZUQEVz2YdQ0 RSbZ89SD/XDO183NxV0VRJ9mEpa1auHyn4Zx+vkPYaiwrDR3S2xCU7zsP g==; X-IronPort-AV: E=McAfee;i="6400,9594,10355"; a="333796194" X-IronPort-AV: E=Sophos;i="5.91,246,1647327600"; d="scan'208";a="333796194" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 May 2022 01:49:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,246,1647327600"; d="scan'208";a="547854089" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga006.jf.intel.com with ESMTP; 23 May 2022 01:49:47 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx602.amr.corp.intel.com (10.18.126.82) 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 01:49:47 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx608.amr.corp.intel.com (10.18.126.88) 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 01:49:46 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx608.amr.corp.intel.com (10.18.126.88) 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 01:49:46 -0700 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.45) by edgegateway.intel.com (192.55.55.71) 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 01:49:46 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Gm+rdZgYqjgQlqbW91pLq8tcTuzDQdwlQUvWZ5i/wmO4ZmiiaHA6LuQIx7yy2jwqKvB10y7mnVADw3tLNkzN2aLYw5xxCMnJFXmHRKiQukSvmkQ7wh/n1KdQp6WTcqsqtwSSWdKQYaz7jfKdsK+BQQGiU8I2rj4eFjlBgED6yC/m4hPDz0mLKeVX/GHgaGqZ1j1L4sKxta/BVQhtCx14retcppjIssQyQIlWRfwUxGYb89wistIsm68ZixIUKE8Qb+3/V9030xkRMVsSdmdCM83bKnoswvWdcHhc4p+lRIevJK4VzgJRDYRSfEuyGLu80EAC0Xi/6e2T/s7x4Nm8GA== 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=7TAr7dDSfHphakKpwTQ0Dhtty3UxLzgGVKOPV9vZycI=; b=WzHMSu2+HbhXoZ7LFumTMbEY2c9zaUPbKKj4tsIK4i5FT+3KNASzCxQ4QGqCynHNNoE7JNnecp5ZghAVhwdJWA9ui4GQQZfUpqBLYaumYpc3aMo3gNgxDOGOZWvlzc1f2eVn49Z9r9Wkb6geYO3Bt+7+DSm/vFfIVEKdG8Rdq1bY6cMVPgMVNNq0W3Nf2KzGWD4NDviuGks2lLlVl4wfSwReaFfJkSZGbTT0Gfd34EkKuLGrtNWSu0FqHeazQcPwKlHML0mQ7RIV4LGf38AHfjpU1Ybw7RQ9lQ9kVpH73wgwr6Rpds/LJ+5kSJpWXcttCvoGHePp1q2M42A6RKOExg== 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 DM5PR11MB1739.namprd11.prod.outlook.com (2603:10b6:3:111::22) by PH7PR11MB5862.namprd11.prod.outlook.com (2603:10b6:510:134::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.22; Mon, 23 May 2022 08:49:39 +0000 Received: from DM5PR11MB1739.namprd11.prod.outlook.com ([fe80::8c3b:8a54:d186:b555]) by DM5PR11MB1739.namprd11.prod.outlook.com ([fe80::8c3b:8a54:d186:b555%11]) with mapi id 15.20.5273.022; Mon, 23 May 2022 08:49:39 +0000 From: "Pei, Andy" To: "Xia, Chenbo" , "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/mQgAASdkA= Date: Mon, 23 May 2022 08:49:39 +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: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.6.401.20 dlp-reaction: no-action 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: d7177cc3-9853-491b-6a05-08da3c992c14 x-ms-traffictypediagnostic: PH7PR11MB5862: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: 5mi+Scnugqow0YSMlqphPeGLURmTuVJoPapbTYMVDzSoyN3PCVLuXi4EmQeCrkSbFNODladjvbj7/erNdbLFH/A71rRThWJQSdQWxC+iXwDg9A5pc+YC72imGkeBIo3WSY2ebCSx1n6mxb1SHaBhuVdg5S+Igq3PWnbnjAmQlYn3xrJbVmOdjWD9K9Zx+h1j/FWiJ5Jtx6ImF3P6rDibjy+PO4wT8avwddWckUUd2STftpjhk9HAIxsGTmfgmUHjO2T/ClT4gRTzxreH5Q0KQjyAKZqnQrcMg2GVo+TN40PCeswdUWm/weqNESlzcTOE9aHG7AKX+SXqWBnOt9S/IYhHCGKqvcc1l+a1usYn+9ueHeYjxaj9ruRHTCD+FaKqsiunBrP2Q9o7DGw4/6IWllPHDc5RjQCZf+cS0pN4Q93mxaIj7cwdb3diCANLHfRnd7PEtGHOeS3oslzeFpmjEM5VYDmpWKNq8d8moCqnt+Utshcfg7Kk04phhktdq8evioI6BeVrjUvKcVIye0NCsZ4KJepTq2RAYep7YTUwcIe5gEMP0Dxk5N+Z3jywNC5Ndt6kYgSNt4cSLmqSd8mn0q0FoF7gtg1dpukUQ0Y1YBAQnRXpVPc5rAmKvyFEj+kjePziDzSHniqLtgYQjqsfmed61v0czKmwD6Ye9n1I0Ej1BOECDAIbmtn5IGQ/JixBwGvZj7cT0g/c3jVXZ43XYw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR11MB1739.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(316002)(508600001)(86362001)(186003)(9686003)(7696005)(26005)(53546011)(6506007)(33656002)(83380400001)(107886003)(38070700005)(2906002)(8676002)(66446008)(64756008)(66476007)(66556008)(76116006)(66946007)(4326008)(38100700002)(5660300002)(110136005)(54906003)(71200400001)(8936002)(82960400001)(122000001)(55016003)(52536014); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?jHJp4rV86fXprnvwkssdpFkqKyrI43NKyG0KpJu0bawW8DRpDwchjDmqsXZU?= =?us-ascii?Q?CilgO8tE/g/A4cRNHbp6odsUegSxP3mcmCOp79KbL9A3dTjjKRwmrJCeOnKa?= =?us-ascii?Q?aG/79sA6c9uuMxkfFNUUsJhv1oeXFXjEXawxU3NtcEHJk23Kj1I1VDZejRXC?= =?us-ascii?Q?ahQTLQbU7TUPu5QGN1mzAHijsuQFIsDhoNVrH6nXiSI3T2A6PjVrz6j/Biug?= =?us-ascii?Q?GRKR/jH7S3p5lxCndPG5qqE8dq5sQ3npGIvlksOW6UYDX0XZCBHbpmIhg+fL?= =?us-ascii?Q?vPYR2F76GjyD8cpOkAmzjKvxhTiuMUnVOnpTQzZqDphHIOTrm971+H6It26Q?= =?us-ascii?Q?1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Ma?= =?us-ascii?Q?gFFyGseimf7tJS9RHf/m7EX6Fj6sCg7B5QPFf0F2MbFpd22NZsT4lBOHppJ2?= =?us-ascii?Q?VBwT6Mtot8vDdnj+K+MVW3ENmSx6aLA1pq0qc4Ft/VAqJNum6T794n654rfR?= =?us-ascii?Q?WxCGsJVP7THKSZZa1MoV5zVtIu/G6ES6TH9QmLbkZCF5J2YmHOb1Bj+OnpoJ?= =?us-ascii?Q?DbmQaTpwGixSHbHyPgvtIhl9FPVYfOCeenCpMzWC7rdnPPAmvjQUUy1ir9Rs?= =?us-ascii?Q?5HcUWFkgKLasAkyre2MRjuvEv2na3uvYeAQ/U/gLyZEVvp3JCLwIi44bZGUp?= =?us-ascii?Q?SiziM9lM+p6MjsicPxlMRENdLNqh9v14HrUFQxyziDn9QrvdIk/EygvOOnm4?= =?us-ascii?Q?TkYN1r1HhCbLqCArP+PYlVc1nsyNrbyzM6BSLzoYJ2IbER4gII1fmdRXx7IH?= =?us-ascii?Q?r4ZIm6W2Jvw56O/hNUoEJeH0f4GOmKeVSJUjRgaJ9/5N4mXhvR7doxqYW/W5?= =?us-ascii?Q?wQnwz83Irw=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: DM5PR11MB1739.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d7177cc3-9853-491b-6a05-08da3c992c14 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 May 2022 08:49:39.3232 (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: 2xCYU0kc1B2gmQ3eNKePAMUC/O6NKKOULxjlX4/VU8d/zFt2F5XxeowPj64GODrbvMM9fJtuUh85J6KLxLT9DA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB5862 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 Hi Chenbo, > -----Original Message----- > From: Xia, Chenbo > Sent: Monday, May 23, 2022 3:43 PM > 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 devic= e >=20 > > -----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 > > > > 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 =3D {'Class': '08', 'Vendor': '177d', 'Device': 'a0f4', > > 'SVendor': None, 'SDevice': None} > > > > +virtio_blk =3D {'Class': '01', 'Vendor': "1af4", 'Device': '1001', >=20 > No modern device support? >=20 It should be supported. I will add modern device in next version. > Thanks, > Chenbo >=20 > > + '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] > > > > # global dict ethernet devices present. Dictionary indexed by PCI addr= ess. > > # Each device within this is itself a dictionary of device properties > > -- > > 1.8.3.1