OSDN Git Service

net: ethtool: self_test: Mark interface in testing operative status
authorAndrew Lunn <andrew@lunn.ch>
Sun, 19 Apr 2020 22:11:52 +0000 (00:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2020 19:43:24 +0000 (12:43 -0700)
commit77e9b2ab451d32c81468ef679c377b2f831cd720
treea9cb964f6df47d76868f23e53672d648dc722743
parentdb30a57779b18b7cef092c21887ed2d23ad2bd35
net: ethtool: self_test: Mark interface in testing operative status

When an interface is executing a self test, put the interface into
operative status testing.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ethtool/ioctl.c