summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-12-01 15:29:40 -0500
committerDavid S. Miller <davem@davemloft.net>2017-12-01 15:29:40 -0500
commit50e0f5c0388e2b92dcf2ea19530abafffb7d7620 (patch)
treeed8fc903ab8a2cb7f9b3e96cdedc2fc4e7b25f39 /include
parent68bf33f4134006e2840cd9f11811e706a7ecc942 (diff)
parent6502ad5963a5307089bed395f63173e34cb251ea (diff)
downloadcachepc-linux-50e0f5c0388e2b92dcf2ea19530abafffb7d7620.tar.gz
cachepc-linux-50e0f5c0388e2b92dcf2ea19530abafffb7d7620.zip
Merge branch 'ethtool-reset-AP'
Scott Branden says: ==================== net: ethtool: add support for ETH_RESET_AP Add support to reset appplication processors inside SmartNICs by defining new ETH_RESET_AP bit. And use new ETH_RESET_AP bit in bnxt ethernet driver. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-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 {
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 */