1
1
openwrt/package/kernel
Til Kaiser 8edcd772db kernel: modules: add Mellanox Spectrum hotplug renaming script
Currently, the interfaces of the Mellanox Spectrum Switch QSFP ports
are all labeled eth*. Their order doesn't match the faceplate and is
different for each model.

They could be named during boot, but this isn't sufficient because they
support port splitting. After such ports are split, their port naming
begins again with eth*, and the same is true after they are unsplit again.

A hotplug script is used here that reads from the sysfs file
phys_port_name, which contains p1, p2, p3, ... for unsplit ports
and p1s0, p1s1, p1s2 for split ports.

Signed-off-by: Til Kaiser <mail@tk154.de>
Link: https://github.com/openwrt/openwrt/pull/17251
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-10-06 19:06:26 +02:00
..
ath10k-ct
bcm27xx-gpu-fw
bcm63xx-cfe
bpf-headers
button-hotplug
cryptodev-linux
dtc/patches
gpio-button-hotplug
gpio-nct5104d
lantiq
leds-gca230718
leds-ws2812b
linux kernel: modules: add Mellanox Spectrum hotplug renaming script 2025-10-06 19:06:26 +02:00
mac80211
mt76
mt7621-qtn-rgmii
mwlwifi
nat46
qca-nss-dp
qca-ssdk
r8101
r8125
r8126
r8127
r8168
rtc-rv5c386a
rtl8812au-ct
trelay
ubnt-ledbar
ubootenv-nvram