diff options
author | Thanneeru Srinivasulu <tsrinivasulu@cavium.com> | 2016-11-24 12:18:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-26 04:21:17 +0300 |
commit | 1cc702591bae9f70b1aa2f9cb60241961bc1858a (patch) | |
tree | c217eafc2b954a9693a3efe02754c7dd9fed20d3 /drivers/net/ethernet/cavium/thunder/nic.h | |
parent | 5271156b1a93eeb9a1a48d8a4be5074b3c31a5cd (diff) | |
download | linux-1cc702591bae9f70b1aa2f9cb60241961bc1858a.tar.xz |
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/nic.h')
-rw-r--r-- | drivers/net/ethernet/cavium/thunder/nic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cavium/thunder/nic.h b/drivers/net/ethernet/cavium/thunder/nic.h index 86bd93ce2ea3..be8404a9a325 100644 --- a/drivers/net/ethernet/cavium/thunder/nic.h +++ b/drivers/net/ethernet/cavium/thunder/nic.h @@ -292,6 +292,7 @@ struct nicvf { u8 node; u8 cpi_alg; bool link_up; + u8 mac_type; u8 duplex; u32 speed; bool tns_mode; @@ -446,6 +447,7 @@ struct bgx_stats_msg { /* Physical interface link status */ struct bgx_link_status { u8 msg; + u8 mac_type; u8 link_up; u8 duplex; u32 speed; |