net: dsa: enable selftest support for all switches by default
Most of generic selftest should be able to work with probably all ethernet controllers. The DSA switches are not exception, so enable it by default at least for DSA. This patch was tested with SJA1105 and AR9331. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
b62a12fc04
commit
a71acad90a
@@ -577,6 +577,8 @@ struct dsa_switch_ops {
|
||||
int port, uint64_t *data);
|
||||
void (*get_stats64)(struct dsa_switch *ds, int port,
|
||||
struct rtnl_link_stats64 *s);
|
||||
void (*self_test)(struct dsa_switch *ds, int port,
|
||||
struct ethtool_test *etest, u64 *data);
|
||||
|
||||
/*
|
||||
* ethtool Wake-on-LAN
|
||||
|
||||
Reference in New Issue
Block a user