Home
last modified time | relevance | path

Searched refs:hw_cons (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/drivers/net/bnx2x/
Dbnx2x_cmn.h685 u16 hw_cons; in bnx2x_has_tx_work() local
689 hw_cons = le16_to_cpu(*fp->tx_cons_sb); in bnx2x_has_tx_work()
690 return hw_cons != fp->tx_pkt_cons; in bnx2x_has_tx_work()
Dbnx2x_cmn.c101 u16 hw_cons, sw_cons, bd_cons = fp->tx_bd_cons; in bnx2x_tx_int() local
109 hw_cons = le16_to_cpu(*fp->tx_cons_sb); in bnx2x_tx_int()
112 while (sw_cons != hw_cons) { in bnx2x_tx_int()
119 fp->index, hw_cons, sw_cons, pkt_cons); in bnx2x_tx_int()
Dbnx2x_main.c3689 u16 hw_cons, sw_cons, sw_prod; in bnx2x_eq_int() local
3695 hw_cons = le16_to_cpu(*bp->eq_cons_sb); in bnx2x_eq_int()
3702 if ((hw_cons & EQ_DESC_MAX_PAGE) == EQ_DESC_MAX_PAGE) in bnx2x_eq_int()
3703 hw_cons++; in bnx2x_eq_int()
3713 hw_cons, sw_cons, atomic_read(&bp->eq_spq_left)); in bnx2x_eq_int()
3715 for (; sw_cons != hw_cons; in bnx2x_eq_int()
/linux-2.6.39/drivers/net/
Dbnx2.c2774 u16 hw_cons, sw_cons, sw_ring_cons; in bnx2_tx_int() local
2781 hw_cons = bnx2_get_hw_tx_cons(bnapi); in bnx2_tx_int()
2784 while (sw_cons != hw_cons) { in bnx2_tx_int()
2806 if (((s16) ((s16) last_idx - (s16) hw_cons)) > 0) { in bnx2_tx_int()
2835 if (hw_cons == sw_cons) in bnx2_tx_int()
2836 hw_cons = bnx2_get_hw_tx_cons(bnapi); in bnx2_tx_int()
2839 txr->hw_tx_cons = hw_cons; in bnx2_tx_int()
3066 u16 hw_cons, sw_cons, sw_ring_cons, sw_prod, sw_ring_prod; in bnx2_rx_int() local
3070 hw_cons = bnx2_get_hw_rx_cons(bnapi); in bnx2_rx_int()
3078 while (sw_cons != hw_cons) { in bnx2_rx_int()
[all …]
Dcnic.c2708 u16 hw_cons, sw_cons; in cnic_l2_completion() local
2718 hw_cons = *cp->rx_cons_ptr; in cnic_l2_completion()
2719 if ((hw_cons & BNX2X_MAX_RCQ_DESC_CNT) == BNX2X_MAX_RCQ_DESC_CNT) in cnic_l2_completion()
2720 hw_cons++; in cnic_l2_completion()
2723 while (sw_cons != hw_cons) { in cnic_l2_completion()