aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/aquantia/atlantic/aq_ethtool.h
diff options
context:
space:
mode:
authorIgor Russkikh <irusskikh@marvell.com>2019-11-07 22:41:58 +0000
committerDavid S. Miller <davem@davemloft.net>2019-11-07 19:54:43 -0800
commitea4b4d7fc1065165874c27b8add252e04d104137 (patch)
tree9216cb18c8ce9432b04bb6cb0079f7b06f9f0bd2 /drivers/net/ethernet/aquantia/atlantic/aq_ethtool.h
parentnet: atlantic: add fw configuration memory area (diff)
downloadlinux-dev-ea4b4d7fc1065165874c27b8add252e04d104137.tar.xz
linux-dev-ea4b4d7fc1065165874c27b8add252e04d104137.zip
net: atlantic: loopback tests via private flags
Here we add a number of ethtool private flags to allow enabling various loopbacks on HW. Thats useful for verification and bringup works. Signed-off-by: Igor Russkikh <irusskikh@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/aquantia/atlantic/aq_ethtool.h')
-rw-r--r--drivers/net/ethernet/aquantia/atlantic/aq_ethtool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/aquantia/atlantic/aq_ethtool.h b/drivers/net/ethernet/aquantia/atlantic/aq_ethtool.h
index 632b5531db4a..6d5be5ebeb13 100644
--- a/drivers/net/ethernet/aquantia/atlantic/aq_ethtool.h
+++ b/drivers/net/ethernet/aquantia/atlantic/aq_ethtool.h
@@ -12,5 +12,6 @@
#include "aq_common.h"
extern const struct ethtool_ops aq_ethtool_ops;
+#define AQ_PRIV_FLAGS_MASK (AQ_HW_LOOPBACK_MASK)
#endif /* AQ_ETHTOOL_H */