This is a patchset loosely based on internal development tree which
tracked ICE driver development over a period of time since last
snapshot update.

v2-> v3:
- Fixed commit authorship for commits where it was feasible to do so
- Addressed review comments
- Clarified and corrected a few commit messages
- Squashed more style changes into one giant "align code to base driver" patch
  (process still ongoing)
- Split a few patches into more meaningful chunks
- Dropped a few patches due to validation discovering issues with them

[v1 went out as v2 by accident so it is v2 now]
RFC -> v1:
- From one, many

Adrian Pielech (1):
  net/ice/base: remove dead code from ice_get_ddp_pkg_state

Anatoly Burakov (7):
  net/ice/base: move ice_ptp_init_phy_model to align with upstream
  net/ice/base: add port option commands
  net/ice/base: align code to base driver
  net/ice/base: fix compile issues on some targets
  net/ice/base: move code to common headers
  net/ice/base: make some switch-related functions static
  net/ice/base: make Tx and Rx vernier offset calibration independent

Ashish Shah (1):
  net/ice/base: update flow seg fields to declared bitmaps

Aviraj CJ (1):
  net/ice/base: allow passing flags to sbq command

Bartosz Staszewski (1):
  net/ice/base: improve read retry value calculation

Ben Shelton (2):
  net/ice/base: add AQ function to configure SyncE error reporting
  net/ice/base: clean up ice_lan_tx_rx

Benjamin Mikailenko (1):
  net/ice/base: increase PF reset wait timeout to 500 milliseconds

Bruce Richardson (1):
  net/ice: add new device ids

Chinh Cao (1):
  net/ice/base: correct the return type of ice_bitmap_hweight

Dan Nowlin (6):
  net/ice/base: fix package download algorithm
  net/ice/base: allows packages with mixed signature presence
  net/ice/base: allow different FW API versions based on MAC type
  net/ice/base: add 32 GT bus speed enumerated value
  net/ice/base: add 200G speeds to PHY types decoding
  net/ice/base: support E830 in Topology AQ command

Dave Ertman (1):
  net/ice/base: update strict status when assigning BW limits

Dawid Zielinski (2):
  net/ice/base: update interface in ice_parse_common_caps
  net/ice/base: copy output IO params from command descriptor

Eric Joyner (4):
  net/ice/base: fix memory leak when checking firmware version
  net/ice/base: adapt No FEC in Auto support check to add E82X devices
  net/ice/base: fix GCS descriptor field offsets
  net/ice/base: detect and store device sensor reading capability

Fabio Pricoco (8):
  net/ice/base: add mgmt netlist auth support command
  net/ice/base: avoid undefined variables
  net/ice/base: support for OROM update in recovery mode
  net/ice/base: fix resource leak
  net/ice/base: add fw log file
  net/ice/base: use correct type
  net/ice/base: support for firmware sanitization
  net/ice/base: use a variable to store reset count

Grzegorz Nitka (1):
  net/ice/base: improve find recipe routine

Ian Stokes (3):
  net/ice/base: add E830 debug dump cluster ID values
  net/ice/base: add missing files for shared code update
  net/ice/base: add missing defines and misc cleanup

Jacob Keller (15):
  net/ice/base: improve ice_debug_cq messages
  net/ice/base: remove unnecessary control queue cmd_buf arrays
  net/ice/base: refactor control queue send delay
  net/ice/base: fix incorrect size when allocating children arrays
  net/ice/base: fix ice_ptp_one_port_cmd to avoid stale PHY commands
  net/ice/base: use ICE_PTP_NOP to better indicate no action
  net/ice/base: use "err" instead of "status" in ice_ptp_hw.c
  net/ice/base: re-number E810-T subdevice IDs to match upstream
  net/ice/base: enable RDMA Act-Act unload paths
  net/ice/base: be more verbose when preparing timer sync
  net/ice/base: return high address for multi-read eth56g registers
  net/ice/base: add function to read Tx timestamp status register
  net/ice/base: squash multiple fixes for e56g device
  net/ice/base: rename netlist check functions to match upstream
  net/ice/base: rename SMA register macros to match Linux upstream

Jaroslaw Ilgiewicz (1):
  net/ice/base: read OROM in a loop

Jesse Brandeburg (7):
  net/ice/base: add missing include
  net/ice/base: refactor (non) bitmap declarations
  net/ice/base: update code with flex array safe allocations
  net/ice/base: move lock outside of if-else
  net/ice/base: fix sign-extension
  net/ice/base: switch speed conversions to static lookups
  net/ice/base: misc header file clean up

