From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM04-BN3-obe.outbound.protection.outlook.com (mail-eopbgr680080.outbound.protection.outlook.com [40.107.68.80]) by dpdk.org (Postfix) with ESMTP id 6A7D51B20B for ; Mon, 29 Apr 2019 10:20:26 +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=0F6Rj++DpZPUEaUHsEgSWVYXXHEhY7B5H7eCBCmJbs8=; b=NlnmeGgIz4/UDK0XsfYM/HvSXonW1yH/QlJtMfpm/G//nhEAnowvHdgtnOTARUMYLXwj1EXcZQXVlyMH40vfr05DpxgTmNkWWfudAxya7hVw6fQePf5a9kyuWQMSGdbAIq1+Q3XB0zMxxkCvk92fVmfHPFnHnBPbCbwSIaRuapM= 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:25 +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:25 +0000 From: Igor Russkikh To: "dev@dpdk.org" CC: Pavel Belous , Igor Russkikh Thread-Topic: [PATCH 09/11] net/atlantic: use capability bits to detect eeprom access Thread-Index: AQHU/mRlHJLcENXmz0icFXx4hsLPhA== Date: Mon, 29 Apr 2019 08:20:25 +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: 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: cfdc6c99-f861-4a35-f273-08d6cc7b87ad 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:299; 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)(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: eP5Ytw9029OnY3dBtHSj2lHtA9NVrTzUvtRYBRTINtNWI8xtKW9xGVeubBonWdOeoyRsR5JYOF00jNENeHd1aRcG9EDbgYsUeP7Do6xnlQDpOX9+49dEL/eLN+rEzKNdniy4u9PPRGxJaBjKELnW1bm/jEMsE1UBsQl9oubvOAKXrj4nk/0ykUzb3dW3Jz4uiCUTZdDwRXfEd5cdQtmsR/UqOuGgxdJNivFdd2ZfvuT+0qFvrzZ9zF197KqtN1Epl9vLqnF3x+VMNfmSPGXeNUtR0vTv206hVzKjUmdz4aHwUObpjbloo3HvQZHHMX6T/Xp9ae1wmgRO3YNO8flccQecyQPF5Yu7fVQtWoqAxzJ3sHTMwr/HRSitmL82XMrY2NYWNwD+wawp85gziS6hPEObdarnBPcA+ywGx5PRROA= 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: cfdc6c99-f861-4a35-f273-08d6cc7b87ad X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Apr 2019 08:20:25.2834 (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 09/11] net/atlantic: use capability bits to detect eeprom access 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:26 -0000 RnJvbTogUGF2ZWwgQmVsb3VzIDxwYXZlbC5iZWxvdXNAYXF1YW50aWEuY29tPg0KDQpJdHMgYmV0 dGVyIHRvIHVzZSBjYXBhYmlsaXR5IGJpdHMgRlcgcHJvdmlkZXMgdG8gZGV0ZWN0IHdoZXRoZXIN CmZpcm13YXJlIGhhcyBBUElzIGZvciBFRVBST00gYWNjZXNzLg0KDQpCZWZvcmUgd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f cGF0dGVybiB7DQpAQCAtNTEzLDcgKzUxMiw3IEBAIHN0YXRpYyBpbnQgYXFfZncyeF9nZXRfZWVw cm9tKHN0cnVjdCBhcV9od19zICpzZWxmLCBpbnQgZGV2X2FkZHIsDQogCXUzMiBtcGlfb3B0czsN CiAJaW50IGVyciA9IDA7DQogDQotCWlmIChzZWxmLT5md192ZXJfYWN0dWFsIDwgSFdfQVRMX0ZX X0ZFQVRVUkVfRUVQUk9NKQ0KKwlpZiAoKHNlbGYtPmNhcHNfbG8gJiBCSVQoQ0FQU19MT19TTUJV U19SRUFEKSkgPT0gMCkNCiAJCXJldHVybiAtRU9QTk9UU1VQUDsNCiANCiAJcmVxdWVzdC5tc2df aWQgPSAwOw0KQEAgLTU5MSw3ICs1OTAsNyBAQCBzdGF0aWMgaW50IGFxX2Z3Mnhfc2V0X2VlcHJv bShzdHJ1Y3QgYXFfaHdfcyAqc2VsZiwgaW50IGRldl9hZGRyLA0KIAl1MzIgbXBpX29wdHMsIHJl c3VsdCA9IDA7DQogCWludCBlcnIgPSAwOw0KIA0KLQlpZiAoc2VsZi0+ZndfdmVyX2FjdHVhbCA8 IEhXX0FUTF9GV19GRUFUVVJFX0VFUFJPTSkNCisJaWYgKChzZWxmLT5jYXBzX2xvICYgQklUKENB UFNfTE9fU01CVVNfV1JJVEUpKSA9PSAwKQ0KIAkJcmV0dXJuIC1FT1BOT1RTVVBQOw0KIA0KIAly ZXF1ZXN0Lm1zZ19pZCA9IDA7DQotLSANCjIuMTcuMQ0KDQo= 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 0BADEA0679 for ; Mon, 29 Apr 2019 10:21:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 126B01B207; Mon, 29 Apr 2019 10:20:46 +0200 (CEST) Received: from NAM04-BN3-obe.outbound.protection.outlook.com (mail-eopbgr680080.outbound.protection.outlook.com [40.107.68.80]) by dpdk.org (Postfix) with ESMTP id 6A7D51B20B for ; Mon, 29 Apr 2019 10:20:26 +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=0F6Rj++DpZPUEaUHsEgSWVYXXHEhY7B5H7eCBCmJbs8=; b=NlnmeGgIz4/UDK0XsfYM/HvSXonW1yH/QlJtMfpm/G//nhEAnowvHdgtnOTARUMYLXwj1EXcZQXVlyMH40vfr05DpxgTmNkWWfudAxya7hVw6fQePf5a9kyuWQMSGdbAIq1+Q3XB0zMxxkCvk92fVmfHPFnHnBPbCbwSIaRuapM= 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:25 +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:25 +0000 From: Igor Russkikh To: "dev@dpdk.org" CC: Pavel Belous , Igor Russkikh Thread-Topic: [PATCH 09/11] net/atlantic: use capability bits to detect eeprom access Thread-Index: AQHU/mRlHJLcENXmz0icFXx4hsLPhA== Date: Mon, 29 Apr 2019 08:20:25 +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: 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: cfdc6c99-f861-4a35-f273-08d6cc7b87ad 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:299; 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)(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: eP5Ytw9029OnY3dBtHSj2lHtA9NVrTzUvtRYBRTINtNWI8xtKW9xGVeubBonWdOeoyRsR5JYOF00jNENeHd1aRcG9EDbgYsUeP7Do6xnlQDpOX9+49dEL/eLN+rEzKNdniy4u9PPRGxJaBjKELnW1bm/jEMsE1UBsQl9oubvOAKXrj4nk/0ykUzb3dW3Jz4uiCUTZdDwRXfEd5cdQtmsR/UqOuGgxdJNivFdd2ZfvuT+0qFvrzZ9zF197KqtN1Epl9vLqnF3x+VMNfmSPGXeNUtR0vTv206hVzKjUmdz4aHwUObpjbloo3HvQZHHMX6T/Xp9ae1wmgRO3YNO8flccQecyQPF5Yu7fVQtWoqAxzJ3sHTMwr/HRSitmL82XMrY2NYWNwD+wawp85gziS6hPEObdarnBPcA+ywGx5PRROA= 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: cfdc6c99-f861-4a35-f273-08d6cc7b87ad X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Apr 2019 08:20:25.2834 (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 09/11] net/atlantic: use capability bits to detect eeprom access 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: <20190429082025.7xfE5yyjpTg-r6qXdVhBmH4hEqZ4pCIBJJg0OCPLYHM@z> RnJvbTogUGF2ZWwgQmVsb3VzIDxwYXZlbC5iZWxvdXNAYXF1YW50aWEuY29tPg0KDQpJdHMgYmV0 dGVyIHRvIHVzZSBjYXBhYmlsaXR5IGJpdHMgRlcgcHJvdmlkZXMgdG8gZGV0ZWN0IHdoZXRoZXIN CmZpcm13YXJlIGhhcyBBUElzIGZvciBFRVBST00gYWNjZXNzLg0KDQpCZWZvcmUgdGhhdCBleHBs aWNpd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