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>
This commit is contained in:
@@ -592,6 +592,7 @@ struct be_adapter {
|
||||
struct rss_info rss_info;
|
||||
/* Filters for packets that need to be sent to BMC */
|
||||
u32 bmc_filt_mask;
|
||||
u32 fat_dump_len;
|
||||
u16 serial_num[CNTL_SERIAL_NUM_WORDS];
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user