Karol Kolacinski (7):
  net/ice/base: add LL Tx timestamp interrupt read
  net/ice/base: remove PTP aqc_driver_params
  net/ice/base: fall back to safe CGU params
  net/ice/base: add PHY OFFSET_READY register clearing
  net/ice/base: implement interface to reset timestamp memory
  net/ice/base: enable CGU error reporting
  net/ice/base: cleanup timestamp registers correctly

Lukasz Plachno (3):
  net/ice/base: prevent potential integer overflow
  net/ice/base: replace array initialization with macros
  net/ice/base: use const char* array for storing link modes

Mateusz Pacuszka (3):
  net/ice/base: use ice_bitmap_t in promisc functions
  net/ice/base: fix rx-only unicast promiscuous mode
  net/ice/base: fix check for existing switch rule

Michal Michalik (2):
  net/ice/base: add support for E825-C TX clock changing
  net/ice/base: implement initial PTP support for E830

Michal Swiatkowski (1):
  net/ice/base: alloc port_info only once

Michal Wilczynski (1):
  net/ice/base: introduce new functions in ice_sched_node

Milena Olech (2):
  net/ice/base: remove PHY port timer bypass mode
  net/ice/base: change a method to get pca9575 handle

Norbert Ciosek (1):
  net/ice/base: check if recipe buffer was already allocated

Pabitra Dalai (1):
  net/ice/base: add defines for loopback mode

Paul Greenwalt (5):
  net/ice/base: add E830 definitions
  net/ice/base: improve media type handling for phy caps
  net/ice/base: fix potential TLV length overflow
  net/ice/base: add Get Link Status Data version 2
  net/ice/base: add E830 PTP init

Pawel Sobczyk (1):
  net/ice/base: add Floating VEB support

Piotr Raczynski (1):
  net/ice/base: add VSI type for subfunctions

Prathisna Padmasanan (1):
  net/ice/base: added informational message for NAC topology

Przemek Kitszel (3):
  net/ice/base: convert enum ice_status to int
  net/ice/base: replace ICE_SUCCESS with int
  net/ice/base: update boost struct for traffic types

Remigiusz Konca (1):
  net/ice/base: enable Next Cluster ID capability

Robert Malz (1):
  net/ice/base: fix for applying multiple cloud filters

Scott W Taylor (1):
  net/ice/base: merge unified E830 headers

Sergey Temerkhanov (10):
  net/ice/base: use model-dependent number of PHY ports
  net/ice/base: parse 1PPS GPIO in 1588 function caps
  net/ice/base: rename PHY model designator fields and functions
  net/ice/base: enable SB access explicitly before 1st PHY access
  net/ice/base: refactor ETH56G PHY initialization
  net/ice/base: refactor ETH56G support for multiple PHYs per MAC
  net/ice/base: implement upper-level PHY control functions
  net/ice/base: support E830 in DDP pkg handling
  net/ice/base: allow skipping main timer programming
  net/ice/base: implement TX interrupt enablement functions

Siddaraju DH (1):
  net/ice/base: update phy config during link restart

Stefan Wegrzyn (6):
  net/ice/base: fix for pointer to variable outside scope
  net/ice/base: allow for dumping all clusters
  net/ice/base: allow skipping PF clear
  net/ice/base: make ice_clear_vsi_q_ctx() non-static
  net/ice/base: fix ice_memcpy type specifiers
  net/ice/base: adjust memcpy type

Ting Xu (1):
  net/ice/base: support DCF query port ETS adminq

Tomaszx Wakula (2):
  net/ice/base: add function to read SDP section from NVM
  net/ice/base: fix for preparing PHY for timesync command

Waldemar Dworakowski (3):
  net/ice/base: ignore snprintf return value
  net/ice/base: check array bounds
  net/ice/base: fix in the definition of the Board Type

Wojciech Drewek (2):
  net/ice/base: add Cage Max Power override NVM module
  net/ice/base: add L2TPv3 support for adv rules

Yahui Cao (1):
  net/ice/base: fix ice_get_ctx() issue

Yochai Hagvi (3):
  net/ice/base: change data buffer in i2c write to be const
  net/ice/base: add helper function for refsync
  net/ice/base: change tmr_idx to u32

