From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0097.outbound.protection.outlook.com [104.47.36.97]) by dpdk.org (Postfix) with ESMTP id 7F277952 for ; Mon, 6 Mar 2017 20:33:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qlgc.onmicrosoft.com; s=selector1-qlogic-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Wm0n+ySxqUul8vXd8oq3+hQeHiuyJZM1Ro6FGk5iNWk=; b=kohrpyWCxsWVykZoUX7CrjooSW4mP24jAlFsxLk4JvPPKwfKg5mCW3d6LHUqxQFpE9z6J7nBgIZBoi420m19RaEKlQEGMimsJ+RE/nhgqy8SjWZDZJ1ijllBXpi0NYcCVg7vQwi2UJdoZIVsoCUETxceLfD/XkrEl2TEa/KWgZg= Received: from CY1PR11MB0904.namprd11.prod.outlook.com (10.164.68.30) by CY1PR11MB0904.namprd11.prod.outlook.com (10.164.68.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.947.12; Mon, 6 Mar 2017 19:32:58 +0000 Received: from CY1PR11MB0904.namprd11.prod.outlook.com ([10.164.68.30]) by CY1PR11MB0904.namprd11.prod.outlook.com ([10.164.68.30]) with mapi id 15.01.0947.018; Mon, 6 Mar 2017 19:32:58 +0000 From: Harish Patil To: Jan Blunck , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 17/38] net/bnx2x: Don't use eth_driver Thread-Index: AQHSlrB1Tem8kgPb+U6yCa7dubvMAA== Date: Mon, 6 Mar 2017 19:32:58 +0000 Message-ID: References: <1488794430-25179-1-git-send-email-jblunck@infradead.org> <1488794430-25179-18-git-send-email-jblunck@infradead.org> In-Reply-To: <1488794430-25179-18-git-send-email-jblunck@infradead.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.6.9.160926 authentication-results: infradead.org; dkim=none (message not signed) header.d=none;infradead.org; dmarc=none action=none header.from=qlogic.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [75.54.224.17] x-ms-office365-filtering-correlation-id: 546e2599-47e1-46a8-0078-08d464c7984e x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:CY1PR11MB0904; x-microsoft-exchange-diagnostics: 1; CY1PR11MB0904; 7:GG/QeW0nh+dvHhzPbsnBp0prJ98ad7pISE1F59wHvUh5Y8IyZGJqgc+pjsdVOfD/3Bs8dYIX3HNo2FzDqlNw7H7vBTkzuVYyYf7smASxZ6F+03SuzJlkQxHxETONpQMm4DE7FxGl5I+5pDcQD3pBkkgGNcP46Y1jLPJMdDkP8W9h62LX5CzSCBLDT5JUfxDKlyTbAs137P2S4anhKeg1vImPhB1AwPRpNmxCxLOUUgxpPO1N+hLpjav+s5gRDRganwOi6OJP6KLWJ7BmFl5lGOo9IcCgQ5o5hEMIsqi3dh1YI7dBbSAJn4rBeaXqHr23rxf92BAQXaYzdUDLR9nhDg== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6041248)(20161123562025)(20161123558025)(20161123555025)(20161123560025)(20161123564025)(2016111802025)(6043046)(6072148); SRVR:CY1PR11MB0904; BCL:0; PCL:0; RULEID:; SRVR:CY1PR11MB0904; x-forefront-prvs: 0238AEEDB0 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(39410400002)(39850400002)(39860400002)(39840400002)(39450400003)(6436002)(66066001)(5660300001)(2501003)(6486002)(6506006)(77096006)(102836003)(3846002)(2950100002)(122556002)(2900100001)(3660700001)(6116002)(3280700002)(2906002)(25786008)(229853002)(92566002)(8936002)(106116001)(81166006)(38730400002)(575784001)(86362001)(6246003)(36756003)(83506001)(4001350100001)(6512007)(9686003)(7736002)(54356999)(53936002)(189998001)(305945005)(50986999)(76176999)(8676002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR11MB0904; H:CY1PR11MB0904.namprd11.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <9FE5E7AA69DE6F44950A58E8B55478C2@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: qlogic.com X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Mar 2017 19:32:58.1350 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0d68a1f9-1490-4d0e-8767-a87dab3ef2ba X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR11MB0904 Subject: Re: [dpdk-dev] [PATCH 17/38] net/bnx2x: Don't use eth_driver 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, 06 Mar 2017 19:33:01 -0000 Pg0KDQo+U2lnbmVkLW9mZi1ieTogSmFuIEJsdW5jayA8amJsdW5ja0BpbmZyYWRlYWQub3JnPg0K Pi0tLQ0KPiBkcml2ZXJzL25ldC9ibngyeC9ibngyeF9ldGhkZXYuYyB8IDY0DQo+KysrKysrKysr KysrKysrKysrKysrKysrKysrLS0tLS0tLS0tLS0tLQ0KPiAxIGZpbGUgY2hhbmdlZCwgNDQgaW5z ZXJ0aW9ucygrKSwgMjAgZGVsZXRpb25zKC0pDQo+DQo+ZGlmZiAtLWdpdCBhL2RyaXZlcnMvbmV0 L2JueDJ4L2JueDJ4X2V0aGRldi5jDQo+Yi9kcml2ZXJzL25ldC9ibngyeC9ibngyeF9ldGhkZXYu Yw0KPmluZGV4IGEwYjBkZmEu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