Commit 478ab8c9 authored by Rasesh Mody's avatar Rasesh Mody Committed by David S. Miller

bna: Firmware update

Change Details:
 -      Added Stats clear counter to the bfi_enet_stats_mac structure and
        ethtool stats
 -      Modified the firmware naming convention to contain the firmware image
        version (3.1.0.0). The new convention is
        <firmware-image>-<firmware-version>.bin The change will enforce loading
        only compatible firmware with this driver and also avoid over-writing
        the old firmware image in-order to load new version driver as the
        firmware names used to be the same.
Signed-off-by: default avatarRasesh Mody <rmody@brocade.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 215a64a2
...@@ -787,6 +787,7 @@ struct bfi_enet_stats_bpc { ...@@ -787,6 +787,7 @@ struct bfi_enet_stats_bpc {
/* MAC Rx Statistics */ /* MAC Rx Statistics */
struct bfi_enet_stats_mac { struct bfi_enet_stats_mac {
u64 stats_clr_cnt; /* times this stats cleared */
u64 frame_64; /* both rx and tx counter */ u64 frame_64; /* both rx and tx counter */
u64 frame_65_127; /* both rx and tx counter */ u64 frame_65_127; /* both rx and tx counter */
u64 frame_128_255; /* both rx and tx counter */ u64 frame_128_255; /* both rx and tx counter */
......
...@@ -102,6 +102,7 @@ static const char *bnad_net_stats_strings[BNAD_ETHTOOL_STATS_NUM] = { ...@@ -102,6 +102,7 @@ static const char *bnad_net_stats_strings[BNAD_ETHTOOL_STATS_NUM] = {
"rx_unmap_q_alloc_failed", "rx_unmap_q_alloc_failed",
"rxbuf_alloc_failed", "rxbuf_alloc_failed",
"mac_stats_clr_cnt",
"mac_frame_64", "mac_frame_64",
"mac_frame_65_127", "mac_frame_65_127",
"mac_frame_128_255", "mac_frame_128_255",
......
...@@ -37,8 +37,8 @@ ...@@ -37,8 +37,8 @@
extern char bfa_version[]; extern char bfa_version[];
#define CNA_FW_FILE_CT "ctfw.bin" #define CNA_FW_FILE_CT "ctfw-3.1.0.0.bin"
#define CNA_FW_FILE_CT2 "ct2fw.bin" #define CNA_FW_FILE_CT2 "ct2fw-3.1.0.0.bin"
#define FC_SYMNAME_MAX 256 /*!< max name server symbolic name size */ #define FC_SYMNAME_MAX 256 /*!< max name server symbolic name size */
#pragma pack(1) #pragma pack(1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment