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 0AE1CA0C4E; Tue, 2 Nov 2021 08:36:55 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8ABC84069F; Tue, 2 Nov 2021 08:36:54 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 8D9A94068F for ; Tue, 2 Nov 2021 08:36:52 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10155"; a="231461107" X-IronPort-AV: E=Sophos;i="5.87,202,1631602800"; d="scan'208";a="231461107" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2021 00:35:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,202,1631602800"; d="scan'208";a="500406073" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga008.jf.intel.com with ESMTP; 02 Nov 2021 00:35:22 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 2 Nov 2021 00:35:22 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) 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; Tue, 2 Nov 2021 00:35:22 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.101) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Tue, 2 Nov 2021 00:35:21 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=be9UxkERIRaHTdZJW/qWUFARmZxhlLSVwNnk8A6ze8XYFJTTz0xsL1mLudh2JPj0isMn2xDeHaV8ACQcDApycAxyxB38BpDxnX/Z1/1waB1kueftSX+4QnV8JMSYcZoAKq+FIwRcyyzTE05EKrF7UfXXYIfkk+YK/4F30nn/s80M/Go7MTenevyNWCxjwzQgUI7qbMijZGPd5/tly/0C9m6UWTRKxYbQZulZMLeAnGnPhmZsJl7mjVn/RWcpuf7ykPYxuTXT1V/QwWbvweHUGn14nuMG9cONV5D3U8H4WkJ/MSjpWIVxUbWALpcF0vk4yCLJnht+VCYvZLMb7EfkKg== 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=sSku3NFg9Tg0ZVRn2VFWnmSM2a7frNb3U4GxlhtMzAE=; b=HC5Egx2zyvpw6K+86VBQgkUz7EcTWNYTL0D3sQKMxtOW6auFwtE35I8plKuoiurnlEOjdHjQfkYmP5ZVyBGW6sLHbmww8uyJQoUTAxIJk87QvF7dQ4khMaG2n/Xl7wKedvSTRZDGCGhmg1bzHULr1/+U16LxTtAXj3DmtIbK9tjBCym3J1lo0B8sXCW8xi32ZXDERBfJcAOrSvL4fNbYd/2OuMq6fgOJwiSsxg9jhvKjmrk1ucHZe/wnM6PCKBEWztjidDG2T6aMPtrM5i3Dyr3f4NrZHvgzbRV+q2HVQKdS+1OOrIm8lNQfh43EElaKbRV1geialds6tOECrKrVkA== 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=sSku3NFg9Tg0ZVRn2VFWnmSM2a7frNb3U4GxlhtMzAE=; b=LEOOSlvQw8ZguG/lyghWC8AOnvAcJ/PzJh+sij9l/OfeOKmzTA+a6tVJSvXrLzAdWtgDarRMLcBUumiZqQmXIKLsNyfB62lpaBw4qYKSfeKgzm1qzDEVANGTbirlZnBw3Hlb9DypAIwSyTT3mU/cf/1KS4cPoNtBy4jeAKJMSSQ= Received: from SN6PR11MB3504.namprd11.prod.outlook.com (2603:10b6:805:d0::17) by SN6PR11MB2654.namprd11.prod.outlook.com (2603:10b6:805:54::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.17; Tue, 2 Nov 2021 07:35:20 +0000 Received: from SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::94ce:97cd:1b5f:b511]) by SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::94ce:97cd:1b5f:b511%7]) with mapi id 15.20.4649.020; Tue, 2 Nov 2021 07:35:20 +0000 From: "Xia, Chenbo" To: Vijay Srivastava , "dev@dpdk.org" CC: "maxime.coquelin@redhat.com" , "andrew.rybchenko@oktetlabs.ru" , "Vijay Kumar Srivastava" Thread-Topic: [PATCH v3 07/10] vdpa/sfc: add support to get queue notify area info Thread-Index: AQHXzNQb2t+SzW9QvEOEOOQjfbCrE6vv2Xqw Date: Tue, 2 Nov 2021 07:35:19 +0000 Message-ID: References: <20210706164418.32615-1-vsrivast@xilinx.com> <20211029144645.30295-1-vsrivast@xilinx.com> <20211029144645.30295-8-vsrivast@xilinx.com> In-Reply-To: <20211029144645.30295-8-vsrivast@xilinx.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: xilinx.com; dkim=none (message not signed) header.d=none;xilinx.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8d2d8154-c90a-44d1-07d8-08d99dd352b6 x-ms-traffictypediagnostic: SN6PR11MB2654: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jZeWFltSU12nnY22pI/w2jiRyvbMKUuuGwZ6/Zk4QaRaTRu3R4/EDERSWEPsyVwH/SPR/3Or/pIxNXYD4Vr63vjYHyiJ7hiyxs7uQ7Zv5+iqmk9jzhKTTYsH9UVbKxC3TPXVqw1K6TsUSz796ZP3JsH1hOW+vcsExelYUTs7CgVgj0jiT8AnSVWYX9cJM8XTIsGvGxIYoUoMDaru/RY2V8sLA7RfDlfmGsPIvyzIP+/a8wTGKUI7bzTloPneRQZIC4NW9/g3y9kVowALMMctL4NGZ5QIA6vA5XIVDAFCQs0zrT1YkuSwDrPD+7961RBqlHl92y3Bqz+tPchTsjJvElvbj0H7/r3Iw0yMgpLI0mwoW9jSBfa1CQePYCyk+stVkD223+R+dOPQC7lw980awLuJaUwRvpQERRPhUpo2my32uiZqBxmxT8VGEABcf0dC/S4ZajeoENwCwti5pFgqZ5H4E7B2ZBFOxM4llIgP0LH/rHTRt45efLk4RqtmfMFBZBYxRCma/wrD3UuQL3EEZ6Qo3WS4BMhsawJlgjZa5NCV69A7+edjt1jWahRooyDw2CDVo5Mq8vKkCx5pZXhZggjzo2+tXMNsQxqToME/goYceiSeyV7gQ7c39dGCXw+G1EN8rurQacAwVwh0q1x9oKX90wyaYC18Hn4bpxaHXYj/OEEZOxXy4yA/t9udvmckWeqgIlYSPENvsYbVutbGvw== 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:(366004)(5660300002)(9686003)(2906002)(52536014)(7696005)(316002)(110136005)(54906003)(8936002)(8676002)(82960400001)(66556008)(53546011)(4326008)(55016002)(66446008)(64756008)(83380400001)(66476007)(66946007)(76116006)(86362001)(6506007)(508600001)(38070700005)(26005)(38100700002)(122000001)(186003)(33656002)(71200400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?N2gvL082Unk4ajdhYzBrdHV0b2ZIcnV2VkNTT1BIOGJHaEhJUDBiRDN6bmZH?= =?utf-8?B?Mmg0SEpmTWFjM0RLZDRwZnkwc2ZtYjlBeE1pOTUvV0g1QXBjbEdjZjBtZmgz?= =?utf-8?B?ZnEzSmM5QUtmYnozWkQrQjNTOCtrRWtiVDZPUXpMZU9xTGl3VUc0dC91dXNQ?= =?utf-8?B?NFBuRmpOdEpoTEJnRlE3YmZjRWM4MlVMajYzWWViRjVKYld4YlU5S284VXF6?= =?utf-8?B?QUdwNDNEN2pXbFZHaTRFVFg2UGlQdTlPZHRwRzNvY0E1cDZiQkZ4Y29rUEph?= =?utf-8?B?bUZlOGdqYTNmQ0hDT0hKR3haY1QvMWFwU0FLcmZoT0Y1a2VCbjBxMy9xSEY5?= =?utf-8?B?OHBvOXRNR0pVWE53R1NtbkEzaWVBUlg5UCtjY0JkY0dEeE5tN2hzR3lQWWZl?= =?utf-8?B?R2Rqem4vcGtlQy9CNFJ1WkFhSTVieGdhSmJwOS9UZVdnM1lVZFo1N2Z0QXlu?= =?utf-8?B?QVdNYmNNS1dBNmcxYVdNRm85c05OWGNNOTBEUzNPbUtrY0wyc3pjS2JXQzJB?= =?utf-8?B?SXYxNnZQSlU5QmpsZWhqejd6ZnZmWkw5ajR5U1QwQktsM1hZcWNIL0ZYM0Rs?= =?utf-8?B?UzZHckJ2aXM3THhHQ1VraU9kcXRIRitKZzhoVU53Wjh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NwanVsYm53UzN6Si9xOVlG?= =?utf-8?B?R2dweVNJaGQ4NWk5cndsS3dzQThYRkN0UEdVSnpzZjRGZGtTOG9qOE1YdFBj?= =?utf-8?B?RStRY0RjQjBKZEl1WXFDUzNMVlR2N3dZMzRLbmhxbklyRXlGVmMrSytQY1gv?= =?utf-8?B?dnZHQUROUzIvbWdlVW9ySWtia2h2em9UWWZwejNGTlpGeHlZTkVtSnhwTGtz?= =?utf-8?B?NjBSTk5ZeXc4QnhSbFBiTUJEd1daK004Ky9mcGgxbkN4L3diY1hyRmRhcmxx?= =?utf-8?B?UXUrTkd3Kzl5M085L1V1Z0Fxa2NGeFZCNUt5eE0xL3VHT3FlQkJ6R3NyVmVa?= =?utf-8?B?c0NKcEdCczZTMzdxbHI0SXU4cjd4czZmd05QTkw2MGlza2YxU25ReFBwRFdT?= =?utf-8?B?Q1YyZGFjMW5CNTZIMFB3c1RrQUx0Qm9ZajdnMUFzRkx2aVlJcUZHQkFVblJU?= =?utf-8?B?UzJYZmpSSzgydWRISTlFS1hpbW1GeXNwWGxZbGNPYm5reDdQNnFHZldQejB6?= =?utf-8?B?SncrcXdBQ2JuZFlOMmY5aW9ZWVE0bjFDVnBlZzFRYk5rcUI0bzlHSUdaTVNW?= =?utf-8?B?MUVCYVFuVFF4N1krUFRKZzJDMzRYWm9DcDRHTHMvbEZwVzdJODZkUmNFTXFD?= =?utf-8?B?dnc9PQ==?= 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: SN6PR11MB3504.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8d2d8154-c90a-44d1-07d8-08d99dd352b6 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2021 07:35:19.9458 (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: GdiqEADua8NfeDluZSv1iqYBQs0/tU+9XK1fCE+euHn5+rltowqosc5ah+AhQmxairpZuoFJWUKjjjtYGQhSbw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2654 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 07/10] vdpa/sfc: add support to get queue notify area info 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" SGkgVmlqYXksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogVmlqYXkg U3JpdmFzdGF2YSA8dmlqYXkuc3JpdmFzdGF2YUB4aWxpbnguY29tPg0KPiBTZW50OiBGcmlkYXks IE9jdG9iZXIgMjksIDIwMjEgMTA6NDcgUE0NCj4gVG86IGRldkBkcGRrLm9yZw0KPiBDYzogbWF4 aW1lLmNvcXVlbGluQHJlZGhhdC5jb207IFhpYSwgQ2hlbmJvIDxjaGVuYm8ueGlhQGludGVsLmNv bT47DQo+IGFuZHJldy5yeWJjaGVua29Ab2t0ZXRsYWJzLnJ1OyBWaWpheSBLdW1hciBTcml2YXN0 YXZhIDx2c3JpdmFzdEB4aWxpbnguY29tPg0KPiBTdWJqZWN0OiBbUEFUQ0ggdjMgMDcvMTBdIHZk cGEvc2ZjOiBhZGQgc3VwcG9ydCB0byBnZXQgcXVldWUgbm90aWZ5IGFyZWEgaW5mbw0KPiANCj4g RnJvbTogVmlqYXkgS3VtYXIgU3JpdmFzdGF2YSA8dnNyaXZhc3RAeGlsaW54LmNvbT4NCj4gDQo+ IEltcGxlbWVudCB0aGUgdkRQQSBvcHMgZ2V0X25vdGlmeV9hcmVhIHRvIGdldCB0aGUgbm90aWZ5 DQo+IG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