netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] ethtool: Added a field fw dump_state
@ 2012-03-16 17:58 Anirban Chakraborty
  2012-03-16 17:58 ` [PATCH net-next] qlcnic: ethtool change to provide the dump_state information Anirban Chakraborty
  2012-03-16 18:27 ` [PATCH net-next] ethtool: Added a field fw dump_state Ben Hutchings
  0 siblings, 2 replies; 8+ messages in thread
From: Anirban Chakraborty @ 2012-03-16 17:58 UTC (permalink / raw)
  To: David Miller
  Cc: Ben Hutchings, netdev, Dept_NX_Linux_NIC_Driver, Manish chopra

From: Manish chopra <manish.chopra@qlogic.com>

This field is added to enable/disable firmware dump.

Signed-off-by: Manish chopra <manish.chopra@qlogic.com>
Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.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;
 };
 
+
 /* for returning and changing feature sets */
 
 /**
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-03-16 22:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-16 17:58 [PATCH net-next] ethtool: Added a field fw dump_state Anirban Chakraborty
2012-03-16 17:58 ` [PATCH net-next] qlcnic: ethtool change to provide the dump_state information Anirban Chakraborty
2012-03-16 18:27 ` [PATCH net-next] ethtool: Added a field fw dump_state Ben Hutchings
2012-03-16 21:10   ` Anirban Chakraborty
2012-03-16 21:22     ` Eric Dumazet
2012-03-16 21:28       ` Anirban Chakraborty
2012-03-16 21:37       ` Ben Hutchings
2012-03-16 22:37         ` Anirban Chakraborty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).