Skip to content

Aquantia atlantic driver update 2018/01

Igor Russkikh netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 3 repliesIn review
  2. v122 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10net: aquantia: Eliminate AQ_DIMOF, replace with ARRAY_SIZEdrivers/net/ethernet/aquantia/atlantic/aq_nic.c drivers/net/ethernet/aquantia/atlantic/aq_utils.h drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c +2 more+4 -60 replies
2/10net: aquantia: Cleanup status flags accessesdrivers/net/ethernet/aquantia/atlantic/aq_hw.h drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.c drivers/net/ethernet/aquantia/atlantic/aq_nic.c +6 more+11 -170 replies
3/10net: aquantia: Cleanup hardware access modulesdrivers/net/ethernet/aquantia/atlantic/aq_hw.h drivers/net/ethernet/aquantia/atlantic/aq_nic.c drivers/net/ethernet/aquantia/atlantic/aq_nic.h +5 more+71 -970 replies
4/10net: aquantia: Remove duplicate hardware descriptors declarationsdrivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0_internal.h drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0_internal.h drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.h+31 -620 replies
5/10net: aquantia: Add const qualifiers for hardware ops tablesdrivers/net/ethernet/aquantia/atlantic/aq_hw.h drivers/net/ethernet/aquantia/atlantic/aq_main.c drivers/net/ethernet/aquantia/atlantic/aq_nic.c +11 more+21 -200 replies
6/10net: aquantia: Simplify dependencies between pci modulesdrivers/net/ethernet/aquantia/atlantic/aq_main.c drivers/net/ethernet/aquantia/atlantic/aq_main.h drivers/net/ethernet/aquantia/atlantic/aq_nic.c +3 more+113 -1060 replies
7/10net: aquantia: Eliminate aq_nic structure abstractiondrivers/net/ethernet/aquantia/atlantic/aq_common.h drivers/net/ethernet/aquantia/atlantic/aq_hw.h drivers/net/ethernet/aquantia/atlantic/aq_main.c +7 more+46 -540 replies
8/10net: aquantia: Fix register definitions to linux styledrivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h+1173 -11392 replies
9/10net: aquantia: Prepend hw access functions declarations with prefixdrivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c +2 more+922 -8400 replies
10/10net: aquantia: Fix internal stats calculation on rxdrivers/net/ethernet/aquantia/atlantic/aq_ring.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH net-next v2 00/10] Aquantia atlantic driver update 2018/01

This patch is a set of cleanups and bugfixes in preparation to new Aquantia hardware support.

Standard ARRAY_SIZE is now used through all the code, some unused abstraction structures removed and cleaned up, duplicate declarations removed.

Also two large declaration styling fixes:
- Hardware register set defines are lined up with kernel style
- Hardware access functions were not prefixed, now already defined hw_atl prefix is used.

patch v2 changes:
- patch reorganized because of its big size. New HW support will be submitted as a separate patchset.

Igor Russkikh (10):
net: aquantia: Eliminate AQ_DIMOF, replace with ARRAY_SIZE
net: aquantia: Cleanup status flags accesses
net: aquantia: Cleanup hardware access modules
net: aquantia: Remove duplicate hardware descriptors declarations
net: aquantia: Add const qualifiers for hardware ops tables
net: aquantia: Simplify dependencies between pci modules
net: aquantia: Eliminate aq_nic structure abstraction
net: aquantia: Fix register definitions to linux style
net: aquantia: Prepend hw access functions declarations with prefix
net: aquantia: Fix internal stats calculation on rx

 drivers/net/ethernet/aquantia/atlantic/aq_common.h |    1 -
 drivers/net/ethernet/aquantia/atlantic/aq_hw.h     |   35 +-
 .../net/ethernet/aquantia/atlantic/aq_hw_utils.c   |    6 +-
 drivers/net/ethernet/aquantia/atlantic/aq_main.c   |   96 +-
 drivers/net/ethernet/aquantia/atlantic/aq_main.h   |    2 +
 drivers/net/ethernet/aquantia/atlantic/aq_nic.c    |   41 +-
 drivers/net/ethernet/aquantia/atlantic/aq_nic.h    |   41 +-
 .../ethernet/aquantia/atlantic/aq_nic_internal.h   |   45 -
 .../net/ethernet/aquantia/atlantic/aq_pci_func.c   |   99 +-
 .../net/ethernet/aquantia/atlantic/aq_pci_func.h   |    7 +-
 drivers/net/ethernet/aquantia/atlantic/aq_ring.c   |    4 +-
 drivers/net/ethernet/aquantia/atlantic/aq_ring.h   |    2 +-
 drivers/net/ethernet/aquantia/atlantic/aq_utils.h  |    6 -
 drivers/net/ethernet/aquantia/atlantic/aq_vec.c    |    5 +-
 drivers/net/ethernet/aquantia/atlantic/aq_vec.h    |    4 +-
 .../ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c  |  349 ++---
 .../ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.h  |    2 +-
 .../aquantia/atlantic/hw_atl/hw_atl_a0_internal.h  |   31 -
 .../ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c  |  375 +++--
 .../ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.h  |    2 +-
 .../aquantia/atlantic/hw_atl/hw_atl_b0_internal.h  |   31 -
 .../ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c | 1326 +++++++++--------
 .../ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h |  544 +++----
 .../aquantia/atlantic/hw_atl/hw_atl_llh_internal.h | 1521 ++++++++++----------
 .../aquantia/atlantic/hw_atl/hw_atl_utils.c        |   82 +-
 .../aquantia/atlantic/hw_atl/hw_atl_utils.h        |   62 +-
 26 files changed, 2385 insertions(+), 2334 deletions(-)
 delete mode 100644 drivers/net/ethernet/aquantia/atlantic/aq_nic_internal.h
Signature · 1 line
2.7.4