aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/emulex/benet/be.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be.h')
-rw-r--r--drivers/net/ethernet/emulex/benet/be.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be.h b/drivers/net/ethernet/emulex/benet/be.h
index 712e7f8e1df7..9fa2569f56cb 100644
--- a/drivers/net/ethernet/emulex/benet/be.h
+++ b/drivers/net/ethernet/emulex/benet/be.h
@@ -243,7 +243,6 @@ struct be_tx_stats {
243 u64 tx_bytes; 243 u64 tx_bytes;
244 u64 tx_pkts; 244 u64 tx_pkts;
245 u64 tx_reqs; 245 u64 tx_reqs;
246 u64 tx_wrbs;
247 u64 tx_compl; 246 u64 tx_compl;
248 ulong tx_jiffies; 247 ulong tx_jiffies;
249 u32 tx_stops; 248 u32 tx_stops;
@@ -266,6 +265,9 @@ struct be_tx_obj {
266 /* Remember the skbs that were transmitted */ 265 /* Remember the skbs that were transmitted */
267 struct sk_buff *sent_skb_list[TX_Q_LEN]; 266 struct sk_buff *sent_skb_list[TX_Q_LEN];
268 struct be_tx_stats stats; 267 struct be_tx_stats stats;
268 u16 pend_wrb_cnt; /* Number of WRBs yet to be given to HW */
269 u16 last_req_wrb_cnt; /* wrb cnt of the last req in the Q */
270 u16 last_req_hdr; /* index of the last req's hdr-wrb */
269} ____cacheline_aligned_in_smp; 271} ____cacheline_aligned_in_smp;
270 272
271/* Struct to remember the pages posted for rx frags */ 273/* Struct to remember the pages posted for rx frags */