Skip to content

net: atlantic: A2 support

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 Latest17 patches 5 repliesIn review
  2. v117 patches 10 repliesSuperseded

Changes in v2 from the cover letter

* removed #pragma pack (2 structures require the packed attribute);
* use defines instead of magic numbers where possible;

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17net: atlantic: update company name in the driver descriptiondrivers/net/ethernet/aquantia/atlantic/aq_cfg.h drivers/net/ethernet/aquantia/atlantic/aq_common.h+3 -30 replies
2/17net: atlantic: add A2 device IDsdrivers/net/ethernet/aquantia/atlantic/aq_common.h+7 -00 replies
3/17net: atlantic: add defines for 10M and EEE 100M link modedrivers/net/ethernet/aquantia/atlantic/aq_common.h drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c drivers/net/ethernet/aquantia/atlantic/aq_nic.c+27 -100 replies
4/17net: atlantic: add hw_soft_reset, hw_prepare to hw_opsdrivers/net/ethernet/aquantia/atlantic/aq_hw.h drivers/net/ethernet/aquantia/atlantic/aq_nic.c drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c +2 more+24 -50 replies
5/17net: atlantic: simplify hw_get_fw_version() usagedrivers/net/ethernet/aquantia/atlantic/aq_hw.h drivers/net/ethernet/aquantia/atlantic/aq_nic.c drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c +1 more+6 -120 replies
6/17net: atlantic: make hw_get_regs optionaldrivers/net/ethernet/aquantia/atlantic/aq_nic.c+6 -00 replies
7/17net: atlantic: move IS_CHIP_FEATURE to aq_hw.hdrivers/net/ethernet/aquantia/atlantic/aq_hw.h drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c +2 more+36 -320 replies
8/17net: atlantic: A2 driver-firmware interfacedrivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils.h+593 -01 reply
9/17net: atlantic: minimal A2 HW bindings required for fw_opsdrivers/net/ethernet/aquantia/atlantic/Makefile drivers/net/ethernet/aquantia/atlantic/aq_hw.h drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh.c +2 more+137 -00 replies
10/17net: atlantic: minimal A2 fw_opsdrivers/net/ethernet/aquantia/atlantic/Makefile drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_internal.h drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils.h +1 more+352 -00 replies
11/17net: atlantic: A2 hw_ops skeletondrivers/net/ethernet/aquantia/atlantic/Makefile drivers/net/ethernet/aquantia/atlantic/aq_hw.h drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c +3 more+294 -70 replies
12/17net: atlantic: HW bindings for A2 RFPdrivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh.c +2 more+284 -00 replies
13/17net: atlantic: add A2 RPF hw_opsdrivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.h drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_internal.h+259 -00 replies
14/17net: atlantic: HW bindings for basic A2 init/deinit hw_opsdrivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh.c drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh.h drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh_internal.h+207 -00 replies
15/17net: atlantic: common functions needed for basic A2 init/deinit hw_opsdrivers/net/ethernet/aquantia/atlantic/Makefile drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.h +3 more+163 -22 replies
16/17net: atlantic: basic A2 init/deinit hw_opsdrivers/net/ethernet/aquantia/atlantic/aq_nic.c drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.h +4 more+362 -790 replies
17/17net: atlantic: A2 ingress / egress hw configurationdrivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.h drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c +4 more+172 -1050 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 net-next 00/17] net: atlantic: A2 support

This patchset adds support for the new generation of Atlantic NICs.

Chip generations are mostly compatible register-wise, but there are still some differences. Therefore we've made some of first generation (A1) code non-static to re-use it where possible.

Some pieces are A2 specific, in which case we redefine/extend such APIs.

v2:
* removed #pragma pack (2 structures require the packed attribute);
* use defines instead of magic numbers where possible;

v1: https://patchwork.ozlabs.org/cover/1276220/

Dmitry Bogdanov (5):
net: atlantic: A2 driver-firmware interface
net: atlantic: minimal A2 HW bindings required for fw_ops
net: atlantic: minimal A2 fw_ops
net: atlantic: HW bindings for basic A2 init/deinit hw_ops
net: atlantic: common functions needed for basic A2 init/deinit hw_ops

Igor Russkikh (8):
net: atlantic: update company name in the driver description
net: atlantic: add A2 device IDs
net: atlantic: add defines for 10M and EEE 100M link mode
net: atlantic: A2 hw_ops skeleton
net: atlantic: HW bindings for A2 RFP
net: atlantic: add A2 RPF hw_ops
net: atlantic: basic A2 init/deinit hw_ops
net: atlantic: A2 ingress / egress hw configuration

Mark Starovoytov (3):
net: atlantic: add hw_soft_reset, hw_prepare to hw_ops
net: atlantic: make hw_get_regs optional
net: atlantic: move IS_CHIP_FEATURE to aq_hw.h

Nikita Danilov (1):
net: atlantic: simplify hw_get_fw_version() usage

 .../net/ethernet/aquantia/atlantic/Makefile   |   4 +
 .../net/ethernet/aquantia/atlantic/aq_cfg.h   |   4 +-
 .../ethernet/aquantia/atlantic/aq_common.h    |  33 +-
 .../ethernet/aquantia/atlantic/aq_ethtool.c   |   3 +
 .../net/ethernet/aquantia/atlantic/aq_hw.h    |  22 +-
 .../net/ethernet/aquantia/atlantic/aq_nic.c   |  43 +-
 .../ethernet/aquantia/atlantic/aq_pci_func.c  |  39 +-
 .../aquantia/atlantic/hw_atl/hw_atl_a0.c      |   4 +-
 .../aquantia/atlantic/hw_atl/hw_atl_b0.c      |  86 +--
 .../aquantia/atlantic/hw_atl/hw_atl_b0.h      |  37 +
 .../aquantia/atlantic/hw_atl/hw_atl_llh.c     |  18 +-
 .../aquantia/atlantic/hw_atl/hw_atl_llh.h     |  10 +-
 .../aquantia/atlantic/hw_atl/hw_atl_utils.c   |  51 +-
 .../aquantia/atlantic/hw_atl/hw_atl_utils.h   |  17 +-
 .../aquantia/atlantic/hw_atl2/hw_atl2.c       | 684 ++++++++++++++++++
 .../aquantia/atlantic/hw_atl2/hw_atl2.h       |  14 +
 .../atlantic/hw_atl2/hw_atl2_internal.h       | 137 ++++
 .../aquantia/atlantic/hw_atl2/hw_atl2_llh.c   | 208 ++++++
 .../aquantia/atlantic/hw_atl2/hw_atl2_llh.h   |  91 +++
 .../atlantic/hw_atl2/hw_atl2_llh_internal.h   | 328 +++++++++
 .../aquantia/atlantic/hw_atl2/hw_atl2_utils.c | 139 ++++
 .../aquantia/atlantic/hw_atl2/hw_atl2_utils.h | 606 ++++++++++++++++
 .../atlantic/hw_atl2/hw_atl2_utils_fw.c       | 341 +++++++++
 23 files changed, 2798 insertions(+), 121 deletions(-)
 create mode 100644 drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c
 create mode 100644 drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.h
 create mode 100644 drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_internal.h
 create mode 100644 drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh.c
 create mode 100644 drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh.h
 create mode 100644 drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh_internal.h
 create mode 100644 drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils.c
 create mode 100644 drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils.h
 create mode 100644 drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c
Signature · 1 line
2.20.1