From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-eopbgr740045.outbound.protection.outlook.com [40.107.74.45]) by dpdk.org (Postfix) with ESMTP id 3C4A91B758 for ; Wed, 17 Apr 2019 17:45:35 +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=lYw3S5LZLGZXtSmBSnIuE+fgw76YLxEkEYe+YMVtQqQ=; b=IXUFen4WsrPUiu4ir8kFGwRayFJniMVbaiYa9E3xG9rCtQgUDhpCa0IOOvS38v3jpHa/RnmizYJQ9b7s0QrlZxuu56Oy47mnziir/lsmeUetODSwIIvl1ijgRxglQgBH32OZ6EF4wzPJcwOElRnblu+j2tnglvfUAAb9HZlp6/Q= Received: from DM6PR11MB3625.namprd11.prod.outlook.com (20.178.230.149) by DM6PR11MB3738.namprd11.prod.outlook.com (20.179.16.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.12; Wed, 17 Apr 2019 15:45:33 +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; Wed, 17 Apr 2019 15:45:33 +0000 From: Igor Russkikh To: "dev@dpdk.org" CC: "ferruh.yigit@intel.com" , "thomas@monjalon.net" , "arybchenko@solarflare.com" , "konstantin.ananyev@intel.com" , Igor Russkikh , Pavel Belous Thread-Topic: [PATCH v2 3/7] net/atlantic: macsec firmware interface Thread-Index: AQHU9TSXDnbHiM5KmEi5+DqvispQ3w== Date: Wed, 17 Apr 2019 15:45:33 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BYAPR07CA0027.namprd07.prod.outlook.com (2603:10b6:a02:bc::40) 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: da18493c-fad0-4d8c-c101-08d6c34bba25 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600140)(711020)(4605104)(2017052603328)(7193020); SRVR:DM6PR11MB3738; x-ms-traffictypediagnostic: DM6PR11MB3738: x-microsoft-antispam-prvs: x-forefront-prvs: 0010D93EFE x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39850400004)(346002)(396003)(136003)(376002)(366004)(199004)(189003)(2906002)(25786009)(54906003)(14444005)(256004)(7736002)(97736004)(316002)(4326008)(71200400001)(53936002)(5640700003)(107886003)(71190400001)(99286004)(68736007)(8676002)(1730700003)(5660300002)(86362001)(2351001)(6512007)(305945005)(52116002)(6436002)(106356001)(81166006)(2501003)(36756003)(81156014)(105586002)(8936002)(6916009)(386003)(102836004)(26005)(6116002)(186003)(50226002)(72206003)(6506007)(76176011)(6486002)(14454004)(66066001)(478600001)(3846002)(476003)(118296001)(486006)(2616005)(44832011)(446003)(11346002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR11MB3738; 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: qJVydgLIDXdrGUfUiw9dVpRHX0YiuzSGXu6bxCxf3CCJdTTKIptb8kknpP38cXfupW5vuIdIWdhgTg7QTOFwcqiK2FnaH8Jbvb8jr9Ud8DGPd9O7vNX/mgry7X/FxDcAPgP7LlyRXRet0s0JILQUFzUn6yvkHvaLim51NIVjReLsr0iUaPi/29/mBGt3xAvAjjQ5kxlv/mXVde8JIFT8jkE4/1/55O5k+hp9QZMGnORaMWyaRqa0I6IelB+MhVj41g+ko6K6tsriJhEpmAmB0xMApsDvsTy90c6dF+0G5HFoU5+w+U2ZhBuQjQP0EyA3UzOnIxjbaBbEKSoXe0crI2UeKla5z10o417gBHLcOaA0qpwKWVzGnKTWl9W1ZLy20aVw7r80JpDyBpvwEgIPSsgDlKrP/NRx2s3XwXgp508= 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: da18493c-fad0-4d8c-c101-08d6c34bba25 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2019 15:45:33.6386 (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: DM6PR11MB3738 Subject: [dpdk-dev] [PATCH v2 3/7] net/atlantic: macsec firmware interface 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: Wed, 17 Apr 2019 15:45:35 -0000 RnJvbTogUGF2ZWwgQmVsb3VzIDxwYXZlbC5iZWxvdXNAYXF1YW50aWEuY29tPg0KDQpJbXBsZW1l bnRhdGlvbiBvZiBmaXJtd2FyZSBpbnRlcmZhY2UgZm9yIG1hY3NlYyBjb25maWd1cmF0aW9uLg0K U3RydWN0dXJlIHdpdGggY29uZmlnIGRhdGEgaXMgd3JpdHRlbiBpbnRvIEZXIG1lbW9y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ZXEgPSBhcV9mdzJ4X3NlbmRfbWFjc2VjX3JlcXVlc3Qs DQogfTsNCi0tIA0KMi4xNy4xDQoNCg== 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 19A95A00E6 for ; Wed, 17 Apr 2019 17:45:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 23C1A1B75F; Wed, 17 Apr 2019 17:45:38 +0200 (CEST) Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-eopbgr740045.outbound.protection.outlook.com [40.107.74.45]) by dpdk.org (Postfix) with ESMTP id 3C4A91B758 for ; Wed, 17 Apr 2019 17:45:35 +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=lYw3S5LZLGZXtSmBSnIuE+fgw76YLxEkEYe+YMVtQqQ=; b=IXUFen4WsrPUiu4ir8kFGwRayFJniMVbaiYa9E3xG9rCtQgUDhpCa0IOOvS38v3jpHa/RnmizYJQ9b7s0QrlZxuu56Oy47mnziir/lsmeUetODSwIIvl1ijgRxglQgBH32OZ6EF4wzPJcwOElRnblu+j2tnglvfUAAb9HZlp6/Q= Received: from DM6PR11MB3625.namprd11.prod.outlook.com (20.178.230.149) by DM6PR11MB3738.namprd11.prod.outlook.com (20.179.16.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.12; Wed, 17 Apr 2019 15:45:33 +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; Wed, 17 Apr 2019 15:45:33 +0000 From: Igor Russkikh To: "dev@dpdk.org" CC: "ferruh.yigit@intel.com" , "thomas@monjalon.net" , "arybchenko@solarflare.com" , "konstantin.ananyev@intel.com" , Igor Russkikh , Pavel Belous Thread-Topic: [PATCH v2 3/7] net/atlantic: macsec firmware interface Thread-Index: AQHU9TSXDnbHiM5KmEi5+DqvispQ3w== Date: Wed, 17 Apr 2019 15:45:33 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BYAPR07CA0027.namprd07.prod.outlook.com (2603:10b6:a02:bc::40) 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: da18493c-fad0-4d8c-c101-08d6c34bba25 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600140)(711020)(4605104)(2017052603328)(7193020); SRVR:DM6PR11MB3738; x-ms-traffictypediagnostic: DM6PR11MB3738: x-microsoft-antispam-prvs: x-forefront-prvs: 0010D93EFE x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39850400004)(346002)(396003)(136003)(376002)(366004)(199004)(189003)(2906002)(25786009)(54906003)(14444005)(256004)(7736002)(97736004)(316002)(4326008)(71200400001)(53936002)(5640700003)(107886003)(71190400001)(99286004)(68736007)(8676002)(1730700003)(5660300002)(86362001)(2351001)(6512007)(305945005)(52116002)(6436002)(106356001)(81166006)(2501003)(36756003)(81156014)(105586002)(8936002)(6916009)(386003)(102836004)(26005)(6116002)(186003)(50226002)(72206003)(6506007)(76176011)(6486002)(14454004)(66066001)(478600001)(3846002)(476003)(118296001)(486006)(2616005)(44832011)(446003)(11346002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR11MB3738; 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: qJVydgLIDXdrGUfUiw9dVpRHX0YiuzSGXu6bxCxf3CCJdTTKIptb8kknpP38cXfupW5vuIdIWdhgTg7QTOFwcqiK2FnaH8Jbvb8jr9Ud8DGPd9O7vNX/mgry7X/FxDcAPgP7LlyRXRet0s0JILQUFzUn6yvkHvaLim51NIVjReLsr0iUaPi/29/mBGt3xAvAjjQ5kxlv/mXVde8JIFT8jkE4/1/55O5k+hp9QZMGnORaMWyaRqa0I6IelB+MhVj41g+ko6K6tsriJhEpmAmB0xMApsDvsTy90c6dF+0G5HFoU5+w+U2ZhBuQjQP0EyA3UzOnIxjbaBbEKSoXe0crI2UeKla5z10o417gBHLcOaA0qpwKWVzGnKTWl9W1ZLy20aVw7r80JpDyBpvwEgIPSsgDlKrP/NRx2s3XwXgp508= 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: da18493c-fad0-4d8c-c101-08d6c34bba25 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2019 15:45:33.6386 (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: DM6PR11MB3738 Subject: [dpdk-dev] [PATCH v2 3/7] net/atlantic: macsec firmware interface 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-Subsc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