aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Branden <scott.branden@broadcom.com>2017-11-30 14:35:59 -0500
committerDavid S. Miller <davem@davemloft.net>2017-12-01 15:29:40 -0500
commit40e44a1e669d078946f46853808a60d29e6f0885 (patch)
tree1b37d078e6a0550c528115242ec4856c658b3213
parent68bf33f4134006e2840cd9f11811e706a7ecc942 (diff)
net: ethtool: add support for reset of AP inside NIC interface.
Add ETH_RESET_AP to reset the application processor(s) inside the NIC interface. Current ETH_RESET_MGMT supports a management processor inside this NIC. This is typically used for remote NIC management purposes. Application processors exist inside some SmartNICs to run various applications inside the NIC processor - be it a simple algorithm without an OS to as complex as hosting multiple VMs. Signed-off-by: Scott Branden <scott.branden@broadcom.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/uapi/linux/ethtool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h
index ac71559314e7..44a0b675a6bc 100644
--- a/include/uapi/linux/ethtool.h
+++ b/include/uapi/linux/ethtool.h
@@ -1686,6 +1686,7 @@ enum ethtool_reset_flags {
1686 ETH_RESET_PHY = 1 << 6, /* Transceiver/PHY */ 1686 ETH_RESET_PHY = 1 << 6, /* Transceiver/PHY */
1687 ETH_RESET_RAM = 1 << 7, /* RAM shared between 1687 ETH_RESET_RAM = 1 << 7, /* RAM shared between
1688 * multiple components */ 1688 * multiple components */
1689 ETH_RESET_AP = 1 << 8, /* Application processor */
1689 1690
1690 ETH_RESET_DEDICATED = 0x0000ffff, /* All components dedicated to 1691 ETH_RESET_DEDICATED = 0x0000ffff, /* All components dedicated to
1691 * this interface */ 1692 * this interface */