From: Pavel Belous <pavel.bel...@aquantia.com> 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: 1)Removed buffers copying. 2)Fixed dma error handling. v2->v3: 1)Fixes for aq_ndev_change_mtu: -Use core MTU checking for min_mtu. -Removed extra new_mtu assigment. 2)Reverse XMAS tree in aq_ring_rx_fill. v3->v4: 1)Use ndev->reg_state instead "is_ndev_registered" flag. 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: Fixes for aq_ndev_change_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 | 40 +--- drivers/net/ethernet/aquantia/atlantic/aq_nic.c | 206 +++++++++++---------- .../ethernet/aquantia/atlantic/aq_nic_internal.h | 1 - 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 +- 8 files changed, 121 insertions(+), 162 deletions(-) -- 2.7.4