Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.h759 u16 hw_cons; in bnx2x_tx_queue_has_work() local
763 hw_cons = le16_to_cpu(*txdata->tx_cons_sb); in bnx2x_tx_queue_has_work()
764 return hw_cons != txdata->tx_pkt_cons; in bnx2x_tx_queue_has_work()
Dbnx2x_cmn.c276 u16 hw_cons, sw_cons, bd_cons = txdata->tx_bd_cons; in bnx2x_tx_int() local
285 hw_cons = le16_to_cpu(*txdata->tx_cons_sb); in bnx2x_tx_int()
291 while (sw_cons != hw_cons) { in bnx2x_tx_int()
298 txdata->txq_index, hw_cons, sw_cons, pkt_cons); in bnx2x_tx_int()
Dbnx2x_main.c5442 u16 hw_cons, sw_cons, sw_prod; in bnx2x_eq_int() local
5452 hw_cons = le16_to_cpu(*bp->eq_cons_sb); in bnx2x_eq_int()
5459 if ((hw_cons & EQ_DESC_MAX_PAGE) == EQ_DESC_MAX_PAGE) in bnx2x_eq_int()
5460 hw_cons++; in bnx2x_eq_int()
5470 hw_cons, sw_cons, atomic_read(&bp->eq_spq_left)); in bnx2x_eq_int()
5472 for (; sw_cons != hw_cons; in bnx2x_eq_int()
/Linux-v5.4/drivers/net/ethernet/broadcom/
Dbnx2.c2851 u16 hw_cons, sw_cons, sw_ring_cons; in bnx2_tx_int() local
2859 hw_cons = bnx2_get_hw_tx_cons(bnapi); in bnx2_tx_int()
2862 while (sw_cons != hw_cons) { in bnx2_tx_int()
2884 if (((s16) ((s16) last_idx - (s16) hw_cons)) > 0) { in bnx2_tx_int()
2915 if (hw_cons == sw_cons) in bnx2_tx_int()
2916 hw_cons = bnx2_get_hw_tx_cons(bnapi); in bnx2_tx_int()
2920 txr->hw_tx_cons = hw_cons; in bnx2_tx_int()
3151 u16 hw_cons, sw_cons, sw_ring_cons, sw_prod, sw_ring_prod; in bnx2_rx_int() local
3158 hw_cons = bnx2_get_hw_rx_cons(bnapi); in bnx2_rx_int()
3166 while (sw_cons != hw_cons) { in bnx2_rx_int()
[all …]
Dcnic.c2915 u16 hw_cons, sw_cons; in cnic_l2_completion() local
2925 hw_cons = *cp->rx_cons_ptr; in cnic_l2_completion()
2926 if ((hw_cons & BNX2X_MAX_RCQ_DESC_CNT) == BNX2X_MAX_RCQ_DESC_CNT) in cnic_l2_completion()
2927 hw_cons++; in cnic_l2_completion()
2930 while (sw_cons != hw_cons) { in cnic_l2_completion()
/Linux-v5.4/drivers/net/ethernet/brocade/bna/
Dbnad.c162 u32 wis, unmap_wis, hw_cons, cons, q_depth; in bnad_txcmpl_process() local
171 hw_cons = *(tcb->hw_consumer_index); in bnad_txcmpl_process()
176 wis = BNA_Q_INDEX_CHANGE(cons, hw_cons, q_depth); in bnad_txcmpl_process()
195 tcb->consumer_index = hw_cons; in bnad_txcmpl_process()
/Linux-v5.4/drivers/infiniband/hw/qedr/
Dverbs.c3675 struct ib_wc *wc, u16 hw_cons, enum ib_wc_status status, in process_req() argument
3680 while (num_entries && qp->sq.wqe_cons != hw_cons) { in process_req()
3955 int num_entries, struct ib_wc *wc, u16 hw_cons) in process_resp_flush() argument
3959 while (num_entries && qp->rq.wqe_cons != hw_cons) { in process_resp_flush()