Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c141 u16 hw_cons, sw_cons, bd_cons = txdata->tx_bd_cons; in bnx2x_tx_int() local
151 sw_cons = txdata->tx_pkt_cons; in bnx2x_tx_int()
153 while (sw_cons != hw_cons) { in bnx2x_tx_int()
156 pkt_cons = TX_BD(sw_cons); in bnx2x_tx_int()
160 txdata->txq_index, hw_cons, sw_cons, pkt_cons); in bnx2x_tx_int()
165 sw_cons++; in bnx2x_tx_int()
170 txdata->tx_pkt_cons = sw_cons; in bnx2x_tx_int()
1130 u16 sw_cons = txdata->tx_pkt_cons; in bnx2x_free_tx_skbs() local
1132 while (sw_cons != sw_prod) { in bnx2x_free_tx_skbs()
1133 bnx2x_free_tx_pkt(bp, txdata, TX_BD(sw_cons), in bnx2x_free_tx_skbs()
[all …]
Dbnx2x_main.c4572 u16 hw_cons, sw_cons, sw_prod; in bnx2x_eq_int() local
4595 sw_cons = bp->eq_cons; in bnx2x_eq_int()
4599 hw_cons, sw_cons, atomic_read(&bp->eq_spq_left)); in bnx2x_eq_int()
4601 for (; sw_cons != hw_cons; in bnx2x_eq_int()
4602 sw_prod = NEXT_EQ_IDX(sw_prod), sw_cons = NEXT_EQ_IDX(sw_cons)) { in bnx2x_eq_int()
4605 elem = &bp->eq_ring[EQ_DESC(sw_cons)]; in bnx2x_eq_int()
4730 bp->eq_cons = sw_cons; in bnx2x_eq_int()
/linux-3.4.99/drivers/net/ethernet/broadcom/
Dbnx2.c2809 u16 hw_cons, sw_cons, sw_ring_cons; in bnx2_tx_int() local
2818 sw_cons = txr->tx_cons; in bnx2_tx_int()
2820 while (sw_cons != hw_cons) { in bnx2_tx_int()
2825 sw_ring_cons = TX_RING_IDX(sw_cons); in bnx2_tx_int()
2837 last_idx = sw_cons + tx_buf->nr_frags + 1; in bnx2_tx_int()
2854 sw_cons = NEXT_TX_BD(sw_cons); in bnx2_tx_int()
2858 &txr->tx_buf_ring[TX_RING_IDX(sw_cons)], in bnx2_tx_int()
2864 sw_cons = NEXT_TX_BD(sw_cons); in bnx2_tx_int()
2872 if (hw_cons == sw_cons) in bnx2_tx_int()
2878 txr->tx_cons = sw_cons; in bnx2_tx_int()
[all …]
Dcnic.c2853 u16 hw_cons, sw_cons; in cnic_l2_completion() local
2867 sw_cons = cp->rx_cons; in cnic_l2_completion()
2868 while (sw_cons != hw_cons) { in cnic_l2_completion()
2871 cqe = &cqe_ring[sw_cons & BNX2X_MAX_RCQ_DESC_CNT]; in cnic_l2_completion()
2880 sw_cons = BNX2X_NEXT_RCQE(sw_cons); in cnic_l2_completion()