]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
qlcnic: Take FW dump via ethtool
authorAnirban Chakraborty <anirban.chakraborty@qlogic.com>
Thu, 12 May 2011 12:48:34 +0000 (12:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 May 2011 18:44:14 +0000 (14:44 -0400)
commitb3c687317ff5d65017ee431de9ccf80ec1552e3e
treeafee7caa1197cc6bcfeed65f42b9ef18d1846366
parent18f2f616be88736f5daf31d9d40e027abbd607ed
qlcnic: Take FW dump via ethtool

Driver checks if the previous dump has been cleared before taking the dump.
It doesn't take the dump if it is not cleared.

Changes from v2:
Added lock to protect dump data structures from being mangled while
dumping or setting them via ethtool.

Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_ethtool.c