Skip to content

net: ethernet: aquantia: improvements and fixes

Pavel Belous netdev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest12 patches 4 repliesIn review
  2. v312 patches 2 repliesSuperseded
  3. v212 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v113 patches18 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12net: ethernet: aquantia: Removed extra assignment for skb->dev.drivers/net/ethernet/aquantia/atlantic/aq_ring.c+0 -10 replies
2/12net: ethernet: aquantia: Removed busy_count field.drivers/net/ethernet/aquantia/atlantic/aq_nic.c drivers/net/ethernet/aquantia/atlantic/aq_utils.h+0 -120 replies
3/12net: ethernet: aquantia: Fixes for aq_ndev_change_mtudrivers/net/ethernet/aquantia/atlantic/aq_main.c drivers/net/ethernet/aquantia/atlantic/aq_nic.c+2 -111 reply
4/12net: ethernet: aquantia: Using module_pci_driver.drivers/net/ethernet/aquantia/atlantic/aq_main.c+1 -190 replies
5/12net: ethernet: aquantia: Superfluous initialization of "err".drivers/net/ethernet/aquantia/atlantic/aq_main.c+1 -70 replies
6/12net: ethernet: aquantia: Fixed missing rtnl_unlock.drivers/net/ethernet/aquantia/atlantic/aq_nic.c+3 -20 replies
7/12net: ethernet: aquantia: Using NETDEV_TX_OK instead 0.drivers/net/ethernet/aquantia/atlantic/aq_nic.c+1 -10 replies
8/12net: ethernet: aquantia: Null pointer check for aq_nic_ndev_alloc.drivers/net/ethernet/aquantia/atlantic/aq_nic.c+4 -30 replies
9/12net: ethernet: aquantia: Call netdev_register after all initialized.drivers/net/ethernet/aquantia/atlantic/aq_nic.c drivers/net/ethernet/aquantia/atlantic/aq_nic_internal.h+5 -61 reply
10/12net: ethernet: aquantia: Fixed incorrect buff->len calculation.drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c+4 -40 replies
11/12net: ethernet: aquantia: Fixed memory allocation if AQ_CFG_RX_FRAME_MAX > 1 page.drivers/net/ethernet/aquantia/atlantic/aq_ring.c+3 -10 replies
12/12net: ethernet: aquantia: Copying tx buffers is not needed.drivers/net/ethernet/aquantia/atlantic/aq_nic.c drivers/net/ethernet/aquantia/atlantic/aq_ring.c drivers/net/ethernet/aquantia/atlantic/aq_ring.h+97 -951 reply

Reviews trailers per patch

9 of 12 patches have a Reviewed-by or Acked-by.

PatchLino Sanfilippo
1/12R-b
2/12R-b
3/12
4/12R-b
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12
11/12
12/12R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH net-next v4 00/12] net: ethernet: aquantia: improvements and fixes

From: Pavel Belous <[email protected]>

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(-)
Signature · 1 line
2.7.4