Re: [PATCH net] nfp: use the correct index for link speed table

2018-01-16 Thread David Miller
From: Jakub Kicinski Date: Mon, 15 Jan 2018 11:47:53 -0800 > sts variable is holding link speed as well as state. We should > be using ls to index into ls_to_ethtool. > > Fixes: 265aeb511bd5 ("nfp: add support for .get_link_ksettings()") > Signed-off-by: Jakub Kicinski Applied and queued up f

[PATCH net] nfp: use the correct index for link speed table

2018-01-15 Thread Jakub Kicinski
sts variable is holding link speed as well as state. We should be using ls to index into ls_to_ethtool. Fixes: 265aeb511bd5 ("nfp: add support for .get_link_ksettings()") Signed-off-by: Jakub Kicinski --- drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c | 2 +- 1 file changed, 1 insertion(+