[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1331922456.2504.0.camel@bwh-desktop.uk.solarflarecom.com>
Date: Fri, 16 Mar 2012 18:27:36 +0000
From: Ben Hutchings <bhutchings@...arflare.com>
To: Anirban Chakraborty <anirban.chakraborty@...gic.com>
CC: David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Dept_NX_Linux_NIC_Driver <Dept_NX_Linux_NIC_Driver@...gic.com>,
Manish chopra <manish.chopra@...gic.com>
Subject: Re: [PATCH net-next] ethtool: Added a field fw dump_state
On Fri, 2012-03-16 at 10:58 -0700, Anirban Chakraborty wrote:
> From: Manish chopra <manish.chopra@...gic.com>
>
> This field is added to enable/disable firmware dump.
>
> Signed-off-by: Manish chopra <manish.chopra@...gic.com>
> Signed-off-by: Anirban Chakraborty <anirban.chakraborty@...gic.com>
> ---
> include/linux/ethtool.h | 7 +++++++
> 1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h
> index e1d9e0e..6ebc7de 100644
> --- a/include/linux/ethtool.h
> +++ b/include/linux/ethtool.h
> @@ -666,15 +666,22 @@ struct ethtool_flash {
> * %ETHTOOL_GET_DUMP_DATA and this is returned as dump length by driver
> * for %ETHTOOL_GET_DUMP_FLAG command
> * @data: data collected for get dump data operation
> + * @dump_state: state of the firmware dump. which can be enable/disable.
> */
> +
> +#define ETH_FW_DUMP_ENABLE 1
> +#define ETH_FW_DUMP_DISABLE 0
> +
> struct ethtool_dump {
> __u32 cmd;
> __u32 version;
> __u32 flag;
> __u32 len;
> __u8 data[0];
> + __u8 dump_state;
Don't be ridiculous.
Ben.
> };
>
> +
> /* for returning and changing feature sets */
>
> /**
--
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists