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 148B9A034F; Fri, 10 Sep 2021 09:39:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 000C04067E; Fri, 10 Sep 2021 09:39:55 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 8323D40041 for ; Fri, 10 Sep 2021 09:39:54 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10102"; a="217850887" X-IronPort-AV: E=Sophos;i="5.85,282,1624345200"; d="scan'208";a="217850887" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Sep 2021 00:39:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,282,1624345200"; d="scan'208";a="540325211" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by FMSMGA003.fm.intel.com with ESMTP; 10 Sep 2021 00:39:51 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) 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.2242.12; Fri, 10 Sep 2021 00:39:51 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Fri, 10 Sep 2021 00:39:51 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.176) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Fri, 10 Sep 2021 00:39:51 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W6chc237cBJm1pA8fVSWI+C7IonZmNF6MsnjN+boR9OUzdTRpcVSt6jZR9kDJ3zEgyeLK3nuDk/Dq6Ai3iso1tD7XS3qYM5yYkSv/J1gT5t4USvbpywpfuaf0d2Qr7bZf/pXBpJgSnHOowZclCPW7KwNaD6LzI4YVTR45ayPZPy0nMiWiYls41GxurJw9OSm/k9sHfsrXzlvFBWOJjbh27MGJeY55zWI4bpdUxWCfjdVJ8m0qtILYzK2UmapZY475KcQlexB0w3ncsCxwg5Nu4CyRrE+MIWObNIkWJtAcHf+9GzlECLeAgBc7lwUVqpVRSEOaZHTdbxBloKXsNGbXg== 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; bh=nVq/yIlKmBMaPQ6isC1d4GzGivz/3JmTcp6RV9ka9dg=; b=g00a5JuKmoIfHhODhLDj9IAOFt2uOciGAb3nRSpqa1rXdRypT+FKzoia44HGH+Y/njiB+Xx+xzky31qA6iOpSEJS4lS2LPjJ4okqcPqIk1luE4u3fX4anHnxOH1dafdixwufvZPF8THGVrFOJ63zY8ueA5nf5+814nYCNsducEwTEFLyiLPGbW6br0dgsp5bHDcqNq3tGJhWsucnEc7H5WqDPH8cu9/TB/nxUiufCkZbQ2ei5wN6RgffO67w6yQxDBS+D/++9NfHsEtK/gJ0Urvcf5b7BJxd3zmVhZD0lkJv7oEIAiTfTO+HRex8z0Am4SHYc1bksrPai2OKtYKNdw== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nVq/yIlKmBMaPQ6isC1d4GzGivz/3JmTcp6RV9ka9dg=; b=pTORUY4AKq4aDVkpYWkaJZxKtSf4R80TKQgXMTpwIOv9MrimQaq8gHEySzt0n5xUj53e/HObndIy+pD5hAysKr02X1pHhaxK8Fg5Er7VGJKFlcJInaRCpv6Nw4UOjpDGiM3vfM3kgF9RrZENLymvhisHESDg8rJbEC1TPQfwR8U= Received: from DM6PR11MB3771.namprd11.prod.outlook.com (2603:10b6:5:13f::15) by DM5PR11MB0010.namprd11.prod.outlook.com (2603:10b6:4:6c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.25; Fri, 10 Sep 2021 07:39:49 +0000 Received: from DM6PR11MB3771.namprd11.prod.outlook.com ([fe80::ac5b:17ce:f5a5:4ee]) by DM6PR11MB3771.namprd11.prod.outlook.com ([fe80::ac5b:17ce:f5a5:4ee%5]) with mapi id 15.20.4500.017; Fri, 10 Sep 2021 07:39:49 +0000 From: "Yang, YvonneX" To: "Ma, WenwuX" , "dev@dpdk.org" CC: "maxime.coquelin@redhat.com" , "Xia, Chenbo" , "Jiang, Cheng1" , "Hu, Jiayu" , "Pai G, Sunil" Thread-Topic: [PATCH 4/4] examples/vhost: support vhost async dequeue data path Thread-Index: AQHXov0VKKgc3+E5PkqOuzpCdptu9auc599A Date: Fri, 10 Sep 2021 07:39:48 +0000 Message-ID: References: <20210906204837.112466-1-wenwux.ma@intel.com> <20210906204837.112466-5-wenwux.ma@intel.com> In-Reply-To: <20210906204837.112466-5-wenwux.ma@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 187161cb-52ea-4bf4-486c-08d9742e2b23 x-ms-traffictypediagnostic: DM5PR11MB0010: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:639; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: EYKMRuYWu2TKgWqXjfaZjAy0ly0iyfCD8GVTfzMydVTtfLgcSALFHrrccoXF3gj2KP3+RKUg1m+bT1GFymtNPuS9N1kQ42Jbbp28MSLU2zBO5VzluxVV8/Rm1+ukb0C6weHs2408AIJ4WIjIcqhKvbdTfJB5Vw0ZdF5j6sTWOspDjDz/SBKYUCJmsCQQ65oQeC9NCHXNs/Gc6SVsWH0Wt8A/9AH4C2cirunFg2rxrXa8ynlTveKnkAYp3QwAIEUOaNPGRog/L7d5OeIA1s4AkRcOEmiSwMXnR4e9tKtTDThZ/TWdsZIDW2xMSOUnU4vFDe1G2b1zyuSVV10Tdgj+1olHddbDrh8MejJbZNJWy2i9Epa+bIwe9hcl/8D6B0mftiuZGZzCA73/fz0f4jU1sVvLsTjk2LrSnIfr5FHP/m5shcco7lgoh+2qAnuzM1YhMg3NmoCJv+ItnVziAyiiU4umW265PItOGLlthmsezuOXvRWVtGMAH+peXUf83Z7YXCbV0wRqGXP8rLUCxLEcUveI5oJPB6cP4Wr1FuSW9LBcPdzY7541VqUxlPCJ52DDVU7BwDkgZGJ7AQITV8xEKfcjb6wmhMiaVo1QOfMkv8VKVGAZh2JZWev6o160QO7iDSqjI30VKYikwasf6beQ2lKGEf13SALgbi0Ln1eKoWCnE9QUbVBxUkgf9bj4UO0+JGdKKr4k/oqcZg8f5EAvWw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3771.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(366004)(136003)(376002)(396003)(39860400002)(53546011)(110136005)(38070700005)(316002)(76116006)(4326008)(86362001)(2906002)(7696005)(9686003)(83380400001)(71200400001)(6506007)(66446008)(186003)(55016002)(66476007)(33656002)(107886003)(8676002)(66946007)(64756008)(66556008)(52536014)(478600001)(5660300002)(8936002)(122000001)(54906003)(38100700002)(4744005)(26005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?LFlKxtww1NAov8WMWMzXsjnAqjRYgVBVXvMFir16x6JaiV+RIfVIVL+lJ34P?= =?us-ascii?Q?MDgjyK0Qf+P83CIl4Bg1Zfyc9k2nl8QcYbIeiMEVifsSCz5UGfhayScRAUhA?= =?us-ascii?Q?s0Jx+hdOclTKpqBYcOHkhq2QP74xEX0Ojnl+swxq7V4V6akJLPd/Da6nKhxp?= =?us-ascii?Q?i7RCarJ+0tPmbeLZ7Hx2fr/mG0879bXSPneVzEdhjHc6wXybPuTK+iNa1kza?= =?us-ascii?Q?MS9Bobc+vyZaRw7Nt6BTRfNp2nYbyxwb9ZUOYqaL4X0gtlsUk5ca7dmc3sYa?= =?us-ascii?Q?EpmbM1igxD7d6Mg4bGVHTwG370HlbeGfBh7y8dCohBw9/VIRNJ45zMyJJNwk?= =?us-ascii?Q?n7BJMxDGhTA9vSaEDX3cQfXIOcLyW5ivto4VNtjYz6oP8oJT6+H2GVkrXUyy?= =?us-ascii?Q?1yM2VLf+ymYyC9P0f3MCwnt8jtdFIwGLduqLD68+Rx8Em9TLHzJ72yTEExEz?= =?us-ascii?Q?0J8mZYVjdd5HhBSA39h2mefGy75tExh1vaSjlhCLsDp9ZUoinaz66OnnDY4w?= =?us-ascii?Q?X6VfZ4MFdtUfWesNOxvP/Y2d6yy7owu/NBRdQIw/yFyLML7XPIW/SEHBjAe8?= =?us-ascii?Q?lodXSuenevUrs8sHUMtHUEop1ZLmXhEzX2eBOAfAQuvhPt8wsllkUsIUxwQq?= =?us-ascii?Q?rAoDoy5en3JNjAsH3xt87XeULtd/6r57SE1+YgsY/bOnTJF2tAjb2slzo0+q?= =?us-ascii?Q?d9gsLhEZALqhOlrAT4wF++WLCNmLk5Za/EuRH2sScTleE7BLUr3WEmxjCS3Y?= =?us-ascii?Q?TiKyU/pq4+1O/tEjr2GsmG2aO/tRTuOpbNDHRr0BuKmGqIPUpNg1dzuQgLQO?= =?us-ascii?Q?RtB1yH0xQuyueZpUDT7W9QwqjDt8YS0XDcXs4P96WDJ5D99xHxLhqEKiF5oi?= =?us-ascii?Q?wlSS0Cdr1+JuigZAD7h96IpaQsPHv3MKp0SFhmJ+B0h6z64BbgJvzY4rmX4I?= =?us-ascii?Q?kBY4ZNair0r2K+MIDsQhsZlFpUlZQ4B77/Pnvw1Z5BQG2jWhbW0Hrkl884/T?= =?us-ascii?Q?52S+0TtfJrg9yMA6DUS3BzZbEg6v61dQBJdheLS8ZB1YLV4ytEzKxkezQ758?= =?us-ascii?Q?P8hyrxWxOqmDgvicclaEm9zrxrlX1idILKdtuTYt49VVUCaJfZvvL1R1ql+i?= =?us-ascii?Q?HDxxSdI1vBuhu/qwRL3ZnMGzmo5JtelPNhOu5uzg28EEDR3oXY9lLHuVDRg5?= =?us-ascii?Q?EfLYcEMRvWqM4V8PUP6rKZfloieUN96IpVKDecOdYbtHh6s1GT4LDYq6L6NU?= =?us-ascii?Q?bhMONA2UB8hjDvk9ewsUgg9foRD/TxKcdmhIgAqN9exUf/gBa1ZxTL+xWViS?= =?us-ascii?Q?aX+OGr8TE6x82p+jvxuXeqj4?= 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: DM6PR11MB3771.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 187161cb-52ea-4bf4-486c-08d9742e2b23 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Sep 2021 07:39:48.8647 (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: lHIBK7yk2aKy2jisukWPVYk89CNN+fjf+f0V3NgjtWHEpu5SvaufasACXvwiuk2T8RE1Bc2Mw2rwctb4Q5wzCQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB0010 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 4/4] examples/vhost: support vhost async dequeue data path 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" > -----Original Message----- > From: Ma, WenwuX > Sent: Tuesday, September 7, 2021 4:49 AM > To: dev@dpdk.org > Cc: maxime.coquelin@redhat.com; Xia, Chenbo ; > Jiang, Cheng1 ; Hu, Jiayu ; > Pai G, Sunil ; Yang, YvonneX > ; Ma, WenwuX > Subject: [PATCH 4/4] examples/vhost: support vhost async dequeue data > path >=20 > This patch is to add vhost async dequeue data-path in vhost sample. > vswitch can leverage IOAT to accelerate vhost async dequeue data-path. >=20 > Signed-off-by: Wenwu Ma > Reviewed-by: Maxime Coquelin > --- > doc/guides/sample_app_ug/vhost.rst | 9 +- > examples/vhost/ioat.c | 61 +++++++-- > examples/vhost/ioat.h | 25 ++++ > examples/vhost/main.c | 201 +++++++++++++++++++---------- > examples/vhost/main.h | 3 +- > 5 files changed, 216 insertions(+), 83 deletions(-) >=20 Tested-by: Yvonne Yang