diff --git a/dashboard/src/routes/+page.svelte b/dashboard/src/routes/+page.svelte index c96cb63b..dbfae109 100644 --- a/dashboard/src/routes/+page.svelte +++ b/dashboard/src/routes/+page.svelte @@ -135,9 +135,14 @@ if (!rdmaCtl) return false; const ids = tbIdentifiers; if (!ids) return false; - // Find nodes with TB5 hardware (any TB interface) + // Find nodes with TB5 hardware (link speed > 40 Gb/s) const tb5NodeIds = Object.entries(ids) - .filter(([_, node]) => node.interfaces.length > 0) + .filter(([_, node]) => + node.interfaces.some((iface) => { + const match = iface.linkSpeed.match(/(\d+)\s*Gb/i); + return match != null && parseInt(match[1], 10) > 40; + }), + ) .map(([id]) => id); if (tb5NodeIds.length < 2) return false; // At least one TB5 node has RDMA disabled