Home
last modified time | relevance | path

Searched refs:sw_cons (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/net/bnx2x/
Dbnx2x_cmn.c101 u16 hw_cons, sw_cons, bd_cons = fp->tx_bd_cons; in bnx2x_tx_int() local
110 sw_cons = fp->tx_pkt_cons; in bnx2x_tx_int()
112 while (sw_cons != hw_cons) { in bnx2x_tx_int()
115 pkt_cons = TX_BD(sw_cons); in bnx2x_tx_int()
119 fp->index, hw_cons, sw_cons, pkt_cons); in bnx2x_tx_int()
122 sw_cons++; in bnx2x_tx_int()
125 fp->tx_pkt_cons = sw_cons; in bnx2x_tx_int()
953 u16 sw_cons = fp->tx_pkt_cons; in bnx2x_free_tx_skbs() local
955 while (sw_cons != sw_prod) { in bnx2x_free_tx_skbs()
956 bd_cons = bnx2x_free_tx_pkt(bp, fp, TX_BD(sw_cons)); in bnx2x_free_tx_skbs()
[all …]
Dbnx2x_main.c3689 u16 hw_cons, sw_cons, sw_prod; in bnx2x_eq_int() local
3709 sw_cons = bp->eq_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()
3716 sw_prod = NEXT_EQ_IDX(sw_prod), sw_cons = NEXT_EQ_IDX(sw_cons)) { in bnx2x_eq_int()
3719 elem = &bp->eq_ring[EQ_DESC(sw_cons)]; in bnx2x_eq_int()
3800 bp->eq_cons = sw_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
2782 sw_cons = txr->tx_cons; in bnx2_tx_int()
2784 while (sw_cons != hw_cons) { in bnx2_tx_int()
2789 sw_ring_cons = TX_RING_IDX(sw_cons); in bnx2_tx_int()
2801 last_idx = sw_cons + tx_buf->nr_frags + 1; in bnx2_tx_int()
2818 sw_cons = NEXT_TX_BD(sw_cons); in bnx2_tx_int()
2822 &txr->tx_buf_ring[TX_RING_IDX(sw_cons)], in bnx2_tx_int()
2828 sw_cons = NEXT_TX_BD(sw_cons); in bnx2_tx_int()
2835 if (hw_cons == sw_cons) in bnx2_tx_int()
2840 txr->tx_cons = sw_cons; in bnx2_tx_int()
[all …]
Dcnic.c2708 u16 hw_cons, sw_cons; in cnic_l2_completion() local
2722 sw_cons = cp->rx_cons; in cnic_l2_completion()
2723 while (sw_cons != hw_cons) { in cnic_l2_completion()
2726 cqe = &cqe_ring[sw_cons & BNX2X_MAX_RCQ_DESC_CNT]; in cnic_l2_completion()
2735 sw_cons = BNX2X_NEXT_RCQE(sw_cons); in cnic_l2_completion()