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 678C1A0A0E; Thu, 29 Apr 2021 03:48:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E6587410FB; Thu, 29 Apr 2021 03:48:16 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id ADE5E40697 for ; Thu, 29 Apr 2021 03:48:15 +0200 (CEST) IronPort-SDR: Jw0mZcBr3PTpiqjz7GuI4BnENKJmn3G0nj/620m5qsrSIageNOXCPXM6DsG+qlLCY0merweKJe aI7ZCdcEFMIg== X-IronPort-AV: E=McAfee;i="6200,9189,9968"; a="176377747" X-IronPort-AV: E=Sophos;i="5.82,258,1613462400"; d="scan'208";a="176377747" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2021 18:48:14 -0700 IronPort-SDR: av5/2Sn94H6D7lTi4JSLiGhMYsBPb57G/zSV0Zcvo6e2hJ1nYcJiXRxwvuHL/JX0YljRkJSTV/ vXWOgKKh87hw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,258,1613462400"; d="scan'208";a="616258184" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga006.fm.intel.com with ESMTP; 28 Apr 2021 18:48:14 -0700 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 28 Apr 2021 18:48:13 -0700 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by SHSMSX606.ccr.corp.intel.com (10.109.6.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 29 Apr 2021 09:48:11 +0800 Received: from shsmsx606.ccr.corp.intel.com ([10.109.6.216]) by SHSMSX606.ccr.corp.intel.com ([10.109.6.216]) with mapi id 15.01.2106.013; Thu, 29 Apr 2021 09:48:11 +0800 From: "Hu, Jiayu" To: "Jiang, Cheng1" , "maxime.coquelin@redhat.com" , "Xia, Chenbo" CC: "dev@dpdk.org" , "Yang, YvonneX" , "Wang, Yinan" , "Liu, Yong" Thread-Topic: [PATCH v9 2/4] vhost: add support for packed ring in async vhost Thread-Index: AQHXOz3QyAVBQSbvLEy3VaRKnEz72KrKvLyQ Date: Thu, 29 Apr 2021 01:48:11 +0000 Message-ID: <052369cdf742494faf3874e02a7b171a@intel.com> References: <20210317085426.10119-1-Cheng1.jiang@intel.com> <20210427080335.20246-1-Cheng1.jiang@intel.com> <20210427080335.20246-3-Cheng1.jiang@intel.com> In-Reply-To: <20210427080335.20246-3-Cheng1.jiang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v9 2/4] vhost: add support for packed ring in async vhost 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 Sender: "dev" Reviewed-by: Jiayu Hu > -----Original Message----- > From: Jiang, Cheng1 > Sent: Tuesday, April 27, 2021 4:04 PM > To: maxime.coquelin@redhat.com; Xia, Chenbo > Cc: dev@dpdk.org; Hu, Jiayu ; Yang, YvonneX > ; Wang, Yinan ; Liu, > Yong ; Jiang, Cheng1 > Subject: [PATCH v9 2/4] vhost: add support for packed ring in async vhost >=20 > For now async vhost data path only supports split ring. This patch > enables packed ring in async vhost data path to make async vhost > compatible with virtio 1.1 spec. >=20 > Signed-off-by: Cheng Jiang > --- > lib/vhost/rte_vhost_async.h | 1 + > lib/vhost/vhost.c | 79 +++++-- > lib/vhost/vhost.h | 15 +- > lib/vhost/virtio_net.c | 442 ++++++++++++++++++++++++++++++++++-- > 4 files changed, 489 insertions(+), 48 deletions(-) >=20