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 410C4A04FF; Tue, 24 May 2022 04:37:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 21E904067B; Tue, 24 May 2022 04:37:43 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id BB2354014F for ; Tue, 24 May 2022 04:37:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653359861; x=1684895861; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=gI4dq/dHoaDRfdJW8jeZ6DH84vJbiFyBzBbpvkX4k+M=; b=K5qYeiaKQ7UknN34QvnbTQXfGdGPB7yGt2SbpUvM/Yw+OJbg6JbZVh4m 1sjZ4nDUk6UeKA1fnFzZWek5Egt13MGbRf8jvGYH6xrroqu4gtNP3D9mf xE4DOmSbMe45xns+7IF99DglKEJagXHr/6SMjaVcfT9DBaisFVHlcN8xk SDNjDP3aUBPn1bpQDi0L3uzt2BHdAqyyNDqOvZC7mKNKtNvxEmutcplqX nT54JsKeGYQanNZDsGmntfM7LeHOQXcp9QmI8GeWFPb3pvoRiq019Yn4d qncfofsh8Ri3Ed5n0WPYpB77SWNVX3FpwQ6kiDUjPDTmKPRiAQ7b4KjbD g==; X-IronPort-AV: E=McAfee;i="6400,9594,10356"; a="272231247" X-IronPort-AV: E=Sophos;i="5.91,247,1647327600"; d="scan'208";a="272231247" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 May 2022 19:37:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,247,1647327600"; d="scan'208";a="716983280" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by fmsmga001.fm.intel.com with ESMTP; 23 May 2022 19:37:40 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX604.amr.corp.intel.com (10.22.229.17) 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 19:37:40 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) 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 19:37:39 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx609.amr.corp.intel.com (10.22.229.22) 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 19:37:39 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) 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 19:37:39 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HB7MMjYkTmV8AkRdllqdFUtHLroOj4FGsyr9wCUaRRGnR8NBN7G42/TtsZTePDwtKr92W9IaHVDNZ6MCQaD3LNSQoDHHxetbPOaC30fWHUiBSaSmh87X2lyaHpjNsiGT5+ItZeXVpSrWIfqYcP6KTMCswV36ateDcryNGxNBNSOlcAlKcs+iSWrldZQBeCW7XXmmFoF/TH787i+sf3GgHcCJj0xhOVNEWaVUfX52XwP8ArENgv0v/I+5azBSFBMSVfFdbIL4mY2GkDMRlZCM78FevqDegpdC9eGa4W6hdCjOd5THh7rF1P5ZQwBG7DUqnsxcevvniZAYvmQr18milg== 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=ZinUVPFesxB7Si2ZPgF2Cgp/PijFWGxYBu5GgD8EZdA=; b=S14ZlyT/03mSD3tPXQ6aQRlP9tOaK3ZkmW+1lxZEZk6URKnxk4ZIpe/aagBF4GNNjrN+iAcMHVtBe4Ut9wN3dM06xvrqJuRFRE9gxvaVbonXwWJxLp7/vUe+SB4wpGFmXUbi8CuIJ8I8aXPEnzq4xtAtMn+4yiN/TjFunfAHqQm/PQDEGQakPt28o42tULzCrVCoU9dTtacyCrKwtKi2GJ+0VqId9c7kkQO7AUD8OocY0v9lrGeaPC812ps3dWTG7jOU6RhusPxwkyDr/2QP772Yv/YLd1ubyTSNs3AkwNd+aKjxMWp7Dj19NqS7vmQpMw3IU5RHd+JXZRtIVXvdOw== 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 BN6PR11MB1730.namprd11.prod.outlook.com (2603:10b6:404:fb::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.20; Tue, 24 May 2022 02:37:36 +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 02:37:36 +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 01/13] vdpa/ifc: add support for virtio blk device Thread-Topic: [PATCH v9 01/13] vdpa/ifc: add support for virtio blk device Thread-Index: AQHYbo8HVDl5cDvmqE2m06CakpzxHK0tUSdA Date: Tue, 24 May 2022 02:37:36 +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-2-git-send-email-andy.pei@intel.com> In-Reply-To: <1653298524-232138-2-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: 07791a95-f0e4-4f08-14dd-08da3d2e5d11 x-ms-traffictypediagnostic: BN6PR11MB1730: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: PYC8By1wTeysAZSLaKqLT0wiu+G3SYm/EhkJkcHTDq5E9mcrJRlbcgcvXbsaPhc3gc7eq2RTYbyoRW33OD+MEuRRx7xq8LdImG+4mcJj8zBwotQk29lJz0ZzeKJVvart7M77n69nY9JFk53ly36dr30M/6fC/LY2s4pzX+NM8wIzWWsIlKIlhDcjTQMRNdqN2ixjn9Bjg/AygykpjqYaq5oUCZLGhlUvsNGI+QRA+Jqs8HHyb5D4Qu+zFz16Jg/e4DAmZI/lakASHoqvpYwszT9R9p8rsDO9v9xatQ1Qk8pB17WHUsxGKCHhop5vyswKkeWj0Rfu9/qTU4r2aTe53YRm3NjYvaWJqAhXlMjI3E82jXEKzpKaTTID9U7dFpLO3etfNgIFV2zTFy5klWVEI9vynhnoGz/L79LmdhEdzYl5zT72s4C+tWXfGjhCoXyErvgsGmzv6/536yB4/LhREINHUEQTItIU5CNsdasCHTYCEmL6c4K+bdqbfLCsXXPsKEClsVimAw+EBi2dIwLxKQttXdBINxJSNT7lG+JZ+uqw+052kaD8vFQdx7XABSP2e1iYhciFR6EmA6koSMUtYpN/m9f8ilkt2hj1HyC/anCwL5CCHnUlN4pfOYHgQH+N22ln+lFNBq5OZYMglw6e6Zyq7A0+J+v/YNr58wZxktsiPbSgMEC92CFTYQ9MUU3fV+5mX7RFp7bcC65yeG46FQ== 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)(26005)(122000001)(6506007)(71200400001)(316002)(5660300002)(33656002)(7696005)(38100700002)(9686003)(53546011)(2906002)(4744005)(4326008)(8936002)(52536014)(110136005)(66946007)(55016003)(508600001)(86362001)(66446008)(8676002)(64756008)(66556008)(66476007)(76116006)(186003)(83380400001)(82960400001)(107886003)(38070700005)(54906003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?fwlR3s2gWsGpZ24VQgoUBFKITZV/LpvkFaAF5ITwblcWf45ghNlJ0WZzms5s?= =?us-ascii?Q?RYAmvtbRJuzAzRYHF0ZMhBozbsVHaAY7oAO4e32V788lauU4YxZv4MV2jk3C?= =?us-ascii?Q?zT+ELQ16MjpNQ14dgk2qjUxzjAjqtrn1Sp8bHUSKb/NVV/emX+q8jGDPca7b?= =?us-ascii?Q?7jTdyjSU4X5FGm+U/sBPTYpCz2qj5YKdDL4TkQuJPtJXfEKHjIhqhHhXOsXR?= =?us-ascii?Q?ElFw2hvNbhgpV88veG6gCx5LnJsDeiL4a21fQbwQedOZ3I36jeUJg0gDibUE?= =?us-ascii?Q?Zjc8PcEK7AcpOc4Yy7DIzDQDZSjNau2lBDT+MJ0K0v8Qbq5aHf0Bnzg5epdL?= =?us-ascii?Q?+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3hrXG+y6lQ78tgRRPuhNyY9+urL3?= =?us-ascii?Q?7EKVk/KzikTsSMxsjwU/LxHc6DS7mFFzXiknu3jJuNuiklgGJvRvRoDDNpNY?= =?us-ascii?Q?jtEUDGU1VMIpwyAc+Losc/PjKtGAlF96F1UtbBzyNxcflr7J3IoC9FUmuM6Q?= =?us-ascii?Q?PzV4PmAGqhPvdFturiRmTQSOo+1uECTkahqA5wiAW8kxDjhUMRW7hyZz9ix9?= =?us-ascii?Q?+Y6LRHQ08NQs40YdzdNX0wGAW1QvYtDIzBFdHq8rh4I7uIDK963a72R4lcz3?= =?us-ascii?Q?TvxyPxf3Z/04ma4co9Q57mzYiPlyEA9H9sKpiUgP8YKyEsJM0I6AG2eDKJtt?= =?us-ascii?Q?tNZGGMXG94wKvNuz3C4bsWmR7fp1j/0sqtKq9j7im6eZIP6F+EKyIkqYXbYV?= =?us-ascii?Q?7COl4Fe5LLgp/Acch90bPHm6/W3SQHxFxYwoWYXT2bNnLOtmyw4FnXrsPdLu?= =?us-ascii?Q?CqYCugbgfta0MOfWiM8zLq9x6REbrx9HDzIe728cIujr2VMUmuJNPYb1Bvsi?= =?us-ascii?Q?bsytjhT4uQ=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: 07791a95-f0e4-4f08-14dd-08da3d2e5d11 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 May 2022 02:37:36.4912 (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: vYU5bGlCcybXeAgApA/mFeTMsg4ugyZNkPkwkx782Ave7PKwQ3cw4YGiKtZlrI2YjEPVOOjNT+meABEhMttuXQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1730 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 01/13] vdpa/ifc: add support for virtio blk device >=20 > Re-use the vdpa/ifc code, distinguish blk and net device by pci_device_id= . > Blk and net device are implemented with proper feature and ops. >=20 > Signed-off-by: Andy Pei > --- > drivers/vdpa/ifc/base/ifcvf.h | 22 +++++++--- > drivers/vdpa/ifc/ifcvf_vdpa.c | 95 > ++++++++++++++++++++++++++++++++++++++----- > 2 files changed, 102 insertions(+), 15 deletions(-) Reviewed-by: Chenbo Xia