summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cavium/thunder/nic.h
diff options
context:
space:
mode:
authorThanneeru Srinivasulu <tsrinivasulu@cavium.com>2016-11-24 14:48:01 +0530
committerDavid S. Miller <davem@davemloft.net>2016-11-25 20:21:17 -0500
commit1cc702591bae9f70b1aa2f9cb60241961bc1858a (patch)
treec217eafc2b954a9693a3efe02754c7dd9fed20d3 /drivers/net/ethernet/cavium/thunder/nic.h
parent5271156b1a93eeb9a1a48d8a4be5074b3c31a5cd (diff)
downloadlinux-1cc702591bae9f70b1aa2f9cb60241961bc1858a.tar.gz
linux-1cc702591bae9f70b1aa2f9cb60241961bc1858a.tar.bz2
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/nic.h')
-rw-r--r--drivers/net/ethernet/cavium/thunder/nic.h2
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;