Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751896AbdFFPDo (ORCPT ); Tue, 6 Jun 2017 11:03:44 -0400 Received: from mail-dm3nam03on0041.outbound.protection.outlook.com ([104.47.41.41]:54360 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751428AbdFFPAq (ORCPT ); Tue, 6 Jun 2017 11:00:46 -0400 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; From: Ioana Radulescu To: CC: , , , , , , , , Subject: [PATCH 00/18] staging: fsl-dpaa2/eth: Code cleanup and minor fixes Date: Tue, 6 Jun 2017 10:00:23 -0500 Message-ID: <20170606150041.10955-1-ruxandra.radulescu@nxp.com> X-Mailer: git-send-email 2.11.0 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131412348442988019;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.168.50;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(336005)(39850400002)(39380400002)(39840400002)(39450400003)(39860400002)(39410400002)(39400400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(2351001)(2906002)(39060400002)(305945005)(85426001)(6916009)(47776003)(1076002)(4326008)(498600001)(6666003)(110136004)(50986999)(105606002)(8656002)(106466001)(38730400002)(81166006)(36756003)(48376002)(53936002)(5003940100001)(356003)(8936002)(50226002)(33646002)(8676002)(104016004)(50466002)(7416002)(77096006)(189998001)(5660300001)(86362001)(54906002);DIR:OUT;SFP:1101;SCL:1;SRVR:BY2PR03MB174;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:ovrnspm;MX:1;A:1;PTR:InfoDomainNonexistent;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD019;1:S0ULjk1Xa0jXVdQnU7ezC4txfsmQLrrYq4bVs/z5maQ3UYxclxwcME1W4O252kPFDGIuEsgO5u5hV9U7UU/dhRyFLZEAE8gFdsr/b9+1zttqWyvzb9pLI3wRNYPVCOXzwSgg05zQxtZPxs2WqRIeDiDr089NAkFZ6T5DCp1UTnI9icFjkWZMGEcikXA7jsweSk0U9AsuRIFO7Moco6/9cdTLWx5gpWzUyfN00v8qYvHfw1P5MVdL1YmkiNUghNX2TlN3ldNI4H3AyrB08XRr8+xauc858wKbVkJIz99MIjz6Sro8LusNvm9gpO1xquPAzAM3bFNNHmuXn13KbQmZJTpvGuz+rxQAhfbIVZ02wfmLi7eE0K4q9iEF4hkqTJfnoHXto8YgGEHSjl7nYM6dQwjx640dLKtwEUXu59SBcEVqJV7Yj+VlBlJnGE2w/n8TeGL2EIFvGOGXX3OiFclvm4L0VIJZmFIfi7EgJ+30ljcaByEEt6vNf9XNW0tEV4Ik24nCNEFwNxIF5eFlMp89MzSJTPLvQBpQCgHulUWlICnzCtZuASmBBcX1Zukz/QJjWizZEKlOGcmUg89fbXUJM4uepwY1eu4GWOW8SRya9oZ/ZPiO/JinRXswgxuGsHOwulRJSa01Lfp7+8vjwE3Amf3+PnZeLkKMDUwEVVF+HGtEpO3kbrXk8KnWJaRZQQ4h MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY2PR03MB174: X-MS-Office365-Filtering-Correlation-Id: 357a793e-a2c6-403a-ec94-08d4acecce7f X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131430075)(201703131517081);SRVR:BY2PR03MB174; X-Microsoft-Exchange-Diagnostics: 1;BY2PR03MB174;3:7pOJn2nLKIP1ksHZN4begtPzvIIY/Le4ykeMDGkg7Bk3DW6euoY2UQ83MhiSwJsULqYbkvjwk92A+oYMI/A1hl937QpzgwYUXA6DJ+p9mMOydqvWsCvB9Fx8HgvwzaThM2oqwNBxIQWlKx8pBMX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Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13018025)(13016025)(8121501046)(5005006)(93006095)(93001095)(3002001)(100000703101)(100105400095)(10201501046)(6055026)(6096035)(20161123559100)(20161123556025)(20161123561025)(20161123563025)(20161123565025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BY2PR03MB174;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BY2PR03MB174; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY2PR03MB174;4:kQ6ApfZG7bzDZT2R8Adfj/yZl0tg/apzPvEV0ZtNZRD?= =?us-ascii?Q?5E8mX1fq8XIlw/WHfdK6uYglwFuhVvKdVIUAcT67+FM9NT88ZxNH1oPTpi7B?= =?us-ascii?Q?t5le3EhRKHmp9m0TU3C0NQ/mjFWZ5DjbfFytpEmsSyjwzPzyS+1VR50KeFie?= =?us-ascii?Q?GgJFdDHezUrlQaRjq9H0Qu+tqEqIEaTXpKecP69HwHaOMF2EcSJh89EeAbs0?= =?us-ascii?Q?p2M+pSv+oL47Zh1+zp8mIUzlvAXbogDjtGKCEIIu5ox45d6nh8BdUp2dYcIj?= =?us-ascii?Q?xZFvAE5c7+kigQkeWyXFtz3e+LdVzJycx1Fj+4UxDKJK0vYieQtk2sWRpCqp?= =?us-ascii?Q?UvXKrIHfq4RYoJZzaPgcivNS1k6wXDJqa2wjWUlD1/OwHAAvnOZz+/np+1k9?= =?us-ascii?Q?AkxIvFqX5rkMzDs/Z4Jg4N9rjABn/lIYzo/Wb1Fy47ZYlJn7b+Gm6RnwRb3f?= =?us-ascii?Q?WinBR3CPbI2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EpqCfOU+7RB5OfDNSZBlJIsbGyIKwDbDL9XtYT/NPW2t1YNf0+UZTy63SMYMHkJ5BtgFfwJkomC4IKC6l6K3bANhDF0kHDLzW6TpVpPC59n8iLgOiikXPHvWQgu1EQmlYJUXA4JIfwiu2Trzhwqt3BOB61JnJ/YlM6RJTCF4pG/cghPIs/1xhRXUGyZVgILK6Owh2Leso3EvQdM6BG8IzaC9YYzhytxoWiN5xfpvjX0iRYdfOqvHO3TynyjshbEDMSiMCEZ40CfvtOIKKxvqRdlvijni5B5FVR8dilF/C9iCtzVmLrb6aqdH8b0dEYs+UZ0hCu79W194foHbadfoOIEXp66FElSTuwYkGKA3q7I1uFlZPiSNkjadv6xZ81HoXIyiO2kxZNmSXS4hhgSbuv+mlExpHtrV0JPKKUzMSnjNaa8HVCSWvIX89sWe29nLLtXlnwOCLIBgNw5A0p1TzDOHc0QHulwvA==;24:TspOsNsWJKh+pPjf5FhOZKHu5gFu85P4zcqpmBrSmKnhgpIM+nAmZMbrCqfAnsbWcbp69qBNPQoS/n+1UmSJfIDywudlut4G459mAhBVqzc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BY2PR03MB174;7:qwoPDRfLtsA9szf7GeFUyiz024SOiQLaWVcVmnIKXBB6WcnCv63RjeMdh5UcjZi+W8oIZr2FkwwaMlM4QqvtVtQQPgfg+CXz6WMc6sQdTMGyD9VBF7CP9dBusEe7dgr4ZpYx2ub8bvzdi1+KUfnpjCCqBDGEEXo5NsqlZ3rRQNBHOBRBjCkcGUbfS4w+qZ2VtaCBuWtK1YJNF1QKT4sWT8xOGIRCeDZoT9LT4Hmpkg5udzdBPOfV9+ZmD1PGKfO8Vts1zFNzqbr0Ky46CuTZMGKUMPfuTrRP6vpIzh/cjJsdSdoQ+muD7jvdwYim/7aQqjqev0UwahtLm/xCYKOTNg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2017 15:00:44.0960 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB174 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1394 Lines: 30 This patch series contains fixes for a few minor bugs and code cleanup and cosmetics. No significant functional changes. Ioana Radulescu (18): staging: fsl-dpaa2/eth: Add "static" keyword where needed staging: fsl-dpaa2/eth: Initialize variable before use staging: fsl-dpaa2/eth: Fix return type of ndo_start_xmit staging: fsl-dpaa2/eth: Remove incorrect error path staging: fsl-dpaa2/eth: Add error message newlines staging: fsl-dpaa2/eth: Minor cleanup in dpaa2_eth_set_hash staging: fsl-dpaa2/eth: Don't use GFP_DMA staging: fsl-dpaa2/eth: Always call napi_gro_receive() staging: fsl-dpaa2/eth: Reset dpbp staging: fsl-dpaa2/eth: Defer probing if no DPIOs found staging: fsl-dpaa2/eth: Update ethtool stats names staging: fsl-dpaa2/eth: Add accessor for FAS field staging: fsl-dpaa2/eth: Remove unused fields from priv struct staging: fsl-dpaa2/eth: Only store bpid in priv struct staging: fsl-dpaa2/eth: Reorder priv fields staging: fsl-dpaa2/eth: Errors checking update staging: fsl-dpaa2/eth: Refactor MAC address setup staging: fsl-dpaa2/eth: Update number of netdev queues drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 228 +++++++++++++-------- drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h | 56 ++--- drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c | 64 +++--- 3 files changed, 204 insertions(+), 144 deletions(-) -- 2.11.0