aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_fw_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bnx2x_fw_defs.h')
-rw-r--r--drivers/net/bnx2x_fw_defs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/bnx2x_fw_defs.h b/drivers/net/bnx2x_fw_defs.h
index 59bb13262585..f6dacb03bdd6 100644
--- a/drivers/net/bnx2x_fw_defs.h
+++ b/drivers/net/bnx2x_fw_defs.h
@@ -107,6 +107,9 @@
107#define USTORM_DEF_SB_HOST_STATUS_BLOCK_OFFSET(function) \ 107#define USTORM_DEF_SB_HOST_STATUS_BLOCK_OFFSET(function) \
108 (IS_E1H_OFFSET ? (0x9508 + ((function>>1) * 0x40) + \ 108 (IS_E1H_OFFSET ? (0x9508 + ((function>>1) * 0x40) + \
109 ((function&1) * 0x100)) : (0x1908 + (function * 0x40))) 109 ((function&1) * 0x100)) : (0x1908 + (function * 0x40)))
110#define USTORM_ETH_RING_PAUSE_DATA_OFFSET(port, clientId) \
111 (IS_E1H_OFFSET ? (0x8020 + (port * 0x4b0) + (clientId * 0x30)) : \
112 0xffffffff)
110#define USTORM_ETH_STATS_QUERY_ADDR_OFFSET(function) \ 113#define USTORM_ETH_STATS_QUERY_ADDR_OFFSET(function) \
111 (IS_E1H_OFFSET ? (0x2a50 + (function * 0x8)) : (0x1d98 + \ 114 (IS_E1H_OFFSET ? (0x2a50 + (function * 0x8)) : (0x1d98 + \
112 (function * 0x8))) 115 (function * 0x8)))
@@ -120,6 +123,8 @@
120#define USTORM_MEM_WORKAROUND_ADDRESS_OFFSET(function) \ 123#define USTORM_MEM_WORKAROUND_ADDRESS_OFFSET(function) \
121 (IS_E1H_OFFSET ? (0x2408 + (function * 0x8)) : (0x5308 + \ 124 (IS_E1H_OFFSET ? (0x2408 + (function * 0x8)) : (0x5308 + \
122 (function * 0x8))) 125 (function * 0x8)))
126#define USTORM_PAUSE_ENABLED_OFFSET(port) \
127 (IS_E1H_OFFSET ? (0x2ad4 + (port * 0x8)) : 0xffffffff)
123#define USTORM_PER_COUNTER_ID_STATS_OFFSET(port, stats_counter_id) \ 128#define USTORM_PER_COUNTER_ID_STATS_OFFSET(port, stats_counter_id) \
124 (IS_E1H_OFFSET ? (0x2450 + (port * 0x2d0) + (stats_counter_id * \ 129 (IS_E1H_OFFSET ? (0x2450 + (port * 0x2d0) + (stats_counter_id * \
125 0x28)) : (0x4740 + (port * 0x2d0) + (stats_counter_id * 0x28))) 130 0x28)) : (0x4740 + (port * 0x2d0) + (stats_counter_id * 0x28)))