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 8C6C0A0C41; Thu, 16 Sep 2021 08:38:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1732E4003F; Thu, 16 Sep 2021 08:38:40 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 23AA14003C for ; Thu, 16 Sep 2021 08:38:37 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10108"; a="283496851" X-IronPort-AV: E=Sophos;i="5.85,297,1624345200"; d="scan'208";a="283496851" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2021 23:38:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,297,1624345200"; d="scan'208";a="545395664" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by FMSMGA003.fm.intel.com with ESMTP; 15 Sep 2021 23:38:36 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 15 Sep 2021 23:38:35 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) 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.2242.12; Wed, 15 Sep 2021 23:38:35 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) 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.2242.12 via Frontend Transport; Wed, 15 Sep 2021 23:38:35 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.106) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 15 Sep 2021 23:38:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f1j+vk+nKfHyfYjFGd1xEtfZJ/e4m4uE5QETu8NXyha8grFpmMtBHdgakLki1nVEZJ+r3xdawOUzSi5+n4gg5y9F97eRbnowAMeLU97zjFB3jtBaNZASs7MwMi0qyc1nUunKhwkdzEyrpiMfP3m2szrVSlbyZudyQ/Z3phtheIHlkQnWe+VbnLm/mWt9Feh6b8ehAuGqw2+X5I/QHap/bLWFFDZSOkscCJwOzd2vPomDmhItjxdeL8kYWRj5/XJn/Q+epolQ2ruhs2sOrLZoOaw6grlBo61afIp7FepKLTWdRTtgSlpVKBnZsdU9FtSe5Gt6J22RGhwnTRW/3+Q6UQ== 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=U+mphQCjhjvihmRqw8dfEStwmMXOJVx1yHOJRnbQoRA=; b=E784ybXfg8oAPeUWZ/Cv8vXp2eLbjXaN6OElxq0JwByt//SNM/BIi7GNQ6O396PhJ54cg9vBDGz77Cynp2oJzEUnygNr0XeUu642CC/AVDYNIRvdPsZ/cBZI3VC4Idwvfinv1u4kq5FzVrL9dMh15yvabs18RyaxIJqHdQg7d9GXK/NIzfIHU9qkKLH6DGWo1900LeF+zcbs+c0wzm3vkesMB05nu4NEqETnGRiUOI5hzZe9/sDcBCPZmTtE+T2Ywb82flzv7eEYY0Bf/DdM1T3dZmCmHQMe0IsKBVH9eyV1KujJspeseAnU5J6n9BxCFnPpZG5grrYdEYYUv/SH6g== 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=U+mphQCjhjvihmRqw8dfEStwmMXOJVx1yHOJRnbQoRA=; b=waJFapY7vAvmOig+HkBeDdk76+yh/vUkBY9PyxZf/BVE0WJb5Ma+8E68CdnMTTjRoD8D7Lqcn7Y9MJNTwcrAOcqHK7SRf6hAXmRXaM+Al4PWR3wtpPCbV7rXpcvcowTtdU4xVSuiT5npMwB6Yyu+V/Fto8ka72EAZhITuyDjiBU= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by BL1PR11MB5511.namprd11.prod.outlook.com (2603:10b6:208:317::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14; Thu, 16 Sep 2021 06:38:34 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::6873:dced:7f68:801]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::6873:dced:7f68:801%3]) with mapi id 15.20.4523.015; Thu, 16 Sep 2021 06:38:34 +0000 From: "Xia, Chenbo" To: "Li, Xiaoyun" , "dev@dpdk.org" Thread-Topic: [PATCH 2/8] app/testpmd: use PCI memory resource access APIs Thread-Index: AQHXqsGJi1s4EnYwLUyNwxaypB4slKumNGxw Date: Thu, 16 Sep 2021 06:38:34 +0000 Message-ID: References: <20210910022402.26620-1-chenbo.xia@intel.com> <20210910022402.26620-3-chenbo.xia@intel.com> In-Reply-To: Accept-Language: en-US, zh-CN 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: 45007066-9146-4323-1939-08d978dc9b67 x-ms-traffictypediagnostic: BL1PR11MB5511: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: G6NSLZxXF8hdcjoEJNSv2HCbBwEALUJdjiHrwfqv3a67AfH6ruAIAkuf/UGjzNfHl1gdhu0Qt1Mh9araIKRa3/fSDL0Z86cUj9e11kuzt+RlmIil9Yv/++EGdwRtuXPQ6ap+Q4pMGxC7ljNxp7d5Yy1tPKPADVbTKysX3ajt1+mED4/aTFZ7NMEIEy7zEwXz7b4JHToycq1/t98nz6QlQt6Tgyace4CFxeX9tNydPgRGW/1GeFhClnW5jQGuQB1Yu3DNS9VIm5JpCtpzM1pbnk2qk4QxcKxYDArHJ41BpOavyDMQeI/JvenCrbV9NWhC2+1eL2+V6K1X7KlfjtCO378vyfGFoZ9KNRKb5mtwRTxb6djOl3eBknslFd67qTIG9QNBQHFjGiBWHILX5rSmWHmSeLXBf8k3mtxCOKDRgO7w1NCbipIHDqo3X5NDXZwfxA16uaYWdd9+vaSuov0+p14QphYYzDWys0t84H85YcEvC8yxUzFoAWzGwEYVd8nWrf0FJWKcDZtUotvzKxjLdYzEir2tcSJJotw8O24kvprFn3dEii+hedM5KLY0xbnpFcC+ymqxTehAOzULnGVb06sJeT8ahZDds4uQUcITv2oB/6wRG8nCoeJ6syuknSeJKBVNiT0ML5UUCckayIPeWHciLv8HvoSlvEL+xPlsLH2MWIpWXSQ69mc0RH2gmsOvgUNvHq0e4tZZvMhuvielfA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4063.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(346002)(376002)(39850400004)(396003)(366004)(26005)(83380400001)(186003)(38100700002)(122000001)(316002)(2906002)(8676002)(110136005)(38070700005)(71200400001)(7696005)(55016002)(33656002)(52536014)(6506007)(9686003)(53546011)(478600001)(66946007)(76116006)(8936002)(86362001)(66446008)(5660300002)(64756008)(66556008)(66476007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?di9Wd2ZzQ09RZ0ZtZDRHWmpjbHdOUTZSMzIwbDNwUnpvY2JkbE9QdE1FclNR?= =?utf-8?B?eDNGZjdHOU4yVkVjL3RGWCtxSjFJOFlaQTl5RktjdkFqemdpZlozYlIrTkFx?= =?utf-8?B?T00rWTVRb1pDMUVhV0cxU0tiWFhCUG9xRGExbCtMRmVEeXRpV2oyWWlkNUM3?= =?utf-8?B?ZlRPbEhxT0ErL2hrWDc1ejFyWStLTGtqdEsvU2VXTDllRmVDTWtyeVRYZHpN?= =?utf-8?B?dEQrVUxaY3RHdndYemE1eGNHRW9vRnAvNW9yUUdyQmV3TjU2dDRlNm9FVG9j?= =?utf-8?B?ZTltZS8yZVFtYStNSkl3dFNjVzB6OWtkRGlxRVQyc3RNanRwYUc2ay9oQ3ZW?= =?utf-8?B?Yk9WcC9vOG9RMFAySlZHK0xvZ3ZBY3BvVDh3ajJ0YVlPRVBHajJEcUtZeWxu?= =?utf-8?B?anY1RzN5YitaYWlqREZaUkMvYUpWcVdUblZWM2I5VFZYSndPNmxFaDRwRDJP?= =?utf-8?B?VHhXaVFpc1RHS3F5NWIvd2p2Z2V0UVRqQlpYN0g3TUZpemZjYTNGdVdLRUxy?= =?utf-8?B?MzAwSWhJMmVFU0NDam5ZMk1xYjZqYUtsaXI5UmJyWVk4NlRNcVVtK0RwVTBJ?= =?utf-8?B?aFpnOHlxV0s2ODR5Y1doSS93RFRFMWVsZnM1Ui9BbXp3MDBEdWdFQVlxNG5Y?= =?utf-8?B?ZWpaWkVYK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=?utf-8?B?Y21qYjZOaUFkdk9kT0NWRm1oL3h0QWpWSk1pblBsaVdUM3hqcnAvMklBbzg3?= =?utf-8?B?QjFyM0ZLRStFWTlHSlNmbmJZb01aNld4N1BSbkczcnp5VytQd21BSktjVzhX?= =?utf-8?B?WkdjMmtvMWVOdkp6bk1CUmdSRjZDZFFRVXIrQXNFM3RzamYwbG5YZnRCbTFB?= =?utf-8?Q?ijWwDPgyXm47G9kUTvKTF5M4qxBQJMIgnb4f1OR?= 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: MN2PR11MB4063.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 45007066-9146-4323-1939-08d978dc9b67 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Sep 2021 06:38:34.2350 (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: qcQzG+ogAKJKFTRRTgY9ToNuuTM41P3c4iRoMDg6FIEde11pJ+3CazYcZ3kIk7LTfGfigev2E6yP3BF6amkIqg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR11MB5511 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 2/8] app/testpmd: use PCI memory resource access APIs 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" SGksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTGksIFhpYW95dW4g PHhpYW95dW4ubGlAaW50ZWwuY29tPg0KPiBTZW50OiBUaHVyc2RheSwgU2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