From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Belous Subject: [PATCH net-next v2 00/12] net: ethernet: aquantia: improvements and fixes Date: Sat, 18 Feb 2017 00:07:22 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Cc: netdev@vger.kernel.org, Simon Edelhaus , Alexey Andriyanov , Lino Sanfilippo , Pavel Belous To: "David S . Miller" Return-path: Received: from mail-sn1nam01on0064.outbound.protection.outlook.com ([104.47.32.64]:30944 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934271AbdBQVI7 (ORCPT ); Fri, 17 Feb 2017 16:08:59 -0500 Sender: netdev-owner@vger.kernel.org List-ID: From: Pavel Belous The following patchset contains improvements and fixes for aQuantia AQtion ethernet driver from net-next tree. Most fixes are based on the comments from Lino Sanfilippo. Sanity testing was performed on real HW. No regression found. v1->v2 :Removed buffers copying. Fixed dma error handling. Please review. Thanks. Pavel Belous (12): net: ethernet: aquantia: Removed extra assignment for skb->dev. net: ethernet: aquantia: Removed busy_count field. net: ethernet: aquantia: Removed unnecessary comparsion "old_mtu == new_mtu". net: ethernet: aquantia: Using module_pci_driver. net: ethernet: aquantia: Superfluous initialization of "err". net: ethernet: aquantia: Fixed missing rtnl_unlock. net: ethernet: aquantia: Using NETDEV_TX_OK instead 0. net: ethernet: aquantia: Null pointer check for aq_nic_ndev_alloc. net: ethernet: aquantia: Call netdev_register after all initialized. net: ethernet: aquantia: Fixed incorrect buff->len calculation. net: ethernet: aquantia: Fixed memory allocation if AQ_CFG_RX_FRAME_MAX > 1 page. net: ethernet: aquantia: Copying tx buffers is not needed. drivers/net/ethernet/aquantia/atlantic/aq_main.c | 34 +--- drivers/net/ethernet/aquantia/atlantic/aq_nic.c | 205 +++++++++++---------- drivers/net/ethernet/aquantia/atlantic/aq_ring.c | 24 +-- drivers/net/ethernet/aquantia/atlantic/aq_ring.h | 3 - drivers/net/ethernet/aquantia/atlantic/aq_utils.h | 1 - .../ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c | 4 +- .../ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c | 4 +- 7 files changed, 122 insertions(+), 153 deletions(-) -- 2.7.4