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 78BFCA0542; Wed, 26 Oct 2022 11:27:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 459FC40F17; Wed, 26 Oct 2022 11:27:06 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 9D72740041 for ; Wed, 26 Oct 2022 11:27:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666776423; x=1698312423; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=+GMcg2Ot56q49nyYamqvQ5DtKc1fRgz05OAFlLprX+Q=; b=afXk0oUtZ8rJqTTagdEXqUPVODeOWHctlx5zYWsTzWf4jFBbJ/Bid0bF y7fqCJ0yB1lGLZZgs9T6DwdqJc62ff/FCNlabhXQq8FUsucVj8M/AcUIZ QCkVmHC7F88yONHni0wWfNCnnFw57gjH4PEP8XThO0vhFGGDtE8F0XmNC zHC4dNEDuozG6tIQL2j3fzhFs93e/k4u3O3qx23zsdPm18lGswlkTf3dI VAMBfBNKo2JeJuWLxHsyuP3jqeDpOGpVLnS200gGWBGr9OUYoCYFR6XOH vAb10B/Z682Dkik2JPz+6APTvfTnGENAyWNvlTZlPonxwmQMp8iGxhJP6 g==; X-IronPort-AV: E=McAfee;i="6500,9779,10511"; a="369969131" X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="369969131" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2022 02:27:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10511"; a="774518746" X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="774518746" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga001.fm.intel.com with ESMTP; 26 Oct 2022 02:27:02 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) 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.2375.31; Wed, 26 Oct 2022 02:27:01 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Wed, 26 Oct 2022 02:27:01 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.177) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Wed, 26 Oct 2022 02:27:01 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JlhzxffhbBOMMxEdomJA0JtsPJprSuECq2lmGk9liUHSbLA9VzzWsCpn+WV7LL9ERjSKfPxHmbPLH14l2qlXX6EoIG4cKomWMk+fGdaw+Kobl0FGm4rN3DQzx6Ef3hfm2huCnBFSInx5csicYm/p20PAJNH2eYm5fNr04s6AblowklNxxQ3EzajGTjmo3iaxuIH++W7j7i1WH4CDvFbGN2+fhdubL4e5aWLOZBPcJ53jhenX+5OjICWlgOQAKs8oMpI9xSGPk/exRCXPx9KkL6ywCIMmAfZ+MrQ+V8KPNuFJEkrXxFa9h6KSgb8Gx/u0YK0RlL0f5G9/6SddnfzO+w== 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=iY4KK3hoBakOzM6Tst/cj7DD+Oi1k3AHMRzQOzHrnAs=; b=bS0TYUnP+gE/ZtkkN9gctFBzakD0T3xZbTd70KtjMII8fwSxsyqthAZeaNkh8o6cxqMTgO6qXayGIy0+lRQzLmw5jCgusAkHCUayMkO/qzxAc76hmH5chp3xx173PL0S2ArFzjblalFS1AjaeWiHQy/WDyFK5vCUn/NR6qmzbrl7X12y9VCbknnRx1gD0U61siyyg/MYv/bC/7Kh72XGB9hDWZxECGHvafj5MJY1PK9oYCS/XpbpEQgmeAym5oIUZV0GtVb9qJIQRm79fX0xEAqHGd84MmQ66lc3pP+j5I7hoF5tVIfOUKVu5mTMYAgNLnDw36P8vWBc5O5YXe6dzw== 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 CO1PR11MB5155.namprd11.prod.outlook.com (2603:10b6:303:91::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.34; Wed, 26 Oct 2022 09:26:58 +0000 Received: from DM5PR11MB1739.namprd11.prod.outlook.com ([fe80::8163:d995:db17:2bfa]) by DM5PR11MB1739.namprd11.prod.outlook.com ([fe80::8163:d995:db17:2bfa%2]) with mapi id 15.20.5746.028; Wed, 26 Oct 2022 09:26:58 +0000 From: "Pei, Andy" To: "Xia, Chenbo" , "dev@dpdk.org" CC: "Xu, Rosen" , "Huang, Wei" , "Cao, Gang" , "maxime.coquelin@redhat.com" Subject: RE: [PATCH v9 00/12] vdpa/ifc: add multi queue support Thread-Topic: [PATCH v9 00/12] vdpa/ifc: add multi queue support Thread-Index: AQHY452uYqkFPQHvckysb3nh/TBBxK4gaTaQgAAJnBA= Date: Wed, 26 Oct 2022 09:26:58 +0000 Message-ID: References: <1661229305-240952-2-git-send-email-andy.pei@intel.com> <1666168884-104665-1-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.500.17 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-traffictypediagnostic: DM5PR11MB1739:EE_|CO1PR11MB5155:EE_ x-ms-office365-filtering-correlation-id: f0ed6503-92d4-4c52-bda7-08dab7343b16 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jb7Tg8abUMjV8QZMUCpC0HiEcpMgrbuCvU4DG3qqpQypagUswIu1EDTxVAs0Nrt64aZllAB0KKgWOM/FNcqhRNCyktrMWsB1MA7A6fXF9IUZFtVQcQsl+Tgb08Zxr+7N3e2uzKVLrIeoPe+h5FBzg0BXaC0QxV7NxzZ00W3iJ2uJW/KkkAxKdO74LYCP42gjTLJFUGCXjuc238ePN6mcmA4cX0bymvRJyrJrucV+DAb4MhHp1BzfiEJQaaalbU/dggK5vlFw+SNpyRSonE+RQevFIX0mFtAcUvt4aTMUsfY/TuWxF3w3tjo/HbAwoL+Cxwxs8EPkJrQ+op/Eo/v8Btetk1Nm3KW52bloM05yXhSnW50DQNXvLom1OWwNxje3WoVa/J/SsLZrOiH05UI6r0jc8cDcHCMtf0ERg7bnyKgLlOig8MDkpMD3NratJ3K+CFmqL4eR4UqW/kzIwfJsszkwWl8rTw/0llLpyVFsaLslaoZFmqPurRqvMursplGtp5fkvfYAHEAZTk+s5l5UF1cl27z64mSZPQAubENPPwS69cXgcHVcRH7HowRBGeX3RdsaXf0pmy5buv5NSuNAHdvu4T2dhT96vCMxf8FZGz4myNUx5Ov9ernRntoV4m5IhyRYtbZNt5enOUnOIMEbpRVa/BNlDO9ShU55XxbL49FpvmedAsTJSx+w5tu1lAnEHuAgXBiYAmAeCZNDmVI3NjDJNELKnFSzTMRFkeqtuwxqzXM07OJL9ap7Vsw3q5jaBMziGA0EgthwAusBGbjHJA== 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:(13230022)(346002)(136003)(366004)(376002)(396003)(39860400002)(451199015)(83380400001)(122000001)(66556008)(6506007)(38100700002)(71200400001)(55016003)(52536014)(33656002)(53546011)(8936002)(4326008)(66476007)(66946007)(64756008)(82960400001)(38070700005)(7696005)(41300700001)(86362001)(66446008)(9686003)(76116006)(54906003)(26005)(316002)(110136005)(2906002)(8676002)(5660300002)(186003)(478600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?MTdhrJTPdV7m+cFsPiOze3bFvG2SySzrIvSsWjoutAdUoJR6HEFMcnmY2+Pn?= =?us-ascii?Q?JzBipPIdtu8pt4pPrx/h7lLnS8lgdW/SQEDTE/csqc9773si8vpUQ1vB0wYA?= =?us-ascii?Q?JJ4KJvCryqONX6VzyQN7ZkjtrP5+9WidgDjgcSLFPSUVYKcn+w1ADInYtVqg?= =?us-ascii?Q?t+T+Ty5tU/JPo+9Zc4Lb5wgYcwU/jOyY3WTY574Pc7lF+eOwYL9mFhKHAFbJ?= =?us-ascii?Q?HNox3n3Ux4sWZS6PSoNfJlpwg0UszoAJ2r1Qe75ajWW3J1IVqh/ZQ70LAwxF?= =?us-ascii?Q?H/cbLWvX54raqMSe4prpTVB996ZkF58/bQ65pBPxIYnYd5xXeXVbNnTNKchT?= =?us-ascii?Q?87cxjnTS9Y+8PF6iepq4XUqmRzOpHdg+qToU02a60seHGS9WCw/J3DsG6pGP?= =?us-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7nXwrh4+5rZHX1dGJrhqktQ?= =?us-ascii?Q?4ONg1fpdtDmxs4oxQQwT41REksdLB4VxNiSin2qZQIoYL882t+z2M4+vnNId?= =?us-ascii?Q?CKQCSESMw+dxoP8TXej/e/doww+Xf8EG1fY1nsAwg1AsLK14n8Ue7iWb8LbJ?= =?us-ascii?Q?2a5U//wosLbLJVJK8RwH/YXZAxemn0aujwlJYUc1bGTttIdQUfMayYqS55UC?= =?us-ascii?Q?HofcWJvXsvb5sTufKcGOm0Truyy8+drGl/84F9rWkzvXEzZqmPSHJSKLSAj/?= =?us-ascii?Q?8LGLeH2Uil3DUFiAe1o=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: f0ed6503-92d4-4c52-bda7-08dab7343b16 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Oct 2022 09:26:58.3250 (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: iJHUjlm5nVuw1yIPGsaXS0fJYj78FuBvdIKmQsgeX/IlEuEqqy8nFF4UXmb1HdEOPtQ153U2pcm5mhIu6EQKRg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB5155 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: Xia, Chenbo > Sent: Wednesday, October 26, 2022 5:00 PM > To: Pei, Andy ; dev@dpdk.org > Cc: Xu, Rosen ; Huang, Wei ; > Cao, Gang ; maxime.coquelin@redhat.com > Subject: RE: [PATCH v9 00/12] vdpa/ifc: add multi queue support >=20 > > -----Original Message----- > > From: Pei, Andy > > Sent: Wednesday, October 19, 2022 4:41 PM > > To: dev@dpdk.org > > Cc: Xia, Chenbo ; Xu, Rosen > > ; Huang, Wei ; Cao, Gang > > ; maxime.coquelin@redhat.com > > Subject: [PATCH v9 00/12] vdpa/ifc: add multi queue support > > > > v9: > > fix some commit message. > > > > v8: > > change "vdpa_device_type" in "rte_vdpa_device" to "type". > > > > v7: > > Fill vdpa_device_type in vdpa device registration. > > > > v6: > > Add vdpa_device_type to rte_vdpa_device to store vDPA device type. > > > > v5: > > fix some commit message. > > rework some code logic. > > > > v4: > > fix some commit message. > > add some commets to code. > > fix some code to reduce confusion. > > > > v3: > > rename device ID macro name. > > fix some patch title and commit message. > > delete some used marco. > > rework some code logic. > > > > v2: > > fix some coding style issue. > > support dynamic enable/disable queue at run time. > > > > Andy Pei (10): > > vdpa/ifc: add multi-queue support > > vdpa/ifc: set max queues based on virtio spec > > vdpa/ifc: write queue count to MQ register > > vdpa/ifc: only configure enabled queue > > vdpa/ifc: change internal function name > > vdpa/ifc: add internal API to get device > > vdpa/ifc: improve internal list logic > > vhost: add type to rte vdpa device > > vhost: vDPA blk device gets ready when the first queue is ready > > vhost: improve vDPA blk device configure condition > > > > Huang Wei (2): > > vdpa/ifc: add new device ID for legacy network device > > vdpa/ifc: support dynamic enable/disable queue > > > > drivers/vdpa/ifc/base/ifcvf.c | 144 > ++++++++++++++++++++++++++++++++ > > drivers/vdpa/ifc/base/ifcvf.h | 16 +++- > > drivers/vdpa/ifc/ifcvf_vdpa.c | 185 > > +++++++++++++++++++++++++++++++++++-- > > ----- > > lib/vhost/socket.c | 15 +--- > > lib/vhost/vdpa.c | 15 ++++ > > lib/vhost/vdpa_driver.h | 2 + > > lib/vhost/vhost_user.c | 38 +++++---- > > 7 files changed, 354 insertions(+), 61 deletions(-) > > > > -- > > 1.8.3.1 >=20 > Change title ' vhost: add type to rte vdpa device ' to ' vhost: add type = to vDPA > device ' >=20 OK. Thanks Chenbo. > Series applied to next-virtio/main, Thanks