Skip to contentSkip to conversation

IB/mlx5: give back valid speed/width even without plugged in SFP module

PATCH Ghazale Hosseinabadi 1 participant 1 message Oct 27, 2017 InfiniBand

lore
Share & tools
lore
#0 lore raw

Hi,

----- Original Message -----
From: [email protected]
To: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Cc: [email protected]
Sent: Friday, October 27, 2017 1:18:50 PM GMT -08:00 US/Canada Pacific
Subject: Re: [PATCH] IB/mlx5: give back valid speed/width even without plugged in SFP module

Quoted 1 line · Parav Pandit

However I believe that ibstat tool should be enhanced to report unknown port speed instead of expecting drivers to supply some random number like this.

ibstat gets the rate from libibumad via /sys/class/infiniband/<IB device>/ports/<port number>/rate file which is supposed to be populated by the driver. Is there no rate file in this error case ?

There is a rate file, but it is empty.

Thanks,
Ghazale

-- Hal