Zhirun Yan (1):
  net/ice/base: add ability to set markid via switch filter

 drivers/net/ice/base/ice_acl.c                |   58 +-
 drivers/net/ice/base/ice_acl.h                |   50 +-
 drivers/net/ice/base/ice_acl_ctrl.c           |   44 +-
 drivers/net/ice/base/ice_adminq_cmd.h         |  429 +-
 drivers/net/ice/base/ice_bitops.h             |    8 +-
 drivers/net/ice/base/ice_cgu_regs.h           |   90 +
 drivers/net/ice/base/ice_common.c             | 1494 +++---
 drivers/net/ice/base/ice_common.h             |  188 +-
 drivers/net/ice/base/ice_controlq.c           |  213 +-
 drivers/net/ice/base/ice_controlq.h           |   28 +-
 drivers/net/ice/base/ice_dcb.c                |   77 +-
 drivers/net/ice/base/ice_dcb.h                |   32 +-
 drivers/net/ice/base/ice_ddp.c                |  117 +-
 drivers/net/ice/base/ice_ddp.h                |   15 +-
 drivers/net/ice/base/ice_devids.h             |   36 +-
 drivers/net/ice/base/ice_fdir.c               |   46 +-
 drivers/net/ice/base/ice_fdir.h               |   18 +-
 drivers/net/ice/base/ice_flex_pipe.c          |  376 +-
 drivers/net/ice/base/ice_flex_pipe.h          |   30 +-
 drivers/net/ice/base/ice_flex_type.h          |   13 +-
 drivers/net/ice/base/ice_flow.c               |  328 +-
 drivers/net/ice/base/ice_flow.h               |   52 +-
 drivers/net/ice/base/ice_fwlog.c              |    5 +
 .../base/ice_fwlog.h}                         |    2 +-
 drivers/net/ice/base/ice_hw_autogen.h         | 2556 +++++++--
 drivers/net/ice/base/ice_lan_tx_rx.h          |   40 +-
 drivers/net/ice/base/ice_nvm.c                |  320 +-
 drivers/net/ice/base/ice_nvm.h                |   36 +-
 drivers/net/ice/base/ice_parser.c             |   47 +-
 drivers/net/ice/base/ice_parser.h             |   30 +-
 drivers/net/ice/base/ice_parser_rt.c          |   30 +-
 drivers/net/ice/base/ice_parser_rt.h          |    4 +-
 drivers/net/ice/base/ice_phy_regs.h           |   84 +
 drivers/net/ice/base/ice_protocol_type.h      |   11 +-
 drivers/net/ice/base/ice_ptp_consts.h         |    3 +-
 drivers/net/ice/base/ice_ptp_hw.c             | 4608 ++++++++++-------
 drivers/net/ice/base/ice_ptp_hw.h             |  274 +-
 drivers/net/ice/base/ice_sbq_cmd.h            |    3 +-
 drivers/net/ice/base/ice_sched.c              |  548 +-
 drivers/net/ice/base/ice_sched.h              |  129 +-
 drivers/net/ice/base/ice_status.h             |    2 +
 drivers/net/ice/base/ice_switch.c             | 1528 +++---
 drivers/net/ice/base/ice_switch.h             |  234 +-
 drivers/net/ice/base/ice_type.h               |  196 +-
 .../base/ice_vf_mbx.c}                        |    2 +-
 .../base/ice_vf_mbx.h}                        |    2 +-
 drivers/net/ice/base/ice_vlan_mode.c          |   38 +-
 drivers/net/ice/base/ice_vlan_mode.h          |    2 +-
 drivers/net/ice/base/ice_xlt_kb.c             |    4 +-
 drivers/net/ice/base/meson.build              |    2 +
 drivers/net/ice/ice_dcf_parent.c              |    2 +-
 drivers/net/ice/ice_diagnose.c                |   14 +-
 drivers/net/ice/ice_ethdev.c                  |   94 +-
 drivers/net/ice/ice_rxtx.c                    |   12 +-
 drivers/net/ice/ice_tm.c                      |    5 +-
 55 files changed, 9446 insertions(+), 5163 deletions(-)
 create mode 100644 drivers/net/ice/base/ice_fwlog.c
 copy drivers/net/{vmxnet3/base/vmware_pack_end.h => ice/base/ice_fwlog.h} (50%)
 create mode 100644 drivers/net/ice/base/ice_phy_regs.h
 copy drivers/net/{vmxnet3/base/vmware_pack_end.h => ice/base/ice_vf_mbx.c} 
(50%)
 copy drivers/net/{vmxnet3/base/vmware_pack_end.h => ice/base/ice_vf_mbx.h} 
(50%)

-- 
2.43.0

Reply via email to