From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM04-BN3-obe.outbound.protection.outlook.com (mail-eopbgr680051.outbound.protection.outlook.com [40.107.68.51]) by dpdk.org (Postfix) with ESMTP id C26781B215 for ; Mon, 29 Apr 2019 10:20:20 +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=vKZxZ+Sb/wU/zm04tiReKbDS1cO1Ln1+cggCnxs9tu0=; b=RNdlyro2PX+tbi+3f+716wNh77T/Hx/OpdZBLmIQXGXcFuTcwcraQhcfG/tBSjBhwmF3oMxEDmhvyC7lLyyGXEVFSCNr2lMmFI3aTG3ByuQnyDQl1ur4kCPTw0xCaJkQFusVohJ/uw42Nfzu93npnuWIrnsdZ8cziDAerJzOd44= Received: from DM6PR11MB3625.namprd11.prod.outlook.com (20.178.230.149) by DM6PR11MB2841.namprd11.prod.outlook.com (20.176.100.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.13; Mon, 29 Apr 2019 08:20:19 +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.1835.010; Mon, 29 Apr 2019 08:20:19 +0000 From: Igor Russkikh To: "dev@dpdk.org" CC: Pavel Belous , Igor Russkikh Thread-Topic: [PATCH 06/11] net/atlantic: validity check for eeprom dev address Thread-Index: AQHU/mRi4DumC20w90OofJVMLxRung== Date: Mon, 29 Apr 2019 08:20:19 +0000 Message-ID: <5fe871b21ba5c4c75e8384d71cd5effbfccb8ddf.1556525874.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: HE1P190CA0016.EURP190.PROD.OUTLOOK.COM (2603:10a6:3:bc::26) 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: a0a3aa13-c42c-490e-65d4-08d6cc7b8437 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328)(7193020); SRVR:DM6PR11MB2841; x-ms-traffictypediagnostic: DM6PR11MB2841: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2043; x-forefront-prvs: 0022134A87 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(376002)(396003)(136003)(39840400004)(346002)(199004)(189003)(44832011)(99286004)(186003)(118296001)(478600001)(71200400001)(53936002)(6506007)(71190400001)(446003)(5660300002)(2351001)(14454004)(14444005)(486006)(66556008)(73956011)(66946007)(64756008)(66476007)(66446008)(386003)(52116002)(316002)(11346002)(2616005)(7736002)(476003)(4744005)(72206003)(54906003)(305945005)(107886003)(81166006)(1730700003)(2501003)(36756003)(76176011)(81156014)(6486002)(3846002)(66066001)(102836004)(6916009)(97736004)(8936002)(86362001)(6116002)(6436002)(26005)(256004)(8676002)(50226002)(2906002)(25786009)(5640700003)(6512007)(68736007)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR11MB2841; 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: FBbBWoHn2wCTmV2ilp39ukJcbB42ihRI14hm8llTNeDvxSY0nBPuurxWemHZ7bqcTh2AeedCK9DXkQwqgciA7KPxCm2AGNfiTxTRpsjJbbW+JlV/jrb+a6oXJlS09000SYImemH9nvHFMPuYlebzy3DfBanWPEC9hZToFVvz45WghW1ZJB2lgnhRpLmRiC5txvH5HRkiYCVq0ZHZsUgxXtgBMaeaMwfzxWjD4ekSCOCiU34LZL4ymJ7+DuTfaiMShTsra2ZD5Be3JIRPM1Wo/GKW81nwlrQGLZJEZ8xC1h4Pkg0MrCnLfk8PWXVWM7mbyLMLjSsoqcJ1U9rcLHFtxTtJe0AdH9RFWglQMBU/aL3yzO5a9TKFUcWZKCAGdxS7mHmDtCycUtVcBBu/lUrz+6K2GtwomZTTIwefdltiSkg= 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: a0a3aa13-c42c-490e-65d4-08d6cc7b8437 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Apr 2019 08:20:19.5664 (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: DM6PR11MB2841 Subject: [dpdk-dev] [PATCH 06/11] net/atlantic: validity check for eeprom dev address 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: Mon, 29 Apr 2019 08:20:21 -0000 Q2xpZW50cyBtYXkgbm90IGZpbGxpbiBtYWdpYyBmaWVsZCwgdGh1cyBjYXVzaW5nIGdhcmJhZ2UN CnRvIGJlIHBhc3NlZCBhcyBhIGRldmljZSBhZGRyLg0KDQpMaW1pdCB0aGF0IHRvIG1heGltdW0g U01idXMgYWR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ZWVwcm9tLT5tYWdpYzsNCiANCi0tIA0KMi4xNy4xDQoNCg== 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 4F590A0679 for ; Mon, 29 Apr 2019 10:21:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7DA321B2AE; Mon, 29 Apr 2019 10:20:38 +0200 (CEST) Received: from NAM04-BN3-obe.outbound.protection.outlook.com (mail-eopbgr680051.outbound.protection.outlook.com [40.107.68.51]) by dpdk.org (Postfix) with ESMTP id C26781B215 for ; Mon, 29 Apr 2019 10:20:20 +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=vKZxZ+Sb/wU/zm04tiReKbDS1cO1Ln1+cggCnxs9tu0=; b=RNdlyro2PX+tbi+3f+716wNh77T/Hx/OpdZBLmIQXGXcFuTcwcraQhcfG/tBSjBhwmF3oMxEDmhvyC7lLyyGXEVFSCNr2lMmFI3aTG3ByuQnyDQl1ur4kCPTw0xCaJkQFusVohJ/uw42Nfzu93npnuWIrnsdZ8cziDAerJzOd44= Received: from DM6PR11MB3625.namprd11.prod.outlook.com (20.178.230.149) by DM6PR11MB2841.namprd11.prod.outlook.com (20.176.100.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.13; Mon, 29 Apr 2019 08:20:19 +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.1835.010; Mon, 29 Apr 2019 08:20:19 +0000 From: Igor Russkikh To: "dev@dpdk.org" CC: Pavel Belous , Igor Russkikh Thread-Topic: [PATCH 06/11] net/atlantic: validity check for eeprom dev address Thread-Index: AQHU/mRi4DumC20w90OofJVMLxRung== Date: Mon, 29 Apr 2019 08:20:19 +0000 Message-ID: <5fe871b21ba5c4c75e8384d71cd5effbfccb8ddf.1556525874.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: HE1P190CA0016.EURP190.PROD.OUTLOOK.COM (2603:10a6:3:bc::26) 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: a0a3aa13-c42c-490e-65d4-08d6cc7b8437 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328)(7193020); SRVR:DM6PR11MB2841; x-ms-traffictypediagnostic: DM6PR11MB2841: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2043; x-forefront-prvs: 0022134A87 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(376002)(396003)(136003)(39840400004)(346002)(199004)(189003)(44832011)(99286004)(186003)(118296001)(478600001)(71200400001)(53936002)(6506007)(71190400001)(446003)(5660300002)(2351001)(14454004)(14444005)(486006)(66556008)(73956011)(66946007)(64756008)(66476007)(66446008)(386003)(52116002)(316002)(11346002)(2616005)(7736002)(476003)(4744005)(72206003)(54906003)(305945005)(107886003)(81166006)(1730700003)(2501003)(36756003)(76176011)(81156014)(6486002)(3846002)(66066001)(102836004)(6916009)(97736004)(8936002)(86362001)(6116002)(6436002)(26005)(256004)(8676002)(50226002)(2906002)(25786009)(5640700003)(6512007)(68736007)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR11MB2841; 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: FBbBWoHn2wCTmV2ilp39ukJcbB42ihRI14hm8llTNeDvxSY0nBPuurxWemHZ7bqcTh2AeedCK9DXkQwqgciA7KPxCm2AGNfiTxTRpsjJbbW+JlV/jrb+a6oXJlS09000SYImemH9nvHFMPuYlebzy3DfBanWPEC9hZToFVvz45WghW1ZJB2lgnhRpLmRiC5txvH5HRkiYCVq0ZHZsUgxXtgBMaeaMwfzxWjD4ekSCOCiU34LZL4ymJ7+DuTfaiMShTsra2ZD5Be3JIRPM1Wo/GKW81nwlrQGLZJEZ8xC1h4Pkg0MrCnLfk8PWXVWM7mbyLMLjSsoqcJ1U9rcLHFtxTtJe0AdH9RFWglQMBU/aL3yzO5a9TKFUcWZKCAGdxS7mHmDtCycUtVcBBu/lUrz+6K2GtwomZTTIwefdltiSkg= 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: a0a3aa13-c42c-490e-65d4-08d6cc7b8437 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Apr 2019 08:20:19.5664 (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: DM6PR11MB2841 Subject: [dpdk-dev] [PATCH 06/11] net/atlantic: validity check for eeprom dev address 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: <20190429082019.iKkpj-V0LbVrTCJ62Vy1KTaB8X0ewb-U4om4u7MOxNk@z> Q2xpZW50cyBtYXkgbm90IGZpbGxpbiBtYWdpYyBmaWVsZCwgdGh1cyBjYXVzaW5nIGdhcmJhZ2UN CnRvIGJlIHBhc3NlZCBhcyBhIGRldmljZSBhZGRyLg0KDQpMaW1pdCB0aGF0IHRvIG1heGltdW0g U01idXMgYWRkcmVzcy4NCg0KU2lnbmVkLW9mZi1ieTogSWdvciBSdXNza2lraCA8aWdvci5ydXNz a2lraEBhcXVhbnRpYS5jb20+DQotLS0NCiBkcml2ZXJzL25ldC9hdGxhbnRpYy9hdGxfZXRoZGV2 LmMgfCA2ICsrKysrKw0KIDEgZmlsZSBjaGFuZ2VkLCA2IGluc2VydGlvbnMoKykNCg0KZGlmZiAt LWdpdCBhL2RyaXZlcnMvbmV0L2F0bGFudGljL2F0bF9ldGhkZXYuYyBiL2RyaXZlcnMvbmV0L2F0 bGFudGljL2F0bF9ldGhkZXYuYw0KaW5kZXggOGExNzdlYTViNGEzLi40ODVlZjE1OWViMDUgMTAw NjQ0DQotLS0gYS9kcml2ZXJzL25ldC9hdGxhbnRpYy9hdGxfZXRoZGV2LmMNCisrKyBiL2RyaXZl cnMvbmV0L2F0bGFudGljL2F0bF9ldGhkZXYuYw0KQEAgLTE0MzMsNiArMTQzMyw5IEBAIGludCBh dGxfZGV2X2dldF9lZXByb20oc3RydWN0IHJ0ZV9ldGhfZGV2ICpkZXYsDQogCSAgICBlZXByb20t PmRhdGEgPT0gTlVMTCkNCiAJCXJldHVybiAtRUlOVkFMOw0KIA0KKwlpZiAoZWVwcm9tLT5tYWdp YyA+IDB4N0YpDQorCQlyZXR1cm4gLUVJTlZBTDsNCisNCiAJaWYgKGVlcHJvbS0+bWFnaWMpDQog CQlkZXZfYWRkciA9IGVlcHJvbS0+bWFnaWM7DQogDQ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