Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1587588ybl; Sat, 10 Aug 2019 06:21:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqzq33WJcPqDj+nPSPGvg8UUHbf3oPovsKAJL3uYGC6J205vOwfOzbonjz8O4aDqjUVMTEWA X-Received: by 2002:a17:902:166:: with SMTP id 93mr9155808plb.195.1565443288829; Sat, 10 Aug 2019 06:21:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1565443288; cv=pass; d=google.com; s=arc-20160816; b=RvJ4oZxabmEHNSKXoiWMT8YEh4Ps3CI30hSoAkQ9O6MGKBZhqaj5pifJMl3v0hLXJ+ SGoM1fczJq65ymlWzqsj4TDhBvMo6vKZXEu2XJP2Kb3IVrHQl3iaZxr1oHxWLcR0AUT3 lusyO5UNsZ5oiUmANVs90GhMz7aAaSV9qgb9S6ToMzOSMaG8i/t23D1qWb8VRWzG0emh +K6OZbDf6uidu3LziPCVJuPNpl+OgB54xTr6AHs90OHvlVKxznMCZL0s4cq9Rizy4FB/ iR3Q4YQzY4eMa1LxdKB5RXyU95TOJdGHOzhOavl4P9svpenoxQd5a95zXMjIxdi5/WR9 McmA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=XHAMpVNKHa3MgxmAtPbD/jQ5gNH8piAdrjmipEgCtUM=; b=j/gkZdgyzap5ZvdNi7RzRDO1VjDG2zAyINEFKFlXYx23VvlEmCven/m/XSG7WHtD9t bzvA68Swo/5GcFDol9rfl+AfNrzbrPKOwECeZ0BgGrovq5qcEJX3VJ3J9nJX0BmVSnUn UzNc+TrpoIK40E8ITvn0lo86aYMR3j88ER6TxqBC+P7qftrL9V2zv3J1AhtQ5rUnTYmb T+nuYU3s641INjkKR1nXeOX3T18dc7VDX/ao0o9U4WJllLqxUMd+j3P14oZBshvhCHYe ug/Gm69bN4w8RUEWOHG5b3F51VgPGlGmFc4fLM/gLrrMrYPcQMz0snKbVesLCiTH6ne/ YLfw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@AQUANTIA1COM.onmicrosoft.com header.s=selector2-AQUANTIA1COM-onmicrosoft-com header.b=Vqcm3QSH; arc=pass (i=1 spf=pass spfdomain=aquantia.com dkim=pass dkdomain=aquantia.com dmarc=pass fromdomain=aquantia.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i23si57698323pfa.196.2019.08.10.06.21.12; Sat, 10 Aug 2019 06:21:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@AQUANTIA1COM.onmicrosoft.com header.s=selector2-AQUANTIA1COM-onmicrosoft-com header.b=Vqcm3QSH; arc=pass (i=1 spf=pass spfdomain=aquantia.com dkim=pass dkdomain=aquantia.com dmarc=pass fromdomain=aquantia.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726350AbfHJNUi (ORCPT + 99 others); Sat, 10 Aug 2019 09:20:38 -0400 Received: from mail-eopbgr770050.outbound.protection.outlook.com ([40.107.77.50]:54341 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725862AbfHJNUi (ORCPT ); Sat, 10 Aug 2019 09:20:38 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BfbyvD6wcEO/gNFPdWMSvoV35wtvadTUbcoSk+TwgTq2SQQgTQWfcCxtFbG2F9Iui1CZIwOZ7Ma3G2Ho9Pr0wI3QROw+qL32Ij7TIe1b+UCU9k62vhabqEPGIZeUIGYjJ8y9odWCIIuo6A1osoJhqxltfAKF10gJkkufip553oBqZbhbE7UFI6znd+t68OVZx6bhx7rYHm/dS7vJR55CSDWGRbBt2wjF1DLQvsCIQ1HRkZNKITNlp4EYfh4ipFVNt2Z9cZ3F14c4WIXps8a74LrFgyGW1WMU4rju9y+PHOEVWNo3NisP4nLlDY3v8524Bpqre3pjfn9g8C8V2kRirA== 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=XHAMpVNKHa3MgxmAtPbD/jQ5gNH8piAdrjmipEgCtUM=; b=QFG4AP5MFigJWt0tVOKAMcRPhrp812397pdTg5IeiZZEk9TZDxBH/jJosFBfF5hf9yUQfeQA4uEnHmu6pClrMHji06Gl27A12zTqZX2HhPOHdrUZ8cUyMmSIot9IQXMB2Xh4AizJG5lvnNP3hB1CrrOKzSQBaQLUTfj/sYv5z2bOIlUkB1InqkBzBlPeSrOJCuwZduSIlEyKTlw3iqrt8fZfc5SFPtshHXmTOnkttqRHTmpsohixmDOljEbU9Tjbm+LH9fHGMiMeDeggDxVuoFI3IXl+YQ5PcW7VTv1xTqtMj8E1ORSmOmZJs8gu7J80O/Oqo1ITvmCNEmzeNguEdw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=aquantia.com; dmarc=pass action=none header.from=aquantia.com; dkim=pass header.d=aquantia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=AQUANTIA1COM.onmicrosoft.com; s=selector2-AQUANTIA1COM-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XHAMpVNKHa3MgxmAtPbD/jQ5gNH8piAdrjmipEgCtUM=; b=Vqcm3QSH89RVY/ANI0uYCKY4AsUqscCeghelJ91+aKazIjlnogVf+AyTKz3LyVGeqmGqmVWv1Mxn1sQdehvCXkCjhduPr6cUD6gCTJD464mi908vOcZyaUbArY5eFcV2/qaydsoBs1ALcFH6Bho+7ZTMBJCjJCmfw/5QT0/j/g8= Received: from BYAPR11MB2902.namprd11.prod.outlook.com (20.177.225.222) by BYAPR11MB2680.namprd11.prod.outlook.com (52.135.227.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.18; Sat, 10 Aug 2019 13:20:32 +0000 Received: from BYAPR11MB2902.namprd11.prod.outlook.com ([fe80::456b:e2ae:2452:5e4]) by BYAPR11MB2902.namprd11.prod.outlook.com ([fe80::456b:e2ae:2452:5e4%7]) with mapi id 15.20.2157.020; Sat, 10 Aug 2019 13:20:32 +0000 From: Igor Russkikh To: Antoine Tenart , "davem@davemloft.net" , "sd@queasysnail.net" , "andrew@lunn.ch" , "f.fainelli@gmail.com" , "hkallweit1@gmail.com" CC: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "thomas.petazzoni@bootlin.com" , "alexandre.belloni@bootlin.com" , "allan.nielsen@microchip.com" , "camelia.groza@nxp.com" , Simon Edelhaus , Pavel Belous Subject: Re: [PATCH net-next v2 6/9] net: macsec: hardware offloading infrastructure Thread-Topic: [PATCH net-next v2 6/9] net: macsec: hardware offloading infrastructure Thread-Index: AQHVT35ck9O2Ca3OL0uT1Xyfcpu+cw== Date: Sat, 10 Aug 2019 13:20:32 +0000 Message-ID: References: <20190808140600.21477-1-antoine.tenart@bootlin.com> <20190808140600.21477-7-antoine.tenart@bootlin.com> In-Reply-To: <20190808140600.21477-7-antoine.tenart@bootlin.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HE1P190CA0060.EURP190.PROD.OUTLOOK.COM (2603:10a6:7:52::49) To BYAPR11MB2902.namprd11.prod.outlook.com (2603:10b6:a03:89::30) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Igor.Russkikh@aquantia.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [95.79.108.179] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 62153f95-8f55-4c3d-73d4-08d71d958558 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:BYAPR11MB2680; x-ms-traffictypediagnostic: BYAPR11MB2680: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 012570D5A0 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39850400004)(366004)(396003)(346002)(136003)(376002)(199004)(189003)(53936002)(7736002)(3846002)(7416002)(14444005)(6116002)(305945005)(31686004)(6512007)(107886003)(6486002)(86362001)(2201001)(6246003)(66946007)(2906002)(8676002)(66556008)(66476007)(229853002)(66446008)(64756008)(5660300002)(6436002)(81166006)(81156014)(8936002)(31696002)(99286004)(2501003)(186003)(44832011)(26005)(446003)(2616005)(11346002)(476003)(36756003)(486006)(54906003)(110136005)(14454004)(25786009)(71200400001)(76176011)(478600001)(71190400001)(66066001)(52116002)(102836004)(53546011)(256004)(316002)(386003)(4326008)(6506007);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR11MB2680;H:BYAPR11MB2902.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: UkAMWkDpcpG/iC+zyKryTfaL9KKgQ4XGCMUxQC3kUcKl3fQ99x+D2s4Pos08iVa/0OyW3GvtRWTIStL2oZR1iBHkah37sRyLdCASu1uIcKRAd1+p8CUEJzTpGLHTIJzgeyf47PnbobRqLXEgucmfp/FAEHPieBa1ZUiY53NrrCJtISwTM5MBn30OUr/uMESbk3Gj01x6Sds3pkTl/qsKku0WClgfn+nQWoNf3JmsL417z+t8DwQblBqS722LeIFYJHj4XFJOobd8TDenMg/yRNguR151F9tQ8NxNUda4wyvjB2wn24cD70zam450WxJ2sh11mpCB6wIyy/srDSXkUK0/NN8jbp4YRBN1Za10Qw43ZWxvSxFk7DdzGDuJIJOcHFB2A9omIglGrBijDYbQ9ikdRXVnDpSB2ZaMKgQMUOM= Content-Type: text/plain; charset="utf-8" Content-ID: <30BA2D6BB36BEC40A184F6628937F13B@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: aquantia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 62153f95-8f55-4c3d-73d4-08d71d958558 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Aug 2019 13:20:32.4511 (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-CrossTenant-userprincipalname: stLOgbkh5r02LU4tVRvEg0c9ebgM2H22Ah9/W4cECziqHb2NZcw5JkKKzFdbBII7NsOaWaejjImWPUXGdCfBrw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2680 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMDguMDguMjAxOSAxNzowNSwgQW50b2luZSBUZW5hcnQgd3JvdGU6DQoNCj4gVGhlIFJ4IGFu ZCBUWCBoYW5kbGVycyBhcmUgbW9kaWZpZWQgdG8gdGFrZSBpbiBhY2NvdW50IHRoZSBzcGVjaWFs IGNhc2UNCj4gd2VyZS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