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 279C1A052B; Tue, 28 Jul 2020 14:26:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 274B01BE8A; Tue, 28 Jul 2020 14:26:25 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140057.outbound.protection.outlook.com [40.107.14.57]) by dpdk.org (Postfix) with ESMTP id 605CE2B8D for ; Tue, 28 Jul 2020 14:26:24 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eyFiqi/bW7TYr/0nR2S1a1oUgG7LS7bwMxFD7nI+j6YZMA7Pg1twMHXOnf8EtFAB0rfwNjL4KQm9jD1j7WN89Rdu01l7dnvx+thY6JTU/6T9eEJn3HuaRbqWKH5dQh/fa0Kv67wsvzH7px1OV2U7fJLk8TQYRYot4q/Zw84OUoFGvsTq8ImfdGpFy3pk7+7u9b/jHR3MR1niw4KjCEVHqijzCCDGG5R1Q7yowZckKTbVnjAPEGXgv7goTOdVcTK/3zzDxB0pbqWh9uwt0C/CnFiIl9fXj+ptChMsKF3E54qzoVwkFgnA2WxcI2M/2rTmzM+Vqvqube0yrbBBZcN/IA== 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=4xvV0zW1CEkHyNvNFfNjjQERZHirjmv9LUaMyEI+e9I=; b=KRx0K1jGeu4yYrdfMlriMuSzv6r07BfeJvTT9js8YP+T+bpnHff14rDkg14cOdapnTvo7pn9mXjWPrVMOstJ3K5zT6pY/uXiRFuQgmp7swp6cxbn95xMQIFR7zxdC8AtUn8PIw5/NY7v8B5cKn23hITY2sNao4Eedv7WwMMn4LmPDv36Ixn7d6N18Jug51dy5m4RGO01YODXfctL/LK8/aW2KsOqlBPrVpxMVEIIe2osp4CbeqNuxA2ljecQUZtofMPjeiEXWPIYdwySCMiYImhskGPhdFL8wgXMyMwY23gZuAu2U6ELQG6/2ZJTSa6+/iCwlDhX/f66W8MOx4SvPw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4xvV0zW1CEkHyNvNFfNjjQERZHirjmv9LUaMyEI+e9I=; b=Ua7Cd7W44BTZWekcuxRPbrG3LQ9xUw+STk9rvM06+598fyZleR1RNIT/e1vKiMgTEs0CZGdhcTAA13yq2kSZpsi8+jqWky9eRFIGbPpKbbICfJCGJGKH1GyidF2sxhI0l5xDvtrZuXA8UNtrlZ14Ttm4xwuKqyQTr8fUHlnTqi4= Received: from AM0PR05MB5204.eurprd05.prod.outlook.com (2603:10a6:208:ef::29) by AM0PR05MB4356.eurprd05.prod.outlook.com (2603:10a6:208:58::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.26; Tue, 28 Jul 2020 12:26:22 +0000 Received: from AM0PR05MB5204.eurprd05.prod.outlook.com ([fe80::602e:c058:6b61:91c8]) by AM0PR05MB5204.eurprd05.prod.outlook.com ([fe80::602e:c058:6b61:91c8%7]) with mapi id 15.20.3216.033; Tue, 28 Jul 2020 12:26:22 +0000 From: "Xueming(Steven) Li" To: David Marchand CC: dev , "Asaf@dpdk.org" , Maxime Coquelin Thread-Topic: [dpdk-dev] [v2] vdpa/mlx5: fix event queue number query Thread-Index: AQHWZMCxk0OQxgffJUGMJ0FDCawjYKkc5TWAgAAFvoA= Date: Tue, 28 Jul 2020 12:26:22 +0000 Message-ID: References: <1595916684-30135-1-git-send-email-xuemingl@mellanox.com> <1595928159-10346-1-git-send-email-xuemingl@mellanox.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [180.162.35.218] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: af4c8b45-9509-4335-cd27-08d832f1707c x-ms-traffictypediagnostic: AM0PR05MB4356: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vY3SxWYo1nJ/JMijexAkWLYHekBz5XlauipfALP7UoOzoBVIGWnJ2XVa8CY5u3NVDhn/hq9aZlAyveTOUnva82RaHceU0a6MVfkmqzGNVfxSd6GV2V3fuJYtGaRDszGA/6WYi4cSsSgShiGsFxC4t/bO4JY2UzVbD1L5C+8OSHD2w2cwY1p6wbt/wZdZCKdoxSVWk26mXvul0UkiMzHquvw5IPnviylXKNuZ0ql7kYws+VWd1Zyq9KTnsUyB3jBwUJO7lbTISfF2O9WAAcJDbnRAJX2qge12jMS6XN9GXjK4j1kprND1f2pmf/XcR/pwdGdZNsmsNlhk8Mgm3VhGvw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR05MB5204.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(346002)(136003)(396003)(366004)(39860400002)(8676002)(2906002)(71200400001)(316002)(55016002)(9686003)(76116006)(66446008)(64756008)(66556008)(66476007)(66946007)(52536014)(8936002)(6506007)(53546011)(186003)(86362001)(478600001)(33656002)(54906003)(7696005)(4326008)(26005)(6916009)(83380400001)(5660300002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: LZk4f0/LecQZPNr6QEEmpxViOVGpq3iAJMEAk+og9O4srg9JT5Pp/RiP03v19FFrsZXrbWAo8/KCU1SLevjmWSCWmbWs04iFdDHdnmHq3CkpkelePPO5dvQRx3xBvQOrt1mOE46OaxlgRn+LzrZw13pYeRDB4ZgrmyJ0weY8Y7riH8VMuQgd1x3GBmdvh07n5F5NDdHyt9C/aBKbhLeAR+zS/PSpX6/hjuQSShMwkKXvhbDwmWtMusAmdWvpa/ImfokoBFfBloZFo3MQS8SyxQ7VKAMNvG3MRMt+lh1DeUO781REOlP0/FwTDbDwd9cYy3MZgv2AgBl9+ncn687pDkvGjuICxuf0CupENL7ekhkrHp6UPVtXF3H1Jf9sY6P16N0AagZa2nDiQPQp5NQPB7MQrQKe0M/ixqo5/1vFSBwmUKndYT3btSq/RnOOwmIqoF55BYACaiPKox/HwgXpmGi6vry2M1SA/pDht4z7FIyj+Sb+HqyjFolK4WDqAwmZ x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM0PR05MB5204.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: af4c8b45-9509-4335-cd27-08d832f1707c X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jul 2020 12:26:22.7789 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: QTI4Jr187vGfK+o5x/kOCKkDOTbXpbQqdCDNgTGjvlxTxXH8/CnZvEvU24dPSLNiFObAmhjH7rgUUfWclvI8fA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4356 Subject: Re: [dpdk-dev] [v2] vdpa/mlx5: fix event queue number query 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@dpdk.org Sender: "dev" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRGF2aWQgTWFyY2hhbmQg PGRhdmlkLm1hcmNoYW5kQHJlZGhhdC5jb20+DQo+IFNlbnQ6IFR1ZXNkYXksIEp1bHkgMjgsIDIw MjAgODowNSBQTQ0KPiBUbzogWHVlbWluZyhTdGV2ZW4pIExpIDx4dWVtaW5nbEBtZWxsYW5veC5j b20+DQo+IENjOiBkZXYgPGRldkBkcGRrLm9yZz47IEFzYWZAZHBkay5vcmc7IE1heGltZSBDb3F1 ZWxpbg0KPiA8bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb20+DQo+IFN1YmplY3Q6IFJlOiBbZHBk ay1kZXZdIFt2Ml0gdmRwYS9tbHg1OiBmaXggZXZlbnQgcXVldWUgbnVtYmVyIHF1ZXJ5DQo+IA0K PiBPbiBUdWUsIEp1bCAyOCwgMjAyMCBhdCAxMToyMyBBTSBYdWVtaW5nIExpIDx4dWVtaW5nbEBt ZWxsYW5veC5jb20+IHdyb3RlOg0KPiA+DQo+ID4gV2l0aCBsYXRlc3QgcnRlIGFwaSwgdmRwYSBl eGFtcGxlIGZhaWxlZCBvbiB2cSBzZXR1cCwgdGhlIGFwaSB0byBnZXQNCj4gPiBldmVudCBxdWV1 ZSBvZiBzcGVjaWZpZWQgY29yZSBmYWlsZWQuDQo+ID4NCj4gPiBBZnRlcg0KPiA+IGNvbW1pdCA2 N2FlNTkzNmM0ZmMzNiAoImVhbDogZml4IGxjb3JlIGFjY2Vzc29ycyBmb3Igbm9uLUVBTA0KPiA+ IHRocmVhZHMiKSwgY29kZSBvZiAidmhvc3QtZXZlbnQiIHRocmVhZCB0byBnZXQgY3VycmV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