cxgb4/cxgb4vf: check fw caps to set link mode mask
authorGanesh Goudar <ganeshgr@chelsio.com>
Sat, 10 Mar 2018 13:57:52 +0000 (19:27 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Mar 2018 15:05:08 +0000 (11:05 -0400)
commit129cf5f7f19658db343edbdfbda5b95d2756cb2a
tree2d59ba64a4fa59f81215b152ac38e591abf00f43
parent7cbe543cae9b57cf4f9e710d1cec8dc3dd3c6dda
cxgb4/cxgb4vf: check fw caps to set link mode mask

check firmware capabilities before setting ethtool
link mode mask, also add few missing speeds.

Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c