Skip to content

mlxsw: Update the driver to upstream v6.6

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

JIRA: https://issues.redhat.com/browse/RHEL-34673

Commits:

cb405c2a4040 ("net/mlxsw: Convert to i2c's .probe_new()")
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")
8fcac79270ca ("selftests: forwarding: generalize bail_on_lldpad from mlxsw")
b5bf7126a6a0 ("selftests: forwarding: introduce helper for standard ethtool counters")
b1cf7a561515 ("mlxfw: Replace zero-length array with DECLARE_FLEX_ARRAY() helper")
d04e26509678 ("mlxsw: spectrum_flower: Split iif parsing to a separate function")
0b9cd74b8d1e ("mlxsw: spectrum_flower: Do not force matching on iif")
caa4c58ab5d9 ("mlxsw: spectrum_flower: Add ability to match on layer 2 miss")
be35db17c872 ("mlxsw: spectrum_router: Clarify a comment")
5afef6748c19 ("mlxsw: spectrum_router: Use extack in mlxsw_sp~_rif_ipip_lb_configure()")
3903249ee1af ("mlxsw: spectrum_router: Do not query MAX_RIFS on each iteration")
75426cc0b316 ("mlxsw: spectrum_router: Do not query MAX_VRS on each iteration")
204cc3d04fe2 ("selftests: mlxsw: ingress_rif_conf_1d: Fix the diagram")
34ad708d1b43 ("selftests: mlxsw: egress_vid_classification: Fix the diagram")
50f6c3d57e9a ("mlxsw: spectrum_router: mlxsw_sp_router_fini(): Extract a helper variable")
41b2bd208e8a ("mlxsw: spectrum_router: Move here inetaddr validator notifiers")
48dde35ea157 ("mlxsw: spectrum_router: Pass router to mlxsw_sp_router_schedule_work() directly")
14304e70634c ("mlxsw: spectrum_router: Use the available router pointer for netevent handling")
151b89f6025a ("mlxsw: spectrum_router: Reuse work neighbor initialization in work scheduler")
0255f74845c0 ("mlxsw: Convert RIF-has-netdevice queries to a dedicated helper")
5374a50f2eb6 ("mlxsw: Convert does-RIF-have-this-netdev queries to a dedicated helper")
df95ae66cc0a ("mlxsw: spectrum_router: Privatize mlxsw_sp_rif_dev()")
e0db883b6949 ("mlxsw: spectrum_router: Extract a helper from mlxsw_sp_port_vlan_router_join()")
76962b802efe ("mlxsw: spectrum_router: Add a helper specifically for joining a LAG")
fb6ac45e8666 ("mlxsw: spectrum_router: Access rif->dev through a helper")
2019b5eeae2a ("mlxsw: spectrum_router: Access rif->dev from params in mlxsw_sp_rif_create()")
69f4ba177d6b ("mlxsw: spectrum_router: Access nh->rif->dev through a helper")
532b6e2bbc19 ("mlxsw: spectrum_router: Access nhgi->rif through a helper")
571c56911b45 ("mlxsw: spectrum_router: Extract a helper to free a RIF")
33d11c4e5ce9 ("mlxsw: spectrum_router: Add a helper to check if netdev has addresses")
440273e763f5 ("mlxsw: spectrum_router: Extract a helper for RIF migration")
d4a37bf0943d ("mlxsw: spectrum_router: Move IPIP init up")
8cfdd300a5e9 ("selftests: mlxsw: q_in_q_veto: Disable IPv6 autogen on bridges")
a758dc469a9c ("selftests: mlxsw: extack: Disable IPv6 autogen on bridges")
32b3a7bf8570 ("selftests: mlxsw: mirror_gre_scale: Disable IPv6 autogen on a bridge")
6349f9bbbfb2 ("selftests: mlxsw: qos_dscp_bridge: Disable IPv6 autogen on a bridge")
ec7023e6745e ("selftests: mlxsw: qos_ets_strict: Disable IPv6 autogen on bridges")
ea2d5f757e91 ("selftests: mlxsw: qos_mc_aware: Disable IPv6 autogen on bridges")
08035d8e354d ("selftests: mlxsw: spectrum: q_in_vni_veto: Disable IPv6 autogen on a bridge")
5541577521cc ("selftests: mlxsw: vxlan: Disable IPv6 autogen on bridges")
664bc72dd200 ("selftests: mlxsw: one_armed_router: Use port MAC for bridge address")
ebbd17ce297a ("mlxsw: spectrum_router: Add extack argument to mlxsw_sp_lb_rif_init()")
f3c85eed1ac3 ("mlxsw: spectrum_router: Use mlxsw_sp_ul_rif_get() to get main VRF LB RIF")
4796c287b70a ("mlxsw: spectrum_router: Maintain a hash table of CRIFs")
78126cfd5dc9 ("mlxsw: spectrum_router: Maintain CRIF for fallback loopback RIF")
aa21242b07a8 ("mlxsw: spectrum_router: Link CRIFs to RIFs")
bdc0b78e79a6 ("mlxsw: spectrum_router: Use router.lb_crif instead of .lb_rif_index")
a285d664236e ("mlxsw: spectrum_router: Split nexthop finalization to two stages")
9464a3d68ea9 ("mlxsw: spectrum_router: Track next hops at CRIFs")
90a8007bbeb6 ("mlxsw: spectrum_router: Fix an IS_ERR() vs NULL check")
f3b8bec7d29e ("mlxsw: reg: Add Policy-Engine Port Range Register")
9f53a7602ac6 ("mlxsw: resource: Add resource identifier for port range registers")
b3eb04be7299 ("mlxsw: spectrum_port_range: Add port range core")
74d6786cf2dc ("mlxsw: spectrum_port_range: Add devlink resource support")
d65f24c9fa69 ("mlxsw: spectrum_acl: Add port range key element")
898979c7238a ("mlxsw: spectrum_acl: Pass main driver structure to mlxsw_sp_acl_rulei_destroy()")
fe22f7410527 ("mlxsw: spectrum_flower: Add ability to match on port ranges")
45c5a384765b ("selftests: mlxsw: Add scale test for port ranges")
0a1a818d8a1c ("selftests: mlxsw: Test port range registers' occupancy")
209218e4799b ("selftests: forwarding: Add test cases for flower port range matching")
352be882deda ("mlxsw: spectrum_switchdev: Pass extack to mlxsw_sp_br_ban_rif_pvid_change()")
5ca9f42caf81 ("mlxsw: spectrum_router: Pass struct mlxsw_sp_rif_params to fid_get")
a0944b24d278 ("mlxsw: spectrum_router: Take VID for VLAN FIDs from RIF params")
a24a4d29ff0a ("mlxsw: spectrum_router: Adjust mlxsw_sp_inetaddr_vlan_event() coding style")
3430f2cf91a4 ("mlxsw: spectrum_router: mlxsw_sp_inetaddr_bridge_event: Add an argument")
a5b52692e693 ("mlxsw: spectrum_switchdev: Manage RIFs on PVID change")
d7eb1f175153 ("selftests: mlxsw: rtnetlink: Drop obsolete tests")
6bbc9ca6a3a7 ("mlxsw: spectrum_router: Allow address handlers to run on bridge ports")
96c3e45c0130 ("mlxsw: spectrum_router: Extract a helper to schedule neighbour work")
721717fafdc4 ("mlxsw: spectrum: Split a helper out of mlxsw_sp_netdevice_event()")
40b7b4236c1f ("mlxsw: spectrum: Allow event handlers to check unowned bridges")
1c47e65b8c0b ("mlxsw: spectrum: Add a replay_deslavement argument to event handlers")
987c7782f062 ("mlxsw: spectrum: On port enslavement to a LAG, join upper's bridges")
ec4643ca3d98 ("mlxsw: spectrum_switchdev: Replay switchdev objects on port join")
ef59713c26b1 ("mlxsw: spectrum_router: Join RIFs of LAG upper VLANs")
cfc01a92eaff ("mlxsw: spectrum_router: Offload ethernet nexthops when RIF is made")
49c3a615d382 ("mlxsw: spectrum_router: Replay MACVLANs when RIF is made")
8fdb09a7674c ("mlxsw: spectrum_router: Replay neighbours when RIF is made")
31618b22f2c4 ("mlxsw: spectrum_router: Replay IP NETDEV_UP on device enslavement")
4560cf408eca ("mlxsw: spectrum_router: Replay IP NETDEV_UP on device deslavement")
2c5ffe8d7226 ("mlxsw: spectrum: Permit enslavement to netdevices with uppers")
68bf5100fadf ("mlxsw: reg: Move 'mpsc' definition in 'mlxsw_reg_infos'")
7447eda4065e ("mlxsw: reg: Add Management Capabilities Mask Register")
3930dcc5e404 ("mlxsw: reg: Remove unused function argument")
c8dbf67883db ("mlxsw: reg: Increase Management Cable Info Access Register length")
1f4aea1f72da ("mlxsw: core_env: Read transceiver module EEPROM in 128 bytes chunks")
569f98b36b38 ("mlxsw: spectrum: Drop unused functions mlxsw_sp_port_lower_dev_hold/_put()")
16f8c846cd6f ("mlxsw: spectrum_nve: Do not take reference when looking up netdevice")
1ae489ab43e0 ("mlxsw: spectrum_switchdev: Use tracker helpers to hold & put netdevices")
deeaa3716f4f ("mlxsw: spectrum_router: FIB: Use tracker helpers to hold & put netdevices")
b17b2d57b7c1 ("mlxsw: spectrum_router: hw_stats: Use tracker helpers to hold & put netdevices")
d0e0e880122f ("mlxsw: spectrum_router: RIF: Use tracker helpers to hold & put netdevices")
cb2116204169 ("mlxsw: spectrum_router: IPv6 events: Use tracker helpers to hold & put netdevices")
4308967d98c3 ("selftests: mlxsw: rif_lag: Add a new selftest")
6b3f46837c32 ("selftests: mlxsw: rif_lag_vlan: Add a new selftest")
67d5ffb9ed51 ("selftests: mlxsw: rif_bridge: Add a new selftest")
852c18d5611e ("mlxsw: spectrum: Remove unused function declarations")
a76ca8afd45a ("mlxsw: Set port STP state on bridge enslavement")
aae5bb8d18d8 ("selftests: mlxsw: router_bridge_lag: Add a new selftest")
99ecd6d06527 ("mlxsw: spectrum_switchdev: Use is_zero_ether_addr() instead of ether_addr_equal()")
d0d449c74764 ("mlxsw: core_acl_flex_actions: Add IGNORE_ACTION")
0433670e136a ("mlxsw: spectrum_flower: Disable learning and security lookup when redirecting")
9793a5a9c493 ("mlxsw: spectrum: Stop ignoring learning notifications from redirected traffic")
bc2de151ab6a ("mlxsw: pci: Set time stamp fields also when its type is MIRROR_UTC")
0dc63b9cfd4c ("mlxsw: reg: Fix SSPR register layout")
348c976be0a5 ("mlxsw: Fix the size of 'VIRT_ROUTER_MSB'")
f520489e99a3 ("selftests: mlxsw: Fix test failure on Spectrum-4")
146c7c330507 ("mlxsw: i2c: Fix chunk size setting in output mailbox buffer")
d7248f1cc835 ("mlxsw: i2c: Limit single transaction buffer size")
3fc134a07438 ("mlxsw: core_hwmon: Adjust module label names based on MTCAP sensor counter")
e22c6ea02501 ("mlxsw: Use size_mul() in call to struct_size()")
c2f3e10ac4eb ("mlxsw: Add 'ipv4_5' flex key")
c6caabdf3e0c ("mlxsw: spectrum_acl_flex_keys: Add 'ipv4_5b' flex key")
92953e7aab01 ("mlxsw: Edit IPv6 key blocks to use one less block for multicast forwarding")
c755655c3d8b ("mlxsw: reg: Limit MTBR register payload to a single data record")
7afc79e20e22 ("mlxsw: core: Extend allowed list of external cooling devices for thermal zone binding")
1f73286371c2 ("mlxsw: i2c: Utilize standard macros for dividing buffer into chunks")
0b7ed8183375 ("mlxsw: Annotate struct mlxsw_linecards with __counted_by")
c63da7d62893 ("mlxsw: core: Annotate struct mlxsw_env with __counted_by")
f7ebae83768f ("mlxsw: spectrum: Annotate struct mlxsw_sp_counter_pool with __counted_by")
4d3a42ec5cff ("mlxsw: spectrum_router: Annotate struct mlxsw_sp_nexthop_group_info with __counted_by")
18cee9da32cd ("mlxsw: spectrum_span: Annotate struct mlxsw_sp_span with __counted_by")
cad6431b8675 ("mlxsw: Mark high entropy key blocks")
0a67b7a0ec36 ("mlxsw: core_acl_flex_keys: Add a bitmap to save which blocks are chosen")
545535fd30dc ("mlxsw: core_acl_flex_keys: Save chosen elements per block")
900f4285bbc2 ("mlxsw: core_acl_flex_keys: Save chosen elements in all blocks per search")
c01e24936d16 ("mlxsw: core_acl_flex_keys: Fill blocks with high entropy first")
1e0b72a2a643 ("mlxsw: fix mlxsw_sp2_nve_vxlan_learning_set() return type")
83b2d81b691c ("mlxsw: core_thermal: Fix -Wformat-truncation warning")
392ce2abb0ce ("mlxsw: spectrum_ethtool: Fix -Wformat-truncation warning")
958a140d7a0a ("mlxsw: pci: Allocate skbs using GFP_KERNEL during initialization")
62bef63646c1 ("mlxsw: spectrum_router: Register netdevice notifier before nexthop")
7e2050a83663 ("mlxsw: core_env: Fix driver initialization with old firmware")

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

Edited by Ivan Vecera

Merge request reports