Hi,
The media capability 100GBase_LR4 is not listed in the mcx driver.
Could you please take a look at this short patch ? I found the value of 23
in the Linux mlx driver.
===================================================================
--- sys/dev/pci/if_mcx.c Wed Sep 6 05:42:42 2023
+++ sys/dev/pci/if_mcx.c Thu Sep 14 13:03:56 2023
@@ -192,6 +192,7 @@ CTASSERT(MCX_MAX_QUEUES * MCX_WQ_DOORBELL_STRIDE <
#define MCX_ETHER_CAP_100G_CR4 20
#define MCX_ETHER_CAP_100G_SR4 21
#define MCX_ETHER_CAP_100G_KR4 22
+#define MCX_ETHER_CAP_100G_LR4 23
#define MCX_ETHER_CAP_25G_CR 27
#define MCX_ETHER_CAP_25G_KR 28
#define MCX_ETHER_CAP_25G_SR 29
@@ -2682,6 +2683,7 @@ static const struct mcx_eth_proto_capability mcx_eth_c
[MCX_ETHER_CAP_100G_CR4] = { IFM_100G_CR4, IF_Gbps(100) },
[MCX_ETHER_CAP_100G_SR4] = { IFM_100G_SR4, IF_Gbps(100) },
[MCX_ETHER_CAP_100G_KR4] = { IFM_100G_KR4, IF_Gbps(100) },
+ [MCX_ETHER_CAP_100G_LR4] = { IFM_100G_LR4, IF_Gbps(100) },
[MCX_ETHER_CAP_25G_CR] = { IFM_25G_CR, IF_Gbps(25) },
[MCX_ETHER_CAP_25G_KR] = { IFM_25G_KR, IF_Gbps(25) },
[MCX_ETHER_CAP_25G_SR] = { IFM_25G_SR, IF_Gbps(25) },
Before the patch :
mcx1: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu
1500
lladdr 08:c0:eb:59:d1:49
description: TEST 100G_LR4
index 2 priority 0 llprio 3
media: Ethernet autoselect
status: active
transceiver: QSFP28 LC, 1310 nm, 10km SMF
After the patch :
mcx1: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu
1500
lladdr 08:c0:eb:59:d1:49
description: TEST 100G_LR4
index 2 priority 0 llprio 3
media: Ethernet autoselect (100GbaseLR4)
status: active
transceiver: QSFP28 LC, 1310 nm, 10km SMF
Is this enough to say that QSFP28 100GBase_LR are supported with the mcx
driver ?
Best regards,
Olivier.