Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/bng_re/
H A Dbng_fw.c522 u32 sw_cons; in bng_re_creq_irq() local
527 sw_cons = HWQ_CMP(hwq->cons, hwq); in bng_re_creq_irq()
528 bng_re_get_qe(hwq, sw_cons, NULL); in bng_re_creq_irq()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c276 u16 hw_cons, sw_cons, bd_cons = txdata->tx_bd_cons; in bnx2x_tx_int() local
286 sw_cons = txdata->tx_pkt_cons; in bnx2x_tx_int()
291 while (sw_cons != hw_cons) { in bnx2x_tx_int()
294 pkt_cons = TX_BD(sw_cons); in bnx2x_tx_int()
298 txdata->txq_index, hw_cons, sw_cons, pkt_cons); in bnx2x_tx_int()
303 sw_cons++; in bnx2x_tx_int()
308 txdata->tx_pkt_cons = sw_cons; in bnx2x_tx_int()
1514 u16 sw_cons = txdata->tx_pkt_cons; in bnx2x_free_tx_skbs_queue() local
1516 while (sw_cons != sw_prod) { in bnx2x_free_tx_skbs_queue()
1517 bnx2x_free_tx_pkt(bp, txdata, TX_BD(sw_cons), in bnx2x_free_tx_skbs_queue()
[all …]
/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_rcfw.c797 u32 sw_cons; in bnxt_qplib_creq_irq() local
802 sw_cons = HWQ_CMP(hwq->cons, hwq); in bnxt_qplib_creq_irq()
803 prefetch(bnxt_qplib_get_qe(hwq, sw_cons, NULL)); in bnxt_qplib_creq_irq()
H A Dqplib_fp.c421 u32 sw_cons; in bnxt_qplib_nq_irq() local
424 sw_cons = HWQ_CMP(hwq->cons, hwq); in bnxt_qplib_nq_irq()
425 prefetch(bnxt_qplib_get_qe(hwq, sw_cons, NULL)); in bnxt_qplib_nq_irq()
/linux/drivers/net/ethernet/broadcom/
H A Dcnic.c2921 u16 hw_cons, sw_cons; in cnic_l2_completion() local
2935 sw_cons = cp->rx_cons; in cnic_l2_completion()
2936 while (sw_cons != hw_cons) { in cnic_l2_completion()
2939 cqe = &cqe_ring[sw_cons & BNX2X_MAX_RCQ_DESC_CNT]; in cnic_l2_completion()
2948 sw_cons = BNX2X_NEXT_RCQE(sw_cons); in cnic_l2_completion()