be2net: support deleting FW dump via ethtool (only for Lancer)
authorKalesh AP <kalesh.purayil@emulex.com>
Fri, 1 Aug 2014 12:17:32 +0000 (17:47 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Aug 2014 22:59:18 +0000 (15:59 -0700)
commitf0613380152a9290b68390ce60ba400ed25c780d
treea044460f3c86fa21bb1628935897538b90dc7fff
parent3c31aaf340387a209b6f7036adaa8522a1cd7f18
be2net: support deleting FW dump via ethtool (only for Lancer)

This patch adds support to delete an existing FW-dump in Lancer via ethtool.
Initiating a new dump is not allowed if a FW dump is already present in the
adapter. The existing dump has to be first explicitly deleted.

Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_cmds.h
drivers/net/ethernet/emulex/benet/be_ethtool.c