diff options
author | Thanneeru Srinivasulu <tsrinivasulu@cavium.com> | 2016-11-24 14:48:01 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-25 20:21:17 -0500 |
commit | 1cc702591bae9f70b1aa2f9cb60241961bc1858a (patch) | |
tree | c217eafc2b954a9693a3efe02754c7dd9fed20d3 /drivers/net/ethernet/cavium/thunder/thunder_bgx.c | |
parent | 5271156b1a93eeb9a1a48d8a4be5074b3c31a5cd (diff) | |
download | blackbird-op-linux-1cc702591bae9f70b1aa2f9cb60241961bc1858a.tar.gz blackbird-op-linux-1cc702591bae9f70b1aa2f9cb60241961bc1858a.zip |
net: thunderx: Add ethtool support for supported ports and link modes.
Signed-off-by: Thanneeru Srinivasulu <tsrinivasulu@cavium.com>
Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cavium/thunder/thunder_bgx.c')
-rw-r--r-- | drivers/net/ethernet/cavium/thunder/thunder_bgx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cavium/thunder/thunder_bgx.c b/drivers/net/ethernet/cavium/thunder/thunder_bgx.c index 1d6214ba2cf1..29c727fc887a 100644 --- a/drivers/net/ethernet/cavium/thunder/thunder_bgx.c +++ b/drivers/net/ethernet/cavium/thunder/thunder_bgx.c @@ -161,6 +161,7 @@ void bgx_get_lmac_link_state(int node, int bgx_idx, int lmacid, void *status) return; lmac = &bgx->lmac[lmacid]; + link->mac_type = lmac->lmac_type; link->link_up = lmac->link_up; link->duplex = lmac->last_duplex; link->speed = lmac->last_speed; |