From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 37016A0526; Tue, 21 Jul 2020 04:57:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E38DA1BFD4; Tue, 21 Jul 2020 04:57:42 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 8AE5F1BFCD for ; Tue, 21 Jul 2020 04:57:40 +0200 (CEST) IronPort-SDR: Eut9OBTq/t6ofaEvVJid2Wt71NmeCnnb3W5pDV0rO+LuudYZmK4kAGhLGM7MeRCzVZ2r7pUgGF 70DVUF0pKChw== X-IronPort-AV: E=McAfee;i="6000,8403,9688"; a="168192354" X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="168192354" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 19:57:39 -0700 IronPort-SDR: ifIaz2SOAo8T1iT4jxGEOaTnSFUwWkVQuYFTvJJptyOZIdRGa+xYe1YQZaYeUDAT9jFcqEmFos OpH46h8jkqKA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="487458000" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga006.fm.intel.com with ESMTP; 20 Jul 2020 19:57:39 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 20 Jul 2020 19:57:38 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 20 Jul 2020 19:57:38 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.48) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 20 Jul 2020 19:57:37 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LuURSh1kU+aHWgfCqGa6IW5qORWzdkZ0BghR8A4EicyVQM+GmKad8OXWSN77XHWRtrLvZbcsIHOx4x7iAkF/RdOv+sf+HEkY9Cv43OGpLe+SMmvGFafCbyGEY/1JtJqKdRFRdYpESMRk0U/cBVPKk8ZYS0TYmLuZKmwsiYOkjv8+DR86Pa/znujMnqgPsjs+VCD10REEr1fq/1L4rPOC+d+/IqkbbjYOK1U1/PbGIToWTsiAPYaDP3U3b0Smfnn80bjZ4uW3Upt8iwM45ANogFI8qO4Dc9csbamFiymb7Mfk/97e4n6oJsPkT2lgQgcaKwz9cyrMBUZPxrilw7eu3Q== 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-SenderADCheck; bh=VZf50qIqpjlvKwafA9ileX7O43DiZWbcWipvN0ytgeo=; b=iD9vKtn12mUPqG36ExPFnta3pQf+rGe8f7f+FSoQhypL2NdkppCE6NS8icBb+p4zzm3+X7Cv7CkXzJGMlUkLQ68cgvatilEdH/ko3+rzZNObtGnIBXi1wU0u1No6tHZlLOOoNn8drF4VjFCRmMqTXtG8CVZDkGhLDb8qgOOAoX+zt2+M/mmxC64DB2O9z/KbvwGkbdfqb67drWNPjMPRrcBHOs/14wjFVHCG1hOczpE5NJYoH6VQQ++s+Di0+uOnGuavU3Tia04fGNonDG43tUvq66HkQqvSrfpVoXqh3iHUZw/JQpiNYoA4j6AJY8489pu/ID3v6TOJJLMGjsjwgg== 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=VZf50qIqpjlvKwafA9ileX7O43DiZWbcWipvN0ytgeo=; b=eFQDEj4oNPbqZAOXSwXULLzoPIbLKAjSOtGmeaMuzzIzf1RN9heykKzFWjasMxJeKDXyv7vNhkK1iKI3EAo5en76PksS2iVgN5SU8mcfGzuvmdpnr6aXlVVPpDH2A3q5CP4ot6pSd2UnhFIsZ6Uq40SWblrUFCMZDgMmC6anGSY= Received: from BYAPR11MB3735.namprd11.prod.outlook.com (2603:10b6:a03:b4::31) by BYAPR11MB3527.namprd11.prod.outlook.com (2603:10b6:a03:8b::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.25; Tue, 21 Jul 2020 02:57:37 +0000 Received: from BYAPR11MB3735.namprd11.prod.outlook.com ([fe80::2571:24e3:140b:d78c]) by BYAPR11MB3735.namprd11.prod.outlook.com ([fe80::2571:24e3:140b:d78c%7]) with mapi id 15.20.3195.025; Tue, 21 Jul 2020 02:57:36 +0000 From: "Fu, Patrick" To: Maxime Coquelin , "dev@dpdk.org" , "Xia, Chenbo" Thread-Topic: [PATCH v1] vhost: support cross page buf in async data path Thread-Index: AQHWXkEdpJTLTsUq0EyV3p7ez+MZBKkQrCyAgACnOLA= Date: Tue, 21 Jul 2020 02:57:36 +0000 Message-ID: References: <20200720025242.3066787-1-patrick.fu@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.200] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e953d0c8-c487-46c9-23a2-08d82d21d2fd x-ms-traffictypediagnostic: BYAPR11MB3527: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: cO0Ga1ulVmv3128gItkycup2qzy/6UW1SjdEqBck6Xlzc6YsSOK/ziIfPDuGNSCvlE0nbB5XGpgzL6qvk2g4d5/Ib+9ZbGKvxh/M48hArnulLzRS/VpftJl9NVxZSnGjoCk8kcBvH/hqmYSTUXBl8DJCHAHE3ZcC9esmPOohGnAD8UkUxvfJDGe1DR8gKpnjCXOVWnLK9pErhSV2gHZf/q3l1BaazsGQOQ2r6xEuaiefXXR0ejcJ5Azii6qQhEMvLVOVnpxkwMghturWWsLWwm/u3LcK5y73TGIRgqkYQUG1/sZuV55t8+vdBxrok+7duKVcRC8+1gQVBP7GOtFceg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3735.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(366004)(136003)(396003)(376002)(39860400002)(346002)(5660300002)(6636002)(7696005)(71200400001)(2906002)(478600001)(83380400001)(186003)(52536014)(76116006)(66946007)(86362001)(33656002)(66476007)(66556008)(64756008)(66446008)(8936002)(26005)(6506007)(53546011)(316002)(55016002)(9686003)(110136005)(8676002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: F0QDhQwGa2GZ4O5yuyvGzl0/0q/YGmhj6O8MlfiyS/SIXoKuH3MhdjIwmm2NOZT/OO7N5JVpbj/Ev+/bNXv5gTvFemnFdwTZ3X60NKnLqQK/KyAnRXZjGrzDt8CJfD5W6b1GEtUv5e4aF9d4OE8eCsJLVYe3KphSDAOuL+KY7DrBJJ3M1NeV6S6L3dUbYW+JC9S/iQAR8raR/Qsnve9KvD+zZquBZZCci8L6siojjzpjFsBpXRdTkf59YgwSfGNv+vd9ibclVklRaGVlkNdHnZ6v4D69e+rlGf4jXzFK82rDsrm6IESItSZ3/HEr22AgLmkLqAjrkRDS8l/VBCAVeb4hM/NHrJlZmLFaCt8W5YiS2F5kD9Ie79DmuLYUMzZCiKYbJntCjLk+v+f2MuUxirx/IljAkkLGzlNVfNqzpYaItMPODlr4/fnV9OvzXmaC+3diq2umXSdEOcoi5p32lWlGamjJeipntkbIl3m+ap7s6aSSjEPllMkrT0gNQ68z Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3735.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e953d0c8-c487-46c9-23a2-08d82d21d2fd X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jul 2020 02:57:36.9191 (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: Fiu9gkogqy+DCL+HNv8BnU5mKeqvf14czpCRoDg5ss/RqkSUvkVwb5WHqOvWNk2i9tUuniC+bM7Y+AoIaDMIwQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3527 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v1] vhost: support cross page buf in async data path X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@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