Re: [PATCH for-rc] RDMA/core: Fix reported speed and width

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 02, 2020 at 03:43:04PM +0300, Kamal Heib wrote:
> When the returned speed from __ethtool_get_link_ksettings() is
> SPEED_UNKNOWN this will lead to reporting a wrong speed and width for
> providers that uses ib_get_eth_speed(), fix that by defaulting the
> netdev_speed to SPEED_1000 in case the returned value from
> __ethtool_get_link_ksettings() is SPEED_UNKNOWN.
> 
> Fixes: d41861942fc5 ("IB/core: Add generic function to extract IB speed from netdev")
> Signed-off-by: Kamal Heib <kamalheib1@xxxxxxxxx>
> ---
>  drivers/infiniband/core/verbs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to for-rc, thanks

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux