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 F4216A00C5; Mon, 24 Oct 2022 11:02:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9E9F640696; Mon, 24 Oct 2022 11:02:46 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id D7B3A400D6 for ; Mon, 24 Oct 2022 11:02:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666602164; x=1698138164; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Fhu6QXF8F6w89B7Q6i6yENKd0w+AZJwkH7bN8RDMmG4=; b=OR5Vwl8WCCeZxv4zgyqz+kTwC/TWfAJf/WfN+Ujdko7xcIRqwNUzjSJt OOwq5jvdHD840SpVr0siav76J0rrGntAolLSXhL9U476s0JhdfRVbYZ45 hrlDbgr0s+IXEl3tVWcn2aw+ba1l+PrXyxXjXwgyxF8R7HPKB1jZFbZB9 UeSGVBDtoEBlGPDxMnQ3j/VPsC5h9W7nIZxZT2LAi1g6kror0tr05Y/qR yUYqINZLjT80R4tRiPfCxbsTRBkiVc30cb46bumiEClhHRKYt6jLakvY1 vYDefrX2yppn4VG/jxH4GfsDrYIw9ykbFCW4izqBhsOm7dnnLIUHMEbR+ A==; X-IronPort-AV: E=McAfee;i="6500,9779,10509"; a="290673356" X-IronPort-AV: E=Sophos;i="5.95,207,1661842800"; d="scan'208";a="290673356" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Oct 2022 02:02:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10509"; a="736339995" X-IronPort-AV: E=Sophos;i="5.95,207,1661842800"; d="scan'208";a="736339995" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga002.fm.intel.com with ESMTP; 24 Oct 2022 02:02:41 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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.2375.31; Mon, 24 Oct 2022 02:02:41 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 24 Oct 2022 02:02:40 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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.2375.31 via Frontend Transport; Mon, 24 Oct 2022 02:02:40 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.106) 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.2375.31; Mon, 24 Oct 2022 02:02:40 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CQdleNrOUZIubZZBoiwIa/GN+NNKYsP1Dos3WEF8LGXWoxj8olrB2Iq+byoI5QttpeKSHuplbBpGwqdwm5Ouh2Ts0KJ32ntL2AFnhnK/NoTQOx9yW4el2SNGYhxErocl+mxGg/ORtUF+IK05RH10OvzDM8B2uKV6T5WY+n7df7Tc0BUkWbdtsVEstx/NzJ2ArLAYLVsCSBAeqcysw0E1883CHIjMWqP1bw6rZrBjCuBnL3y3ZAl/onZj7bogaVR4DHa9HVuwnhiM/5qO4X2x7Eg8NW6kPzNXZ231xwxHXzkhuXXII9uVESVaN0yPVSFyAd/dLKjBTJen+lTBjocqCg== 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=kY+RuGQko5BNykt+k+RBiL+1lmmEadXskGjcUzk7MOU=; b=PkIXksTjbtdxqVddymLT1WGjQLZKi1JJeIXJ68+v8hENLNW+dUxwZHYXBUJFfRnW3vgL5mFQ8DsnTRMW0qlREnqgsdHwivscmZc/44i1iDiPnRgtExZQ6mmytw9oT4znpfhOd3jcIZ2roEjCWhgHB2drx0fjD3xIYiXzhwkP+5+jT+yujyig7YA6nRmhRXDWjMbG6KIE/7ROE3jo9deCQzphQPgL4rhdYc8Of+yzcl/r1SS64arEqS/6j1MCkFKyx0PlMm35Ptf4A7b6L8bGqSeyaHNfzZKLLZXDhVH+WilqJD8ttPeLdCJEcbbHti2iBvzSRssgHiEjl4QYKoksdA== 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 SJ0PR11MB5664.namprd11.prod.outlook.com (2603:10b6:a03:37f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.28; Mon, 24 Oct 2022 09:02:39 +0000 Received: from SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::1a91:6a56:1250:ef0e]) by SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::1a91:6a56:1250:ef0e%7]) with mapi id 15.20.5746.023; Mon, 24 Oct 2022 09:02:38 +0000 From: "Xia, Chenbo" To: "Wang, YuanX" , Maxime Coquelin CC: "dev@dpdk.org" , "Hu, Jiayu" , "Jiang, Cheng1" , "Ma, WenwuX" , "He, Xingguang" Subject: RE: [PATCH v5] net/vhost: support asynchronous data path Thread-Topic: [PATCH v5] net/vhost: support asynchronous data path Thread-Index: AQHY53p0en3HahCWGUCQ1w7Watfkxq4dProQ Date: Mon, 24 Oct 2022 09:02:38 +0000 Message-ID: References: <20220814150636.2260317-1-jiayu.hu@intel.com> <20221024151434.1051251-1-yuanx.wang@intel.com> In-Reply-To: <20221024151434.1051251-1-yuanx.wang@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-traffictypediagnostic: SN6PR11MB3504:EE_|SJ0PR11MB5664:EE_ x-ms-office365-filtering-correlation-id: 95ad32df-53f0-4c55-5740-08dab59e8054 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SqTy4WESLxmXqokntF74SH64Gd1TgNj8kX5W7MpYVyoANKAPyBnxiw7J72pul6X9FOWtJQdEFwdd+uCQ1cbeokIspz5XaGee9GI9D/L01EGVnSnKyh8jOIasWyfVZqPHwlvXqimhtAK4duIld97099dfxCon8TnOEp4UlTTEikNXhXamJXZVp9pCzY1JlnXw5G2/bkBCR5VmOv1H10GmLuxtH4IzqcEnh9yNMmPn3KI5qkVH4ioz7XhChwWTCcnvmPgpkwczCog8PXymB1FgGz+jE8ubuxlTF2/d1wYMFt4yWwJNfY/4VV1gt877+wkowTRnwEjS/09bLiqaXYg7tRdkOpI8tOscb+rfJRX/ZErm1607CExYtrOH4VD3KNNRrHFUlGYjWmLsiLmmBLw0Qhvr0woHPFwgpPohquo7iw4RvgEnn0NNU0m9PGlylHelX65LkE97IRARWwP2XfiGmEAZM8oYOys9eIs86FqdOs6FzS2CMPmoThjdiZEJvaRXziXhzTEDjIjZyuz9peMWL44LWkUBiRxgy6ak/huM8rWbFKmq0oozuRSxhW1Zj38/tz4Un1jHiIsuioBLdaIHo6mt79/z3YhXeE9jc1jUl3HnOYRQ2Aa/usBQ9irs8OGAhIHfo2m8SXPqzqC3o+kIAWZDP5NyzhXekjc/aeKfC1YgEDvJ/Z0GhEDXKHfFvmzWC+v8UBK9whbWg1/cweWvVpDhb9W/b6iEILDsYwaPlH/Nv8r6gROaY7gZOw4OGvIRs5ge3hIUrBq0ykmkGwkqcA== 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:(13230022)(136003)(376002)(39860400002)(346002)(396003)(366004)(451199015)(33656002)(38070700005)(54906003)(110136005)(2906002)(5660300002)(8936002)(66946007)(66556008)(66476007)(66446008)(64756008)(8676002)(4326008)(41300700001)(86362001)(76116006)(316002)(52536014)(6506007)(9686003)(26005)(53546011)(83380400001)(186003)(82960400001)(55016003)(38100700002)(71200400001)(107886003)(7696005)(122000001)(478600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?qyENRQhS0kJzovBmPcc04NIagikDc8hrGWoupOGOogKSVEYeRNO5Ec/wGV8C?= =?us-ascii?Q?ZWjzyfnCnbdPmaK4iHK0nsvWnFrJmbOIYVmKpEgE19eThBhnwiATUz+AmW9M?= =?us-ascii?Q?i+7684xBPkAqgH5Zq4b1nmlt4hsqdYdiobVy6fiUNvUAk9DIYJDgkg7LgKhq?= =?us-ascii?Q?mFFzFKyUNhuowCGAlf0bNh2WzmRhGmXjXS31TT01x6QRRHofGV8V/PBnogPF?= =?us-ascii?Q?F1xRKsIGB/lCCry5/xE8plxgK3Jqmjuy1HPq/hKSc8//BAZMTq9ADSvkezN1?= =?us-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kMKUrv4fBOt9rdtLZYZmBLNN+d9kLtg2gQls?= =?us-ascii?Q?VTOQiMhh/01xtCIQgB6G4p+IFsH1Z+J87JL6eflSPsPk0hlkbcbcMluW17Hh?= =?us-ascii?Q?HrqfIanFFH+zD+Pob8Yu4RtrZ0xoI2QWxc5HCSizz4lLQHuHn+yGOTDJJiKO?= =?us-ascii?Q?BFtg3OikpFxOHj+LyVl/s1LKpUX3R/j1bqsp0UlpCUn8hUL3W6Fqy9XNpvDA?= =?us-ascii?Q?haO5SlIBxhS+1vJS06NasK0OfrPLExlRexkFgHZt1L3pBD5tR60Oc+q5BNq5?= =?us-ascii?Q?ygqRDIkXPjeIwJvMKBTCBQaYYdkG086UvQKo9qaAEOnXGNKVQM9zxVnFUKcz?= =?us-ascii?Q?4y56P6uHDlDezcDU3VuoxXtnZcr/rQF/B/LX1nVKMYq/uB4u/h9QCuu3xBGD?= =?us-ascii?Q?5fxkrkp+LQnhz84VRCbHP027MJlEJFR1ORg8Azc7?= 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: 95ad32df-53f0-4c55-5740-08dab59e8054 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Oct 2022 09:02:38.8192 (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: yBux3KKOBQWPMqURu6z0QpyqWkrY9oex4+h2Ki30+su5/TXw+wXSG5lDVZEla0w1eVmJw6pa6EfMG3fuOnyLIA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5664 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 Yuan, > -----Original Message----- > From: Wang, YuanX > Sent: Monday, October 24, 2022 11:15 PM > To: Maxime Coquelin ; Xia, Chenbo > > Cc: dev@dpdk.org; Hu, Jiayu ; Jiang, Cheng1 > ; Ma, WenwuX ; He, Xingguang > ; Wang, YuanX > Subject: [PATCH v5] net/vhost: support asynchronous data path >=20 > Vhost asynchronous data-path offloads packet copy from the CPU > to the DMA engine. As a result, large packet copy can be accelerated > by the DMA engine, and vhost can free CPU cycles for higher level > functions. >=20 > In this patch, we enable asynchronous data-path for vhostpmd. > Asynchronous data path is enabled per tx/rx queue, and users need > to specify the DMA device used by the tx/rx queue. Each tx/rx queue > only supports to use one DMA device, but one DMA device can be shared > among multiple tx/rx queues of different vhost PMD ports. >=20 > Two PMD parameters are added: > - dmas: specify the used DMA device for a tx/rx queue. > (Default: no queues enable asynchronous data path) > - dma-ring-size: DMA ring size. > (Default: 4096). >=20 > Here is an example: > --vdev > 'eth_vhost0,iface=3D./s0,dmas=3D[txq0@0000:00.01.0;rxq0@0000:00.01.1],dma= - > ring-size=3D4096' >=20 > Signed-off-by: Jiayu Hu > Signed-off-by: Yuan Wang > Signed-off-by: Wenwu Ma >=20 Sorry that I just realize that we need to change release notes because this is new feature for vhost PMD. Please mention the async support and new driv= er api you added. Thanks, Chenbo