[PATCH v2 000/148] Update net/ice base driver to latest upstream snapshot
Anatoly Burakov
anatoly.burakov at intel.com
Wed Jun 12 16:59:54 CEST 2024
This is a patchset loosely based on internal development tree which
tracked ICE driver development over a period of time since last
snapshot update.
RFC -> v1:
- From one, many
Anatoly Burakov (21):
net/ice/base: alloc port_info only once
net/ice/base: be more verbose when preparing timer sync
net/ice/base: be more verbose in configuring Rx timestamp offset
net/ice/base: match code style to upstream
net/ice/base: move ice_ptp_init_phy_model to align with upstream
net/ice/base: add Get Link Status Data version 2
net/ice/base: add port option commands
net/ice/base: merge unified E830 headers
net/ice/base: replace array initialization with macros
net/ice/base: switch speed conversions to static lookups
net/ice/base: support E830 in DDP pkg handling
net/ice/base: support E830 in Topology AQ command
net/ice/base: add E830 PTP init
net/ice/base: allow skipping main timer programming
net/ice/base: align code to upstream
net/ice/base: use const char* array for storing link modes
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: add support for L2TP on switch
net/ice/base: add L2TPv3 support for adv rules
Bruce Richardson (1):
net/ice: add new device ids
Ian Stokes (126):
net/ice/base: convert enum ice_status to int
net/ice/base: replace ICE_SUCCESS with int
net/ice/base: update E830 headers
net/ice/base: update phy config during link restart
net/ice/base: fix for pointer to variable outside scope
net/ice/base: add missing include for flow
net/ice/base: add ability to set markid via switch filter
net/ice/base: improve ice_debug_cq messages
net/ice/base: add mgmt netlist auth support command
net/ice/base: fix undefined variables
net/ice/base: fix get media type
net/ice/base: clean up __ice_aq_get_set_rss_lut()
net/ice/base: update flow seg fields to declared bitmaps
net/ice/base: update interface in ice_parse_common_caps
net/ice/base: refactor (non) bitmap declarations
net/ice/base: remove unnecessary control queue cmd_buf arrays
net/ice/base: update code with flex array safe allocations
net/ice/base: bring back ability to use 128 as size of PF type RSS LUT
net/ice/base: support for OROM update in recovery mode
net/ice/base: code adjustments for E830
net/ice/base: improve find recipe routine
net/ice/base: fix memory leak when checking firmware version
net/ice/base: add LL Tx timestamp interrupt read
net/ice/base: use model-dependent number of PHY ports
net/ice/base: use ice_bitmap_t in promisc functions
net/ice/base: fix rx-only unicast promiscuous mode
net/ice/base: add support for E825-C TX clock changing
net/ice/base: fix for applying multiple cloud filters
net/ice/base: limit PF RSS LUT to one VSI at time
net/ice/base: prevent potential integer overflow
net/ice/base: cosmetic changes
net/ice/base: implement initial PTP support for E830
net/ice/base: fix resource leak
net/ice/base: move lock outside of if-else
net/ice/base: refactor control queue send delay
net/ice/base: fix NVM feature check
net/ice/base: allow for dumping all clusters
net/ice/base: remove PTP aqc_driver_params
net/ice/base: add FW load status mask
net/ice/base: add direction metadata
net/ice/base: change data buffer in i2c write to be const
net/ice/base: remove unused code from upstream build
net/ice/base: fix sign-extension
net/ice/base: implement switch recipe reuse feature
net/ice/base: add helper function for refsync
net/ice/base: added informational message for NAC topology
net/ice/base: add Cage Max Power override NVM module
net/ice/base: adapt No FEC in Auto support check to add E82X devices
net/ice/base: move (read|write)_sma_ctrl functions to match upstream
net/ice/base: fix incorrect size when allocating children arrays
net/ice/base: fix GCS descriptor field offsets
net/ice/base: add VSI type for subfunctions
net/ice/base: correct the return type of ice_bitmap_hweight
net/ice/base: fix ice_ptp_one_port_cmd to avoid stale PHY commands
net/ice/base: remove dead code from ice_get_ddp_pkg_state
net/ice/base: get rid of enum ice_status
net/ice/base: use ICE_PTP_NOP to better indicate no action
net/ice/base: add fw log file
net/ice/base: update comments regarding clearing timestamps
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: parse 1PPS GPIO in 1588 function caps
net/ice/base: rename netlist check functions to match upstream
net/ice/base: fix check for existing switch rule
net/ice/base: fall back to safe CGU params
net/ice/base: change tmr_idx to u32
net/ice/base: update strict status when assigning BW limits
net/ice/base: remove unused define
net/ice/base: improve read retry value calculation
net/ice/base: check if recipe buffer was already allocated
net/ice/base: fix handling recipes when reusing is not supported
net/ice/base: use correct type
net/ice/base: read OROM in a loop
net/ice/base: ignore snprintf return value
net/ice/base: check array bounds
net/ice/base: copy output IO params from command descriptor
net/ice/base: enable Next Cluster ID capability
net/ice/base: fix potential TLV length overflow
net/ice/base: add function to read SDP section from NVM
net/ice/base: add Floating VEB support
net/ice/base: add defines for loopback mode
net/ice/base: allow skipping PF clear
net/ice/base: fix in the definition of the Board Type
net/ice/base : make ice_clear_vsi_q_ctx() non-static
net/ice/base: fix package download algorithm
net/ice/base: allows packages with mixed signature presence
net/ice/base: fix ice_memcpy type specifiers
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 E830 debug dump cluster ID values
net/ice/base: fix for preparing PHY for timesync command
net/ice/base: support for firmware sanitization
net/ice/base: add 200G speeds to PHY types decoding
net/ice/base: temporary workaround for E830 signed package support
net/ice/base: add PHY OFFSET_READY register clearing
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 miltiple PHYs per MAC
net/ice/base: implement interface to reset timestamp memory
net/ice/base: fix iterations over PTP ports
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: implement upper-level PHY control functions
net/ice/base: squash multiple fixes for e56g device
net/ice/base: add PHY statistics dump
net/ice/base: add missing files for shared code update
net/ice/base: detect and store device sensor reading capability
net/ice/base: add missing defines and misc cleanup
net/ice/base: increase PF reset wait timeout to 500 milliseconds
net/ice/base: fix memcpy type
net/ice/base: too big a timeout for QV diagnostic tests
net/ice/base: fix ice_get_ctx() issue
net/ice/base: add AQ function to configure SyncE error reporting
net/ice/base: support DCF query port ETS adminq
net/ice/base: update boost struct for traffic types
net/ice/base: clean up ice_lan_tx_rx
net/ice/base: enable CGU error reporting
net/ice/base: cleanup timestamp registers correctly
net/ice/base: rework multiple functions
net/ice/base: change a method to get pca9575 handle
net/ice/base: rename SMA register macros to match Linux upstream
net/ice/base: introduce new functions in ice_sched_node
net/ice/base: misc header file clean up
net/ice: update rss lut value for RSS init
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 | 458 +-
drivers/net/ice/base/ice_bitops.h | 8 +-
drivers/net/ice/base/ice_cgu_regs.h | 90 +
drivers/net/ice/base/ice_common.c | 1629 +++---
drivers/net/ice/base/ice_common.h | 189 +-
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 | 120 +-
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 | 51 +-
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 | 12 +-
drivers/net/ice/base/ice_ptp_consts.h | 3 +-
drivers/net/ice/base/ice_ptp_hw.c | 4609 ++++++++++-------
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 | 1821 ++++---
drivers/net/ice/base/ice_switch.h | 236 +-
drivers/net/ice/base/ice_type.h | 198 +-
.../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_diagnose.c | 9 +-
drivers/net/ice/ice_ethdev.c | 59 +-
52 files changed, 9797 insertions(+), 5224 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
More information about the dev
mailing list