Skip to content

mlxsw: Update mlxsw driver to the upstream 6.3

Ivan Vecera requested to merge ivecera/centos-stream-9:mlxsw into main

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2196494
Tested: Using mlxsw self-test-suite
Depends: !2506 (merged)

Commits:

8d05fc039456 ("platform/x86: use PLATFORM_DEVID_NONE instead of -1")
f8dacbf7da2e ("platform: mellanox: Introduce support for rack manager switch")
488f0fca0db0 ("platform: mellanox: Change "reset_pwr_converter_fail" attribute")
acc6ea304590 ("platform: mellanox: Cosmetic changes - rename to more common name")
fcf3790b9b63 ("platform: mellanox: Introduce support for next-generation 800GB/s switch")
dd635e33b5c9 ("platform: mellanox: Introduce support of new Nvidia L1 switch")
0170f616f496 ("platform: mellanox: Split initialization procedure")
a1ffd3c46267 ("hwmon: (mlxreg-fan) Return zero speed for broken fan")
158cd8320776 ("platform: mellanox: Split logic in init and exit flow")
233fd7e44cd7 ("platform: mellanox: Extend all systems with I2C notification callback")
26e118ea98cf ("platform/mellanox: mlxreg-hotplug: Allow more flexible hotplug events configuration")
26917eab144c ("platform_data/mlxreg: Add field with mapped resource address")
cefdbc781566 ("platform: mellanox: mlx-platform: Add mux selection register to regmap")
50b823fdd357 ("platform: mellanox: mlx-platform: Move bus shift assignment out of the loop")
e7210563432a ("Documentation/ABI: Add new attribute for mlxreg-io sysfs interfaces")
03f5eb300ad1 ("platform: mellanox: select REGMAP instead of depending on it")
7e7e1541c916 ("platform: x86: MLX_PLATFORM: select REGMAP instead of depending on it")
1a0009abfa78 ("platform: mellanox: mlx-platform: Initialize shift variable to 0")
02d23c9544ea ("mlxsw: reg: Add 'flood_rsp' field to SFMR register")
e459466a26bb ("mlxsw: reg: Add ingress RIF related fields to SFMR register")
dd326565c59e ("mlxsw: reg: Add ingress RIF related fields to SVFA register")
e0f071c5b8e1 ("mlxsw: reg: Add Switch Multicast Port to Egress VID Register")
894b98d50b64 ("mlxsw: Add SMPE related fields to SMID2 register")
92e4e543b128 ("mlxsw: reg: Add SMPE related fields to SFMR register")
485c281cadf7 ("mlxsw: reg: Add VID related fields to SFD register")
94536249b8d8 ("mlxsw: reg: Add flood related field to SFMR register")
48bca94fff12 ("mlxsw: reg: Replace MID related fields in SFGC register")
27f0b6ce06d7 ("mlxsw: reg: Add Router Egress Interface to VID Register")
ad9592c061e3 ("mlxsw: reg: Add egress FID field to RITR register")
1b1c198c306c ("mlxsw: Add support for egress FID classification after decapsulation")
b3820922651a ("mlxsw: reg: Add support for VLAN RIF as part of RITR register")
22aae52076cd ("mlxsw: Remove lag_vid_valid indication")
21c795f8494a ("mlxsw: spectrum_switchdev: Pass 'struct mlxsw_sp' to mlxsw_sp_bridge_mdb_mc_enable_sync()")
6e66d2e4b3a2 ("mlxsw: spectrum_switchdev: Do not set 'multicast_enabled' twice")
a6f43b1dad80 ("mlxsw: spectrum_switchdev: Simplify mlxsw_sp_port_mc_disabled_set()")
c96a9919c79e ("mlxsw: spectrum_switchdev: Add error path in mlxsw_sp_port_mc_disabled_set()")
fd66f5184c28 ("mlxsw: spectrum_switchdev: Convert mlxsw_sp_mc_write_mdb_entry() to return int")
0100f840750c ("mlxsw: spectrum_switchdev: Handle error in mlxsw_sp_bridge_mdb_mc_enable_sync()")
70b34c77f127 ("mlxsw: Add enumerator for 'config_profile.flood_mode'")
89df3c6261f2 ("mlxsw: cmd: Increase 'config_profile.flood_mode' length")
6131d9630d98 ("mlxsw: pci: Query resources before and after issuing 'CONFIG_PROFILE' command")
736bf371d2d4 ("mlxsw: spectrum_fid: Save 'fid_offset' as part of FID structure")
784763e59225 ("mlxsw: spectrum_fid: Use 'fid->fid_offset' when setting VNI")
048fcbb71a0e ("mlxsw: spectrum_fid: Implement missing operations for rFID and dummy FID")
fddf42c34349 ("mlxsw: spectrum_fid: Maintain {port, VID}->FID mappings")
d97da68e543b ("mlxsw: spectrum_fid: Update FID structure prior to device configuration")
893b5c307a48 ("mlxsw: spectrum_fid: Rename mlxsw_sp_fid_vni_op()")
97a2ae0f0c23 ("mlxsw: spectrum_fid: Pass FID structure to mlxsw_sp_fid_op()")
2c091048015d ("mlxsw: spectrum_fid: Pass FID structure to __mlxsw_sp_fid_port_vid_map()")
04e85970ceea ("mlxsw: spectrum: Use different arrays of FID families per-ASIC type")
027c92e00ef9 ("mlxsw: spectrum: Rename MLXSW_SP_RIF_TYPE_VLAN")
7dd196480664 ("mlxsw: spectrum: Change mlxsw_sp_rif_vlan_fid_op() to be dedicated for FID RIFs")
d6d9026668db ("mlxsw: spectrum: Add a temporary variable to indicate bridge model")
93303ff828fd ("mlxsw: spectrum_fid: Configure flooding table type for rFID")
fad8e1b6d52d ("mlxsw: Prepare 'bridge_type' field for SFMR usage")
dd8c77d59708 ("mlxsw: spectrum_fid: Store 'bridge_type' as part of FID family")
aa845e36a069 ("mlxsw: Set flood bridge type for FIDs")
8c2da081c8b8 ("mlxsw: spectrum_fid: Configure egress VID classification for multicast")
d8782ec59eb8 ("mlxsw: Add an initial PGT table support")
a1697d11c945 ("mlxsw: Add an indication of SMPE index validity for PGT table")
d7a7b6978709 ("mlxsw: Add a dedicated structure for bitmap of ports")
a3a7992bc4e4 ("mlxsw: Extend PGT APIs to support maintaining list of ports per entry")
bb1bba35f50a ("mlxsw: spectrum: Initialize PGT table")
9f6f467a3cdb ("mlxsw: spectrum_fid: Set 'mid_base' as part of flood tables initialization")
fe94df6dc622 ("mlxsw: spectrum_fid: Configure flooding entries using PGT APIs")
4abaa5cc4d7c ("mlxsw: Align PGT index to legacy bridge model")
eede53a49b3c ("mlxsw: spectrum_switchdev: Rename MID structure")
eaa0791aed8b ("mlxsw: spectrum_switchdev: Rename MIDs list")
0ac985436eb9 ("mlxsw: spectrum_switchdev: Save MAC and FID as a key in 'struct mlxsw_sp_mdb_entry'")
5d0512e5cf74 ("mlxsw: spectrum_switchdev: Add support for maintaining hash table of MDB entries")
d2994e130585 ("mlxsw: spectrum_switchdev: Add support for maintaining list of ports per MDB entry")
ea0f58d6c543 ("mlxsw: spectrum_switchdev: Implement mlxsw_sp_mc_mdb_entry_{init, fini}()")
7434ed6102c1 ("mlxsw: spectrum_switchdev: Add support for getting and putting MDB entry")
4c3f7442770b ("mlxsw: spectrum_switchdev: Flush port from MDB entries according to FID index")
e28cd993b9a4 ("mlxsw: spectrum_switchdev: Convert MDB code to use PGT APIs")
627838275a54 ("mellanox/mlxsw: fix repeated words in comments")
53d7ae53d807 ("mlxsw: Configure egress VID for unicast FDB entries")
8cfc7f7707c1 ("mlxsw: spectrum_fid: Configure VNI to FID classification")
fea20547d5b5 ("mlxsw: Configure ingress RIF classification")
d4b464d20bc1 ("mlxsw: spectrum_fid: Configure layer 3 egress VID classification")
2c3ae763eb70 ("mlxsw: spectrum_router: Do not configure VID for sub-port RIFs")
058de325a4fb ("mlxsw: Configure egress FID classification after routing")
662761d8987d ("mlxsw: Add support for VLAN RIFs")
d4324e3194c7 ("mlxsw: Add new FID families for unified bridge model")
bf73904f5fba ("mlxsw: Add support for 802.1Q FID family")
e9cf8990faea ("mlxsw: Add ubridge to config profile")
77b7f83d5c25 ("mlxsw: Enable unified bridge model")
8928fd47782c ("mlxsw: spectrum_fid: Remove flood_index() from FID operation structure")
88840d697f6e ("mlxsw: spectrum_fid: Remove '_ub_' indication from structures and defines")
59ad24714b7b ("mlxsw: use netif_is_any_bridge_port() instead of open code")
1c358fedecd1 ("mlxsw: Rename mlxsw_reg_mtptptp_pack() to mlxsw_reg_mtptpt_pack()")
97b05cfb68ae ("mlxsw: reg: Add MTUTC register's fields for supporting PTP in Spectrum-2")
731416e9ae5d ("mlxsw: reg: Add Monitoring Time Precision Correction Port Configuration Register")
aa98487cc96b ("mlxsw: pci_hw: Add 'time_stamp' and 'time_stamp_type' fields to CQEv2")
577d80238ff7 ("mlxsw: cmd: Add UTC related fields to query firmware command")
291fcb937e95 ("mlxsw: Set time stamp type as part of config profile")
81016180e3f4 ("mlxsw: spectrum: Fix the shift of FID field in TX header")
448e9cb3631e ("mlxsw: resources: Add resource identifier for maximum number of FIDs")
33a9583f9a02 ("mlxsw: Rename 'read_frc_capable' bit to 'read_clock_capable'")
22d950b79ea7 ("mlxsw: spectrum_ptp: Initialize the clock to zero as part of initialization")
946832296389 ("mlxsw: pci: Simplify FRC clock reading")
e8fea346b556 ("mlxsw: spectrum_ptp: Use 'struct mlxsw_sp_ptp_state' per ASIC")
9bfe3c16fc23 ("mlxsw: spectrum_ptp: Use 'struct mlxsw_sp_ptp_clock' per ASIC")
4017d9296492 ("mlxsw: spectrum_ptp: Rename mlxsw_sp_ptp_get_message_types()")
a168e13f8448 ("mlxsw: spectrum_ptp: Rename mlxsw_sp1_ptp_phc_adjfreq()")
5ba325fec511 ("mlxsw: core_linecards: Expose HW revision and INI version")
4ea07cf638db ("mlxsw: reg: Extend MDDQ by device_info")
4da0eb2a75eb ("mlxsw: core_linecards: Probe active line cards for devices and expose FW version")
8f9b0513a950 ("mlxsw: reg: Add Management DownStream Device Tunneling Register")
3fc0c51905fb ("mlxsw: core_linecards: Expose device PSID over device info")
9ca6a7a5f42d ("mlxsw: core_linecards: Implement line card device flashing")
e96c8da38039 ("selftests: mlxsw: Check line card info on provisioned line card")
949c84f05eb6 ("selftests: mlxsw: Check line card info on activated line card")
707e304dd2e8 ("mlxsw: core_linecards: Remove duplicated include in core_linecard_dev.c")
37b62b282b18 ("mlxsw: spectrum_ptp: Add helper functions to configure PTP traps")
42823208b946 ("mlxsw: Support CQEv2 for SDQ in Spectrum-2 and newer ASICs")
d25ff63a181b ("mlxsw: spectrum_ptp: Add PTP initialization / finalization for Spectrum-2")
bbd300570a9e ("mlxsw: Query UTC sec and nsec PCI offsets and values")
a5bf8e5e8b8d ("mlxsw: spectrum_ptp: Add implementation for physical hardware clock operations")
24157bc69f45 ("mlxsw: Send PTP packets as data packets to overcome a limitation")
382ad0d95793 ("mlxsw: spectrum: Support time stamping on Spectrum-2")
08ef8bc825d9 ("mlxsw: spectrum_ptp: Support SIOCGHWTSTAMP, SIOCSHWTSTAMP ioctls")
eba28aaf2f53 ("mlxsw: spectrum: Support ethtool 'get_ts_info' callback in Spectrum-2")
12e091389b29 ("mlxsw: spectrum_ptp: Fix compilation warnings")
a159e986ad26 ("mlxsw: spectrum: Clear PTP configuration after unregistering the netdevice")
d72fdef21f07 ("mlxsw: spectrum_ptp: Protect PTP configuration with a mutex")
e01885c31bef ("mlxsw: spectrum_ptp: Forbid PTP enablement only in RX or in TX")
06f360551217 ("Revert "mlxsw: core: Add the hottest thermal zone detection"")
2cd87cea7842 ("selftests: mlxsw: Add ingress RIF configuration test for 802.1D bridge")
3a5ddc886847 ("selftests: mlxsw: Add ingress RIF configuration test for 802.1Q bridge")
cbeb6e1195d1 ("selftests: mlxsw: Add ingress RIF configuration test for VXLAN")
1623d5719fdf ("selftests: mlxsw: Add egress VID classification test")
2ab4e70966a2 ("mlxsw: core: Add registration APIs for system event handler")
508c29bf15ea ("mlxsw: core_linecards: Register a system event handler")
33fa6909a263 ("mlxsw: i2c: Add support for system interrupt handling")
c7ea08badd5f ("mlxsw: minimal: Extend APIs with slot index for modular system support")
9421c8b89dbb ("mlxsw: minimal: Move ports allocation to separate routine")
01328e23a476 ("mlxsw: minimal: Extend module to port mapping with slot index")
706ddb7821be ("mlxsw: minimal: Extend to support line card dynamic operations")
3471ac9b22c1 ("mlxsw: Remove unused IB stuff")
04a1b674d655 ("mlxsw: Remove unused port_type_set devlink op")
12be3edfa827 ("mlxsw: Remove unused mlxsw_core_port_type_get()")
57688eb887af ("mlxsw: minimal: Return -ENOMEM on allocation failure")
95484760f03d ("mlxsw: cmd: Edit the comment of 'max_lag' field in CONFIG_PROFILE")
eb907e9779ca ("mlxsw: Support configuring 'max_lag' via CONFIG_PROFILE")
cf735d4c9bab ("mlxsw: Add a helper function for getting maximum LAG ID")
c503d8ae48f2 ("mlxsw: spectrum: Add a copy of 'struct mlxsw_config_profile' for Spectrum-4")
a292c25607ea ("mellanox/mlxsw: fix repeated words in comments")
9e7aaa7c65f1 ("selftests: mlxsw: Use shapers in QOS tests instead of forcing speed")
61a00b196aaf ("selftests: mlxsw: Use shapers in QOS RED tests instead of forcing speed")
72981ef2d196 ("selftests: mlxsw: Remove qos_burst test")
a9c3abf4e576 ("mlxsw: reg: Remove deprecated code about SFTR-V2 Register")
d89318bbdf2b ("mlxsw: core_acl_flex_actions: Split memcpy() of struct flow_action_cookie flexible array")
cceef209ddd7 ("mlxsw: Add support for 800Gbps link modes")
d85be0f5fd7c ("mlxsw: spectrum_trap: Register 802.1X packet traps with devlink")
0b31fb9ba2b5 ("mlxsw: reg: Add Switch Port FDB Security Register")
dc0d1a8b7f84 ("mlxsw: spectrum: Add an API to configure security checks")
b72cb660b26b ("mlxsw: spectrum_switchdev: Prepare for locked FDB notifications")
5a660e43f8b9 ("mlxsw: spectrum_switchdev: Add support for locked FDB notifications")
136b8dfbd784 ("mlxsw: spectrum_switchdev: Use extack in bridge port flag validation")
25ed80884ce1 ("mlxsw: spectrum_switchdev: Add locked bridge port support")
25a26f0c2015 ("selftests: mlxsw: Add a test for EAPOL trap")
fb398432db2f ("selftests: mlxsw: Add a test for locked port trap")
cdbde7edf0e5 ("selftests: mlxsw: Add a test for invalid locked bridge port configurations")
30f5312d2c72 ("mlxsw: Avoid warnings when not offloaded FDB entry with IPv6 is removed")
d82303df0648 ("mlxsw: update adjfine to use adjust_by_scaled_ppm")
40ef76de8a7f ("mlxsw: spectrum_router: Use gen_pool for RIF index allocation")
1a2f65b4a277 ("mlxsw: spectrum_router: Parametrize RIF allocation size")
5ca1b208c5d1 ("mlxsw: spectrum_router: Add support for double entry RIFs")
ab30e4d4b29b ("mlxsw: spectrum_ipip: Rename Spectrum-2 ip6gre operations")
7ec5364351ed ("mlxsw: spectrum_ipip: Add Spectrum-1 ip6gre support")
db401875f438 ("selftests: mlxsw: Move IPv6 decap_error test to shared directory")
2ab6478d1266 ("mlxsw: spectrum_router: Replace 0-length array with flexible array")
44a29a4dab73 ("thermal/drivers/mellanox: Use generic thermal_zone_get_trip() function")
42b4f757ba9c ("mlxsw: reg: Add TLV related fields to MGIR register")
d84e2359e621 ("mlxsw: Enable string TLV usage according to MGIR output")
563bd3c490dc ("mlxsw: core: Do not worry about changing 'enable_string_tlv' while sending EMADs")
695f7306d942 ("mlxsw: emad: Add support for latency TLV")
6ee0d3a9dc00 ("mlxsw: core: Define latency TLV fields")
49f5b769d5bd ("mlxsw: Add support of latency TLV")
1680801ef64d ("selftests: mlxsw: qos_dscp_bridge: Convert from lldptool to dcb")
10d5bd0b69ed ("selftests: mlxsw: qos_dscp_router: Convert from lldptool to dcb")
5b3ef0452c59 ("selftests: mlxsw: qos_defprio: Convert from lldptool to dcb")
bd32ff68721c ("selftests: net: forwarding: lib: Drop lldpad_app_wait_set(), _del()")
35c356924fe3 ("mlxsw: spectrum: Fix incorrect parsing depth after reload")
6d206b1ea9f4 ("mlxsw: core_thermal: Fix fan speed in maximum cooling state")
bb765a743377 ("mlxsw: spectrum_fid: Fix incorrect local port type")
5601ef91fba8 ("mlxsw: core_thermal: Use static trip points for transceiver modules")
c1536d856e18 ("mlxsw: core_thermal: Make mlxsw_thermal_module_init() void")
cc19439f703b ("mlxsw: core_thermal: Simplify transceiver module get_temp() callback")
a9fda7a0b033 ("selftests: forwarding: hw_stats_l3: Detect failure to install counters")
c0e73276f0fc ("mlxfw: fix null-ptr-deref in mlxfw_mfa2_tlv_next()")
1f64757ee2bb ("mlxsw: pci: Fix possible crash during initialization")

Signed-off-by: Ivan Vecera ivecera@redhat.com

Edited by Ivan Vecera

Merge request reports