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 48B8DA052F; Wed, 29 Jan 2020 18:57:27 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2505E1C0B0; Wed, 29 Jan 2020 18:57:27 +0100 (CET) Received: from alln-iport-4.cisco.com (alln-iport-4.cisco.com [173.37.142.91]) by dpdk.org (Postfix) with ESMTP id 685A91C035 for ; Wed, 29 Jan 2020 18:57:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3848; q=dns/txt; s=iport; t=1580320645; x=1581530245; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=TX6l60yGvf8UWPlSBTM4DsNG5rUwYsYjtqCLgcb++G8=; b=hHypBmTeKpDzf3S92OMUb96tbLtDQNGTtSw18xGE26L7rjwmUY8auhh6 5S9rKomOZv1OMJ2tu14d6QftftTozMk6jYqVdnCchuBTRlZWEQxTyLrj6 JFNEdN2M8pQnKTiZWsh0CXDNzRp9iHmbMBOkGUzT3e9TF3Y5s5sOSoScT I=; IronPort-PHdr: =?us-ascii?q?9a23=3AQLrQAxAtjs42NSvJZ0UQUyQJPHJ1sqjoPgMT9p?= =?us-ascii?q?ssgq5PdaLm5Zn5IUjD/qs13kTRU9Dd7PRJw6rNvqbsVHZIwK7JsWtKMfkuHw?= =?us-ascii?q?QAld1QmgUhBMCfDkiuIP7jdTA9GuxJVURu+DewNk0GUMs=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AOAAC9xjFe/40NJK1mGgEBAQEBAQE?= =?us-ascii?q?BAQMBAQEBEQEBAQICAQEBAYFoBAEBAQELAYFTUAVsWCAECyqEFINGA4pygl+?= =?us-ascii?q?YD4EugSQDVAkBAQEMAQEbEgIBAYRAAheCEyQ1CA4CAw0BAQQBAQECAQUEbYU?= =?us-ascii?q?3DIVeAQEBAQMSEREMAQE3AQsEAgEIEQQBAQECAiYCAgIwFQgIAgQBDQUIGoM?= =?us-ascii?q?FgkoDLgECowECgTmIYnWBMoJ/AQEFhQEYggwJgQ4qAYwfGoFBP4FYgkw+hEs?= =?us-ascii?q?VgnkygiyNXIJ5nwcKgjmHQo8Qgkh4lz8tjjOBSplDAgQCBAUCDgEBBYFTATe?= =?us-ascii?q?BWHAVgycJRxgNjh0MF4NQg2uGElZ0gSmNHgEB?= X-IronPort-AV: E=Sophos;i="5.70,378,1574121600"; d="scan'208";a="417564258" Received: from alln-core-8.cisco.com ([173.36.13.141]) by alln-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 29 Jan 2020 17:57:23 +0000 Received: from XCH-ALN-010.cisco.com (xch-aln-010.cisco.com [173.36.7.20]) by alln-core-8.cisco.com (8.15.2/8.15.2) with ESMTPS id 00THvNGD016907 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 29 Jan 2020 17:57:23 GMT Received: from xhs-rcd-003.cisco.com (173.37.227.248) by XCH-ALN-010.cisco.com (173.36.7.20) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 29 Jan 2020 11:57:23 -0600 Received: from xhs-rtp-003.cisco.com (64.101.210.230) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 29 Jan 2020 11:57:17 -0600 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-003.cisco.com (64.101.210.230) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 29 Jan 2020 12:57:17 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QuBXod4vhmPRiuycLJWNEnl3zSmZ1tYR5qjz+gvxVxXB4ObV7pSAk1m7WYEcxe/8Ot1BvqgJYl5rKcMFtzSM9+w9ltWj8m4h3APa5rpYZXCpyFLR0WdNswbxLZ2NFmMA22g7VOENSsLDwaahy5bccObHnMj4TQ4DcqKEyZXbwQEy3frlbnZWGSvxz88ZAq0TwxpaJNXX4RZSLqE3ZHTUufVwMKc+LvHHuuji/mms5vngOGoVtL1TfquBM3pDYjH0qIZOS3KGScJF61bkE/8O2soEdUk6qaXZ5gRzZnb5b4W/JUrkrNOg1EaGS9CHbZpEf7wrWoRMFfMsW1x5pNgqSw== 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=TX6l60yGvf8UWPlSBTM4DsNG5rUwYsYjtqCLgcb++G8=; b=dp5fDRn16uLxmOXGxykIOVc0fhD86M0AstgyCCNSuEKqgpfVnN9q3RxwnKnlBkjM/yW6bKyDM4h0ImMaxh3/pe9Vw97nBzjzWwuRzRmAwWTrPDDr+B+r0wJASX27F4L9fkiCqK802fOd+cpmBJo8vvxv2hn0+Ftk5sYalEMciaAoRn0Ztybdi8K+d2P1qDcADqtH0D72W2cKuFCuWkw+bbd/haX9B8Sti0bP8RetszPdHGBw+ElydsbBg4huvkIZsqGHhOUNNQVVKG/iuIsMHgrMlsGrK04KwrbtXbfrEm+kTybLkxfYsrzu2F4JP6+kQ0djksFo9D7faEoo/jjdTw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TX6l60yGvf8UWPlSBTM4DsNG5rUwYsYjtqCLgcb++G8=; b=e1ii/Woh0MUIbTHR88rHMM48LVYnRhFvyUTXU3Qgd4iqCqSGCJZ/FEb6mgAnnTKQs6cZiudVC7vSJHRQSb6GOamDv0TiGcguMufcK/Y2pJzzjEznU98EHaMS9uOWphmkA76jE8lSiK4gAD80GuCvtWN4fnF4YESDJl9WUcjJu+M= Received: from BL0PR11MB3505.namprd11.prod.outlook.com (20.177.205.88) by BL0PR11MB3492.namprd11.prod.outlook.com (20.177.205.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2665.24; Wed, 29 Jan 2020 17:57:15 +0000 Received: from BL0PR11MB3505.namprd11.prod.outlook.com ([fe80::3177:8f85:bc20:4dfe]) by BL0PR11MB3505.namprd11.prod.outlook.com ([fe80::3177:8f85:bc20:4dfe%5]) with mapi id 15.20.2665.027; Wed, 29 Jan 2020 17:57:15 +0000 From: "David Harton (dharton)" To: Ferruh Yigit , "dev@dpdk.org" CC: "wenzhuo.lu@intel.com" , "konstantin.ananyev@intel.com" , "xiaolong.ye@intel.com" , "intel.com@cisco.com" Thread-Topic: [dpdk-dev] [PATCH v2] net/ixgbevf: update VF_STAT macros to handle rollover Thread-Index: AQHV1G6Kdzul4oOT/keB3apwnQU29qgBhA0AgABt34A= Date: Wed, 29 Jan 2020 17:57:15 +0000 Message-ID: References: <20191211023836.16272-1-dharton@cisco.com> <20200126173201.19433-1-dharton@cisco.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=dharton@cisco.com; x-originating-ip: [2001:420:c0c4:1008::237] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bd2b67b1-d721-4e45-67c0-08d7a4e4acff x-ms-traffictypediagnostic: BL0PR11MB3492: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4125; x-forefront-prvs: 02973C87BC x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(396003)(136003)(376002)(346002)(366004)(199004)(189003)(33656002)(4326008)(55016002)(9686003)(478600001)(81156014)(81166006)(8676002)(107886003)(52536014)(8936002)(71200400001)(66446008)(76116006)(66946007)(64756008)(66556008)(66476007)(316002)(54906003)(86362001)(2906002)(186003)(15650500001)(53546011)(6506007)(7696005)(5660300002)(110136005); DIR:OUT; SFP:1101; SCL:1; SRVR:BL0PR11MB3492; H:BL0PR11MB3505.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: TWUn+2zb4QYEcydsIIVh/QxhWNWTho0gamMRq7H4taN3SrvMIR5ghZ8ZsvIF+UMCJsz68qAnVSKQaAPZ1FBfJIgxqCnQ1NwDodInWBFZ0F2M6smiX4CMK7gDERJ+9PEsTxw+cpBgXLRQKbBbZTnw/IeJOBL5BpdrBsKKH3M0XPN+mWyqxGI2p7Yu3BGaTJBTQ7pSQP1nbkxadsOw5YaASblAjuBmUHXippxlpNQUBh/3ZmSKuQjYCMGH3gDJnnVxkXNuYTZg5ItcmMafW2rH/Gl+RQYGPQMc4Rb/n9omy1qIXF5gJoF8oBwXjM5CsIE16KJ6bqqaoPAxfoLcMSkcAR/BudI7gvklAma7l4HPWB2Yy9pIFdNMGt8zYgxyMa2JOC5PAE1tau82CKwmKP6rp/l0niP34taR2YfRgj45JjJz7S4N++mnJqcEr5MW2R/9 x-ms-exchange-antispam-messagedata: TxoSZB3ROy8vKqd34xGHrwNhBSSeP2wyPSOlFexMVQPowfH0e6ykai+9NAe2CCxuAaWuzzAVu2ak+vQHOTLex5yNd7pcY5PMIhoKD1iD7ZRCVIpZZgIZYKPBaoyX8qW1j8kDwv5zo7XwbU7gvo2yNzDWGDKHkMs8nyA007z/kHg= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: bd2b67b1-d721-4e45-67c0-08d7a4e4acff X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jan 2020 17:57:15.6373 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Of2YbwIi3WNWpqa+6pqorBrA+Ek4amy1070zeCh78DO6FbRvQIQNtQ+EWCsnYyP06a2dVKRVDp9YgMenaHSgVA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR11MB3492 X-OriginatorOrg: cisco.com X-Outbound-SMTP-Client: 173.36.7.20, xch-aln-010.cisco.com X-Outbound-Node: alln-core-8.cisco.com Subject: Re: [dpdk-dev] [PATCH v2] net/ixgbevf: update VF_STAT macros to handle rollover 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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRmVycnVoIFlpZ2l0IDxm ZXJydWgueWlnaXRAaW50ZWwuY29tPg0KPiBTZW50OiBXZWRuZXNkYXksIEphbnVhcnkgMjksIDIw MjAgNjoyMyBBTQ0KPiBUbzogRGF2aWQgSGFydG9uIChkaGFydG9uKSA8ZGhhcnRvbkBjaXNjby5j b20+OyBkZXZAZHBkay5vcmcNCj4gQ2M6IHdlbnpodW8ubHVAaW50ZWwuY29tOyBrb25zdGFudGlu LmFuYW55ZXZAaW50ZWwuY29tOw0KPiB4aWFvbG9uZy55ZUBpbnRlbC5jb207IGludGVsLmNvbUBj aXNjby5jb20NCj4gU3ViamVjdDogUmU6IFtkcGRrLWRldl0gW1BBVENIIHYyXSBuZXQvaXhnYmV2 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ICAgICAgICAg ICAgICAgICAgXA0KPiA+ICB7ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgXA0KPiA+ICAJdWludDMyX3QgbGF0ZXN0ID0gSVhHQkVf UkVBRF9SRUcoaHcsIHJlZyk7ICAgICAgICAgICAgICBcDQo+ID4gLQljdXIgKz0gKGxhdGVzdCAt IGxhc3QpICYgVUlOVF9NQVg7ICAgICAgICAgICAgICAgICAgICAgIFwNCj4gDQo+IEhlcmUgc2lu Y2UgJ2xhc3QnIGlzICd1NjQnLCB0aGUgJ1VJTlRfTUFYJyBpcyByZXF1aXJlZCwgYnV0IG92ZXJh bGwgdGhpcw0KPiBsb29rcyBnb29kLCBvcmlnaW5hbCBjb2RlIHNob3VsZCBiZSBPSy4NCg0KQWdy ZWVkLiAgQXMgbWVudGlvbmVkIG9uIHRoZSBpZ2J2ZiB0aHJlYWQgSSd2ZSBnb25lIGJhY2sgdG8g dGhlIGRldmVsb3BlciBmb3IganVzdGlmaWNhdGlvbi4NCg0KUmVnYXJkcywNCkRhdmUNCg0KPiAN Cj4gPiArCWlmIChsYXRlc3QgPj0gbGFzdCkgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgXA0KPiA+ICsJCWN1ciArPSAobGF0ZXN0IC0gbGFzdCk7ICAgICAgICAgICAgICAgICAg ICAgICAgIFwNCj4gPiArCWVsc2UgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgXA0KPiA+ICsJCWN1ciArPSAoKGxhdGVzdCArICgodWludDY0X3QpMSA8 PCAzMikpIC0gbGFzdCk7IFwNCj4gPiArCWN1ciAmPSBVSU5UX01BWDsgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgXA0KPiA+ICAJbGFzdCA9IGxhdGVzdDsgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcDQo+ID4gIH0NCj4gPg0KPiA+IEBAIC0z OTQsNyArMzk4LDExIEBAIHN0YXRpYyB2b2lkIGl4Z2JlX2wyX3R1bm5lbF9jb25mKHN0cnVjdCBy dGVfZXRoX2Rldg0KPiAqZGV2KTsNCj4gPiAgCXU2NCBuZXdfbHNiID0gSVhHQkVfUkVBRF9SRUco aHcsIGxzYik7ICAgICAgICAgICAgICAgICAgIFwNCj4gPiAgCXU2NCBuZXdfbXNiID0gSVhHQkVf UkVBRF9SRUcoaHcsIG1zYik7ICAgICAgICAgICAgICAgICAgIFwNCj4gPiAgCXU2NCBsYXRlc3Qg PSAoKG5ld19tc2IgPDwgMzIpIHwgbmV3X2xzYik7ICAgICAgICAgICAgICAgIFwNCj4gPiAtCWN1 ciArPSAoMHgxMDAwMDAwMDAwTEwgKyBsYXRlc3QgLSBsYXN0KSAmIDB4RkZGRkZGRkZGTEw7IFwN Cj4gPiArCWlmIChsYXRlc3QgPj0gbGFzdCkgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIFwNCj4gPiArCQljdXIgKz0gKGxhdGVzdCAtIGxhc3QpOyAgICAgICAgICAgICAgICAg ICAgICAgICAgXA0KPiA+ICsJZWxzZSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgXA0KPiA+ICsJCWN1ciArPSAoKGxhdGVzdCArICgodTY0KTEgPDwg MzYpKSAtIGxhc3QpOyAgICAgICBcDQo+ID4gKwljdXIgJj0gMHhGRkZGRkZGRkZMTDsgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcDQo+IA0KPiBGb3IgdGhpcyBjYXNlIG9sZCBh bmQgbmV3IGltcGxlbWVudGF0aW9uIGxvb2tzIHNhbWUgdG8gbWUuDQo+IA0KPiA+ICAJbGFzdCA9 IGxhdGVzdDsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXA0KPiA+ ICB9DQo+ID4NCj4gPg0KDQo=