- Support 400G-DR4 optics
- Support 400G-CR8 and -SR8 with their types, rather than generic 400G-AUI8
- Use the generic 400G-AUI8 for 400G-SR4, rather than mislabeling it -DR4
(We probably should add a 400G-SR media type, but I don't have any to test ATM)
- Add missing legacy PAM4 100G LR entry and matching media-selection cases.
With this patch, 400G-DR4 is properly reported (which was my original goal):
bnxt0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500 options=1ee507bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,HWRXTSTMP,MEXTPG,TXTLS4,TXTLS6> ether 6c:92:cf:87:d5:c0 media: Ethernet autoselect (400GBase-DR4 <full-duplex>) status: active nd6 options=829<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL,STABLEADDR> drivername: bnxt0 plugged: QSFP+(CMIS) 400GBASE-DR4 (MPO 1x12 Parallel Optic) vendor: EQUAL OPTICS PN: MMS1X00-NS400-EO SN: EOC12506126015 DATE: 2025-06-15 module temperature: 50.56 C voltage: 3.26 Volts lane 1: RX power: 1.38 mW (1.41 dBm) TX bias: 44.55 mA lane 2: RX power: 1.90 mW (2.78 dBm) TX bias: 44.55 mA lane 3: RX power: 1.85 mW (2.67 dBm) TX bias: 44.55 mA lane 4: RX power: 1.84 mW (2.65 dBm) TX bias: 44.55 mA