From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751709AbdJRWAD (ORCPT ); Wed, 18 Oct 2017 18:00:03 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:53033 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751485AbdJRWAB (ORCPT ); Wed, 18 Oct 2017 18:00:01 -0400 X-Google-Smtp-Source: ABhQp+TGCWp5wL/RKXEAhccSMxZTvcXo0wKQnb9iXeG/AOSi5f1C4H6Z++ZVCehgjszGBw3BR+kpVw== Subject: Re: [PATCH 1/1] net: ethtool: add support for reset of AP inside NIC interface. To: "David S. Miller" , "Allan W. Nielsen" , Andrew Lunn , Raju Lakkaraju , Florian Fainelli References: <1508342496-5047-1-git-send-email-scott.branden@broadcom.com> <1508342496-5047-2-git-send-email-scott.branden@broadcom.com> Cc: BCM Kernel Feedback , linux-kernel@vger.kernel.org, Steve Lin , netdev@vger.kernel.org From: Scott Branden Message-ID: <5a0da7ea-0ac0-5cac-ab15-a5de9a58922f@broadcom.com> Date: Wed, 18 Oct 2017 14:59:57 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <1508342496-5047-2-git-send-email-scott.branden@broadcom.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +netdev@vger.kernel.org On 17-10-18 09:01 AM, Scott Branden wrote: > Add ETH_RESET_AP to reset the application processor inside the NIC > interface. > > Signed-off-by: Scott Branden > --- > 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 */