]> www.infradead.org Git - users/jedix/linux-maple.git/commit
be2net: support ethtool get-dump option
authorVenkat Duvvuru <venkatkumar.duvvuru@avagotech.com>
Wed, 30 Dec 2015 06:29:04 +0000 (01:29 -0500)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 15:14:54 +0000 (07:14 -0800)
commit374f471aa585da691cc9e2d2afcf78067afe4e83
tree18782c8e0c0c1fad654f450e62e6e888377d5832
parente608f1e71b223a433ced94fb821e46b2f9635366
be2net: support ethtool get-dump option

This patch adds support for ethtool's --get-dump option in be2net,
to retrieve FW dump. In the past when this option was not yet available,
this feature was supported via the --register-dump option as a workaround.
This patch removes support for FW-dump via --register-dump option as it is
now available via --get-dump option. Even though the
"ethtool --register-dump" cmd which used to work earlier, will now fail
with ENOTSUPP error, we feel it is not an issue as this is used only
for diagnostics purpose.

Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@avagotech.com>
Signed-off-by: Sathya Perla <sathya.perla@avagotech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Suresh Reddy <suresh.reddy@avagotech.com>
Signed-off-by: Suresh Reddy <suresh.reddy@broadcom.com>
Orabug: 22725582
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
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
drivers/net/ethernet/emulex/benet/be_main.c