[PATCH 1/1] net: ethtool: add support for reset of AP inside NIC interface.

From: Scott Branden
Date: Wed Oct 18 2017 - 12:01:57 EST


Add ETH_RESET_AP to reset the application processor inside the NIC
interface.

Signed-off-by: Scott Branden <scott.branden@xxxxxxxxxxxx>
---
include/uapi/linux/ethtool.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h
index 5bd1b1d..f927ab7 100644
--- a/include/uapi/linux/ethtool.h
+++ b/include/uapi/linux/ethtool.h
@@ -1685,6 +1685,7 @@ enum ethtool_reset_flags {
ETH_RESET_PHY = 1 << 6, /* Transceiver/PHY */
ETH_RESET_RAM = 1 << 7, /* RAM shared between
* multiple components */
+ ETH_RESET_AP = 1 << 8, /* Application processor */

ETH_RESET_DEDICATED = 0x0000ffff, /* All components dedicated to
* this interface */
--
2.5.0