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 A6FF6A052F; Wed, 29 Jan 2020 18:56:20 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6DD641C0B0; Wed, 29 Jan 2020 18:56:19 +0100 (CET) Received: from rcdn-iport-9.cisco.com (rcdn-iport-9.cisco.com [173.37.86.80]) by dpdk.org (Postfix) with ESMTP id AB7721C035 for ; Wed, 29 Jan 2020 18:56:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3868; q=dns/txt; s=iport; t=1580320577; x=1581530177; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Vq7gDrAXoi09yLjH0ktVi93GcWzA1YVA2BpNfRShDa0=; b=Jy2CYrWLP8o6IIIY3v1Aaxisx4zSgq6XLk0n/KQlTtftYvpLJKeyYY+0 LdJZSfOsunF5acnpwJeUW4mXpthywd0XlH7EHEERioQpaPsEMaBt7MRLR 457jmkwCFpwrhxWrCB5xOZHBUede1oI4rvY7YgWm49AzRsjyjUFQVnvVE s=; IronPort-PHdr: =?us-ascii?q?9a23=3ABwN8nxRQcKqoc8FKVJ8wMjkF5Npsv++ubAcI9p?= =?us-ascii?q?oqja5Pea2//pPkeVbS/uhpkESXBdfA8/wRje3QvuigQmEG7Zub+FE6OJ1XH1?= =?us-ascii?q?5g640NmhA4RsuMCEn1NvnvOiA6Fd5eU1lN9HCgOk8TE8H7NBXf?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0ByAAALxzFe/5xdJa1mGwEBAQEBAQE?= =?us-ascii?q?FAQEBEQEBAwMBAQGBagMBAQELAYFTJCwFbFggBAsqhBSDRgOKc4JfmA+CUgN?= =?us-ascii?q?UCQEBAQwBARsSAgEBhEACF4ITJDcGDgIDDQEBBAEBAQIBBQRthTcMhV4BAQE?= =?us-ascii?q?BAxIREQwBATcBCwQCAQgRBAEBAQICJgICAjAVCAgCBAENBQgagwWCSgMuAQK?= =?us-ascii?q?jAwKBOYhidYEygn8BAQWFARiCDAmBDioBjB8agUE/gViCTD6EIxIWFYJ5MoI?= =?us-ascii?q?sjVyCeZ8HCoI5h0KPEIJIeItZi2YtjjOBSplDAgQCBAUCDgEBBYFoI4FYcBW?= =?us-ascii?q?DJwlHGA2OHYNzg2uGElZ0gSmKXIJCAQE?= X-IronPort-AV: E=Sophos;i="5.70,378,1574121600"; d="scan'208";a="623292355" Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by rcdn-iport-9.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 29 Jan 2020 17:56:11 +0000 Received: from XCH-ALN-008.cisco.com (xch-aln-008.cisco.com [173.36.7.18]) by rcdn-core-5.cisco.com (8.15.2/8.15.2) with ESMTPS id 00THuB7j011402 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 29 Jan 2020 17:56:11 GMT Received: from xhs-aln-002.cisco.com (173.37.135.119) by XCH-ALN-008.cisco.com (173.36.7.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 29 Jan 2020 11:56:11 -0600 Received: from xhs-aln-003.cisco.com (173.37.135.120) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 29 Jan 2020 11:56:09 -0600 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 29 Jan 2020 11:56:09 -0600 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K02ErvsxT1pDtmoOGeAxF5xFsxvY6GbZ15vsXs+Lxpv0OX6GsKThfCimQsVX5QCQ99k2wDDUKB/C6/mxQiukwqY09Fej19wki9DNGqO4Ge0MdlIcKR7GzvTn9p6S6a7PUSh2hzc/eoT46XcmRtI17J9rVkVXz4ZQxqA4ArVg6WYOp0oWvAZAex4eKy3TePsw/hghNlNqBthPtRdbBWKEvCi3BJQEqHUFnsmLR9LLLrDcclc2j/RAKMHoz4ESHFH+2V3l14d7AM5of4s37UVP0mMyM2En8QzUx9/XCc85uYmdNzHtv4XklMphBDc8Avqd+I0YDJDOP93i2UWBWbA9/w== 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=Vq7gDrAXoi09yLjH0ktVi93GcWzA1YVA2BpNfRShDa0=; b=BgVa+B/1r4MtYmB9xthEuL1JOxiaV7kyFd8k1gcMKQePZS4fKV2V/h673oNjvwPGcUXf4W91liCkkzpt0JDUZc4gZEkGAlZyniNKTfDh6JnsZIxNaD7ot9kITT3hQ6z3r2CWbaqTNJKsWcbuFmpOsdydIMQxS0pRgeHris3lPKbaeVxlfw9GWfkdJ0i4zyz7T0ypJfMocctpnNmWlgmU/PqxDnKaUk1JXjIIg9lC3Emunx6npntgBDu/8Hg4B8W0w9YOmltsLgL7ncPAq8cGB7+I8CFbm4AEYVS0QAgYkPkRNWcfFHEKrqDlRvsY6R0aVQn1zvPgp+1xCMpmjWzhCg== 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=Vq7gDrAXoi09yLjH0ktVi93GcWzA1YVA2BpNfRShDa0=; b=CsLqT3YF5PiZShVOJFY4yc5VeChLAGKKvxVvLZtRRrBs4MgHczFbh127UIeL/6FWKpY62UtGkYk9j2+YfEA2d0rtxlUADsMgq4gB5tcvG/rlM9XG5p1w91gYL1PqbXuGMFQ2sK1LU9R2ot8Qc7HnvsFLq7FqhN24A0LqWYMvv6A= Received: from BL0PR11MB3505.namprd11.prod.outlook.com (20.177.205.88) by BL0PR11MB3441.namprd11.prod.outlook.com (10.167.235.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2686.26; Wed, 29 Jan 2020 17:56:06 +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:56:06 +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/e1000: update UPDATE_VF_STAT to handle rollover Thread-Index: AQHV1G2uAyGmeKo0xE+r2ykp3zT1fqgBb7KAgAB+/eA= Date: Wed, 29 Jan 2020 17:56:06 +0000 Message-ID: References: <20191211024802.17978-1-dharton@cisco.com> <20200126172548.23327-1-dharton@cisco.com> <558f34ae-e577-62ca-04e1-1097e6ee1abb@intel.com> In-Reply-To: <558f34ae-e577-62ca-04e1-1097e6ee1abb@intel.com> 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: fa6f22db-1b50-42a7-218b-08d7a4e483f9 x-ms-traffictypediagnostic: BL0PR11MB3441: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-forefront-prvs: 02973C87BC x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(396003)(376002)(39860400002)(366004)(346002)(199004)(189003)(33656002)(7696005)(5660300002)(186003)(478600001)(76116006)(66476007)(2906002)(9686003)(66446008)(64756008)(66556008)(55016002)(66946007)(8936002)(8676002)(107886003)(6506007)(71200400001)(81166006)(53546011)(81156014)(54906003)(316002)(52536014)(15650500001)(4326008)(110136005)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:BL0PR11MB3441; 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: sgAQdRIc/RD3l+sK3x0EJ1eM97qmNsLfPaay6dIXpQBmB05IChOtetAeOOvOvoyFytySmtxzcTwJgsU27incN2Z46E/CfR3nbcQ7ZWt2FuURY2v9oOpHCDfbbkLdvGBLVcyzIsVquOpMjDnxrusn2lsXT1feASat7T9kvE96bNMTiM7bt44FnBiQtqz5sw9qX0Iqjdmz95OH4beVIb77UryD9t250djJTZF1gc8CbMKDaTZHjJalqA3qY2AIdMfqiYjXB8Mh8oKX7xILaVztQIZodZ0rB3lRhHhuu5hAbYCZARHy/Qb0SqIhm45oXZjhOHEOdLsSP4QvrSRRh9kKI3O8rZzxZ2Cz77VTX6pe3oPat3sgSKobV0cGnTkMUt1yJEnXDZxCgugnDOpQkdiV4SrgcdeaH5IIj1TJdQ8BzgL0DI/m/AA3bGsoZh/W822h x-ms-exchange-antispam-messagedata: en++wwh8lkSGNwd1Q9WZiKpAMqOD2+Rb5mc66GRtuuCOTmhO/3FfPO5kQo7fLdKyyJcTOv5a1JO6p9/LHefc5yBNwdct7zn5UWMnqIVlzN+J+bYz8JynQJ5Cm9PJBL9jROzQFewOEUxVRAmv1z59QaeUXYIkzXChk09nBl+0Tpg= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: fa6f22db-1b50-42a7-218b-08d7a4e483f9 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jan 2020 17:56:06.8076 (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: TVUwZUKOxvVRmcfWwXCVN5+C79q27GkLqagiPW66vrnjHM2izdcZqMHbRS6QhcRR29crFhhynnAMZ4X7yA7Dow== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR11MB3441 X-OriginatorOrg: cisco.com X-Outbound-SMTP-Client: 173.36.7.18, xch-aln-008.cisco.com X-Outbound-Node: rcdn-core-5.cisco.com Subject: Re: [dpdk-dev] [PATCH v2] net/e1000: update UPDATE_VF_STAT 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" DQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEZlcnJ1aCBZaWdpdCA8ZmVy cnVoLnlpZ2l0QGludGVsLmNvbT4NCj4gU2VudDogV2VkbmVzZGF5LCBKYW51YXJ5IDI5LCAyMDIw IDU6MTAgQU0NCj4gVG86IERhdmlkIEhhcnRvbiAoZGhhcnRvbikgPGRoYXJ0b25AY2lzY28uY29t PjsgZGV2QGRwZGsub3JnDQo+IENjOiB3ZW56aHVvLmx1QGludGVsLmNvbTsga29uc3RhbnRpbi5h bmFueWV2QGludGVsLmNvbTsNCj4geGlhb2xvbmcueWVAaW50ZWwuY29tOyBpbnRlbC5jb21AY2lz Y28uY29tDQo+IFN1YmplY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Rh dHMgTUFDUk8gZm9yIE5vbiAiY2xlYXJlZCBvbiByZWFkIiByZWdpc3Rlcg0KPiA+ICAgKi8NCj4g PiAtI2RlZmluZSBVUERBVEVfVkZfU1RBVChyZWcsIGxhc3QsIGN1cikgICAgICAgICAgICBcDQo+ ID4gLXsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXA0K PiA+IC0JdTMyIGxhdGVzdCA9IEUxMDAwX1JFQURfUkVHKGh3LCByZWcpOyAgICAgXA0KPiA+IC0J Y3VyICs9IChsYXRlc3QgLSBsYXN0KSAmIFVJTlRfTUFYOyAgICAgICAgXA0KPiANCj4gV2h5IHRo aXMgaXMgd3Jvbmc/IEJvdGggJ2xhdGVzdCcgYW5kICdsYXN0JyBhcmUgJ3UzMicsIHNvIGRpZmYg c2hvdWxkIGJlDQo+IGNvcnJlY3QgJ3UzMicgdmFsdWUuIEFuZCBpdCBpcyBhZGRlZCB0byAndTY0 JyAnY3VyJyB2YWx1ZS4gV2hhdCBJIGFtDQo+IG1pc3Npbmc/DQo+IA0KPiA+IC0JbGFzdCA9IGxh dGVzdDsgICAgICAgICAgICAgICAgICAgICAgICAgICAgXA0KPiA+ICsjZGVmaW5lIFVQREFURV9W Rl9TVEFUKHJlZywgbGFzdCwgY3VyKSAgICAgICAgICAgICAgICAgICAgICAgICAgXA0KPiA+ICt7 ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgXA0KPiA+ICsJdTMyIGxhdGVzdCA9IEUxMDAwX1JFQURfUkVHKGh3LCByZWcpOyAgICAg ICAgICAgICAgICAgICBcDQo+ID4gKwlpZiAobGF0ZXN0ID49IGxhc3QpICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgIFwNCj4gPiArCQljdXIgKz0gKGxhdGVzdCAtIGxhc3QpOyAg ICAgICAgICAgICAgICAgICAgICAgICBcDQo+ID4gKwllbHNlICAgICAg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