Re: [PATCH] IB/mlx5: give back valid speed/width even without plugged in SFP module

From: Hal Rosenstock
Date: Fri Oct 27 2017 - 18:52:35 EST


On 10/27/2017 5:54 PM, Ghazale Hosseinabadi wrote:
> When running ibstat (if transceiver is not connected in adapter):
>
> ibpanic: [7851] main: stat of IB device 'mlx5_1' failed: Invalid argument

Any output before that ? I'm trying to understand how far it gets. It
looks to me that empty rate file would be parsed as 0 and ibstat would
show that rate. ibpanic would occur if file was not found but I could be
missing something.