From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM04-CO1-obe.outbound.protection.outlook.com (mail-eopbgr690050.outbound.protection.outlook.com [40.107.69.50]) by dpdk.org (Postfix) with ESMTP id CD6A21B9BF for ; Thu, 18 Apr 2019 13:40:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=AQUANTIA1COM.onmicrosoft.com; s=selector1-aquantia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8g2EanHPudZCzy6ct/0p7gKMlZ9sTdYZMjHsJX1NvYA=; b=hUicKI08TFnkONIBXY7BLMynh/oyfFihrA3Tht/xj8CDvtTRhhucxoS8x1H+RC7OHdfiCip1hVcDQl+MhaYSZ8ptskYDKWLJOik2IQkdRbM1ktjzv0/V7Khk6mofDCVHQBg8MZyyAwlxsIl8BwyiCK3hXQb2OVs0NqzCMBR1eW4= Received: from DM6PR11MB3625.namprd11.prod.outlook.com (20.178.230.149) by DM6PR11MB3866.namprd11.prod.outlook.com (10.255.61.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.14; Thu, 18 Apr 2019 11:40:01 +0000 Received: from DM6PR11MB3625.namprd11.prod.outlook.com ([fe80::f035:2c20:5a61:7653]) by DM6PR11MB3625.namprd11.prod.outlook.com ([fe80::f035:2c20:5a61:7653%3]) with mapi id 15.20.1813.011; Thu, 18 Apr 2019 11:40:01 +0000 From: Igor Russkikh To: "dev@dpdk.org" CC: "ferruh.yigit@intel.com" , "thomas@monjalon.net" , "arybchenko@solarflare.com" , "konstantin.ananyev@intel.com" , Pavel Belous , Igor Russkikh Thread-Topic: [PATCH v3 5/6] net/atlantic: implement macsec statistics Thread-Index: AQHU9dt1NZcoCDUOm0CEqruGQZqKpQ== Date: Thu, 18 Apr 2019 11:40:01 +0000 Message-ID: <76bc45c0c4087ffb28e375bf57a68bd94e580f83.1555587238.git.igor.russkikh@aquantia.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BYAPR11CA0051.namprd11.prod.outlook.com (2603:10b6:a03:80::28) To DM6PR11MB3625.namprd11.prod.outlook.com (2603:10b6:5:13a::21) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Igor.Russkikh@aquantia.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [95.79.108.179] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3ccaf2f7-dad5-4c70-32fe-08d6c3f29747 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328)(7193020); SRVR:DM6PR11MB3866; x-ms-traffictypediagnostic: DM6PR11MB3866: x-microsoft-antispam-prvs: x-forefront-prvs: 0011612A55 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(396003)(39850400004)(136003)(366004)(376002)(346002)(199004)(189003)(76176011)(186003)(6486002)(26005)(97736004)(2501003)(102836004)(1730700003)(81156014)(6506007)(6116002)(8676002)(3846002)(386003)(81166006)(6916009)(5640700003)(446003)(2906002)(11346002)(52116002)(50226002)(118296001)(256004)(99286004)(14444005)(6436002)(86362001)(71200400001)(71190400001)(44832011)(4326008)(66066001)(14454004)(486006)(25786009)(36756003)(72206003)(478600001)(8936002)(476003)(2351001)(6512007)(53936002)(7736002)(5660300002)(54906003)(316002)(107886003)(2616005)(68736007)(305945005)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR11MB3866; H:DM6PR11MB3625.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: aquantia.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: inF3SQRNQBc3j/2dvJgenfGd2lsKGsKDnzZkjuwCBpAGmrMi5cZFeUNGdUZsGYsck8j30Qga2Cg/evglrqlcfPYXOV+g5W3/YLeGdhPCuKZ9JNdawGnItlrlsAmNvPpHiykr9cNfDhNbEioJu3L7Fm2qO+6kULOTKJOvq7x/qA+JFzhYMOlmhwlQi/dscC3mig/mN7N9X5sHvnscKnSKQcvoMgLCTxH0wHuqHZLkP4PHplKOos2KvmiCJ7ro5vPW6qyQn+osJInGF6M+D1yfFArJRX1JbjTmpmYdLBtfzr4046HplWPd/BYX7Kx+ZRtU+yTRLkZEArc6lcFe3+wwYlUHOqZBYAABnbQNyiiv6zTiyB0Jr52FFHJ27q817XQDTLjRy0vINM462bxEeAPrQdvp6VC51j6G7weDjz5D2Xg= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: aquantia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3ccaf2f7-dad5-4c70-32fe-08d6c3f29747 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Apr 2019 11:40:01.0774 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 83e2e134-991c-4ede-8ced-34d47e38e6b1 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3866 Subject: [dpdk-dev] [PATCH v3 5/6] net/atlantic: implement macsec statistics 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: , X-List-Received-Date: Thu, 18 Apr 2019 11:40:03 -0000 RnJvbTogUGF2ZWwgQmVsb3VzIDxwYXZlbC5iZWxvdXNAYXF1YW50aWEuY29tPg0KDQpXZSBhZGQg ZXh0cmEgeHN0YXQgZmllbGRzIHRvIGluY2x1ZGUgbWFjc2VjIGNvdW50ZXJzI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QorCQkJCQkgYXRsX3hzdGF0c190YmxbaV0ub2Zmc2V0KTsNCisJCQli cmVhazsNCisJCX0NCisJfQ0KK2RvbmU6DQogCXJldHVybiBpOw0KIH0NCiANCi0tIA0KMi4xNy4x DQoNCg== From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id D0E51A00E6 for ; Thu, 18 Apr 2019 13:40:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 918CA1B9C5; Thu, 18 Apr 2019 13:40:06 +0200 (CEST) Received: from NAM04-CO1-obe.outbound.protection.outlook.com (mail-eopbgr690050.outbound.protection.outlook.com [40.107.69.50]) by dpdk.org (Postfix) with ESMTP id CD6A21B9BF for ; Thu, 18 Apr 2019 13:40:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=AQUANTIA1COM.onmicrosoft.com; s=selector1-aquantia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8g2EanHPudZCzy6ct/0p7gKMlZ9sTdYZMjHsJX1NvYA=; b=hUicKI08TFnkONIBXY7BLMynh/oyfFihrA3Tht/xj8CDvtTRhhucxoS8x1H+RC7OHdfiCip1hVcDQl+MhaYSZ8ptskYDKWLJOik2IQkdRbM1ktjzv0/V7Khk6mofDCVHQBg8MZyyAwlxsIl8BwyiCK3hXQb2OVs0NqzCMBR1eW4= Received: from DM6PR11MB3625.namprd11.prod.outlook.com (20.178.230.149) by DM6PR11MB3866.namprd11.prod.outlook.com (10.255.61.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.14; Thu, 18 Apr 2019 11:40:01 +0000 Received: from DM6PR11MB3625.namprd11.prod.outlook.com ([fe80::f035:2c20:5a61:7653]) by DM6PR11MB3625.namprd11.prod.outlook.com ([fe80::f035:2c20:5a61:7653%3]) with mapi id 15.20.1813.011; Thu, 18 Apr 2019 11:40:01 +0000 From: Igor Russkikh To: "dev@dpdk.org" CC: "ferruh.yigit@intel.com" , "thomas@monjalon.net" , "arybchenko@solarflare.com" , "konstantin.ananyev@intel.com" , Pavel Belous , Igor Russkikh Thread-Topic: [PATCH v3 5/6] net/atlantic: implement macsec statistics Thread-Index: AQHU9dt1NZcoCDUOm0CEqruGQZqKpQ== Date: Thu, 18 Apr 2019 11:40:01 +0000 Message-ID: <76bc45c0c4087ffb28e375bf57a68bd94e580f83.1555587238.git.igor.russkikh@aquantia.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BYAPR11CA0051.namprd11.prod.outlook.com (2603:10b6:a03:80::28) To DM6PR11MB3625.namprd11.prod.outlook.com (2603:10b6:5:13a::21) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Igor.Russkikh@aquantia.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [95.79.108.179] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3ccaf2f7-dad5-4c70-32fe-08d6c3f29747 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328)(7193020); SRVR:DM6PR11MB3866; x-ms-traffictypediagnostic: DM6PR11MB3866: x-microsoft-antispam-prvs: x-forefront-prvs: 0011612A55 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(396003)(39850400004)(136003)(366004)(376002)(346002)(199004)(189003)(76176011)(186003)(6486002)(26005)(97736004)(2501003)(102836004)(1730700003)(81156014)(6506007)(6116002)(8676002)(3846002)(386003)(81166006)(6916009)(5640700003)(446003)(2906002)(11346002)(52116002)(50226002)(118296001)(256004)(99286004)(14444005)(6436002)(86362001)(71200400001)(71190400001)(44832011)(4326008)(66066001)(14454004)(486006)(25786009)(36756003)(72206003)(478600001)(8936002)(476003)(2351001)(6512007)(53936002)(7736002)(5660300002)(54906003)(316002)(107886003)(2616005)(68736007)(305945005)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR11MB3866; H:DM6PR11MB3625.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: aquantia.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: inF3SQRNQBc3j/2dvJgenfGd2lsKGsKDnzZkjuwCBpAGmrMi5cZFeUNGdUZsGYsck8j30Qga2Cg/evglrqlcfPYXOV+g5W3/YLeGdhPCuKZ9JNdawGnItlrlsAmNvPpHiykr9cNfDhNbEioJu3L7Fm2qO+6kULOTKJOvq7x/qA+JFzhYMOlmhwlQi/dscC3mig/mN7N9X5sHvnscKnSKQcvoMgLCTxH0wHuqHZLkP4PHplKOos2KvmiCJ7ro5vPW6qyQn+osJInGF6M+D1yfFArJRX1JbjTmpmYdLBtfzr4046HplWPd/BYX7Kx+ZRtU+yTRLkZEArc6lcFe3+wwYlUHOqZBYAABnbQNyiiv6zTiyB0Jr52FFHJ27q817XQDTLjRy0vINM462bxEeAPrQdvp6VC51j6G7weDjz5D2Xg= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: aquantia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3ccaf2f7-dad5-4c70-32fe-08d6c3f29747 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Apr 2019 11:40:01.0774 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 83e2e134-991c-4ede-8ced-34d47e38e6b1 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3866 Subject: [dpdk-dev] [PATCH v3 5/6] net/atlantic: implement macsec statistics 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" Message-ID: <20190418114001.69dSXWUJRGQ6Gn73JcLmg8N4NPnBuYuUenEyMn0Mqg0@z> RnJvbTogUGF2ZWwgQmVsb3VzIDxwYXZlbC5iZWxvdXNAYXF1YW50aWEuY29tPg0KDQpXZSBhZGQg ZXh0cmEgeHN0YXQgZmllbGRzIHRvIGluY2x1ZGUgbWFjc2VjIGNvdW50ZXJzIGFuZCBzdGF0cw0K DQpTaWduZWQtb2ZmLWJ5OiBQYXZlbCBCZWxvdXMgPHBhdmVsLmJlbG91c0BhcXVhbnRpYS5jb20+ DQpTaWduZWQtb2ZmLWJ5OiBJZ29yIFJ1c3NraWtoIDxpZ29yLnJ1c3NraWtoQGFxdWFudGlhLmNv bT4NCi0tLQ0KIGRyaXZlcnMvbmV0L2F0bGFudGljL2F0bF9ldGhkZXYuYyB8IDgyICsrKysrKysr KysrKysrKysrKysrKysrKysrKysrLS0NCiAxIGZpbGUgY2hhbmdlZCwgNzcgaW5zZXJ0aW9ucygr KSwgNSBkZWxldGlvbnMoLSkNCg0KZGlmZiAtLWdpdCBhL2RyaXZlcnMvbmV0L2F0bGFudGljL2F0 bF9ldGhkZXYuYyBiL2RyaXZlcnMvbmV0L2F0bGFudGljL2F0bF9ldGhkZXYuYw0KaW5kZXggZGZj YjMwMjliOTJmLi40ZTYxMjRhYTMxOGUgMTAwNjQ0DQotLS0gYS9kcml2ZXJzL25ldC9hdGxhbnRp Yy9hdGxfZXRoZGV2LmMNCisrKyBiL2RyaXZlcnMvbmV0L2F0bGFudGljL2F0bF9ldGhkZXYuYw0K QEAgLTE5MywxNCArMTkzLDI3IEBAIHN0YXRpYyBjb25zdCBzdHJ1Y3QgcnRlX2V0aF9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