From: Scott Branden <scott.branden@broadcom.com>
To: "David S. Miller" <davem@davemloft.net>,
"Allan W. Nielsen" <allan.nielsen@microsemi.com>,
Andrew Lunn <andrew@lunn.ch>,
Raju Lakkaraju <Raju.Lakkaraju@microsemi.com>,
Florian Fainelli <f.fainelli@gmail.com>
Cc: BCM Kernel Feedback <bcm-kernel-feedback-list@broadcom.com>,
linux-kernel@vger.kernel.org,
Steve Lin <steven.lin1@broadcom.com>,
Scott Branden <scott.branden@broadcom.com>
Subject: [PATCH 1/1] net: ethtool: add support for reset of AP inside NIC interface.
Date: Wed, 18 Oct 2017 09:01:36 -0700 [thread overview]
Message-ID: <1508342496-5047-2-git-send-email-scott.branden@broadcom.com> (raw)
In-Reply-To: <1508342496-5047-1-git-send-email-scott.branden@broadcom.com>
Add ETH_RESET_AP to reset the application processor inside the NIC
interface.
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
---
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
next prev parent reply other threads:[~2017-10-18 16:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-18 16:01 [PATCH 0/1] net: ethtool: add SmartNIC reset support Scott Branden
2017-10-18 16:01 ` Scott Branden [this message]
2017-10-18 21:59 ` [PATCH 1/1] net: ethtool: add support for reset of AP inside NIC interface Scott Branden
2017-10-18 16:28 ` [PATCH 0/1] net: ethtool: add SmartNIC reset support Andrew Lunn
2017-10-18 16:52 ` Scott Branden
2017-10-18 19:16 ` Andrew Lunn
2017-10-18 19:31 ` Scott Branden
2017-10-18 21:30 ` Andy Gospodarek
2017-10-18 21:59 ` Scott Branden
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1508342496-5047-2-git-send-email-scott.branden@broadcom.com \
--to=scott.branden@broadcom.com \
--cc=Raju.Lakkaraju@microsemi.com \
--cc=allan.nielsen@microsemi.com \
--cc=andrew@lunn.ch \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=steven.lin1@broadcom.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®