Searched refs:hw_cons (Results 1 – 6 of 6) sorted by relevance
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.h | 754 u16 hw_cons; in bnx2x_tx_queue_has_work() local 758 hw_cons = le16_to_cpu(*txdata->tx_cons_sb); in bnx2x_tx_queue_has_work() 759 return hw_cons != txdata->tx_pkt_cons; in bnx2x_tx_queue_has_work()
|
D | bnx2x_cmn.c | 277 u16 hw_cons, sw_cons, bd_cons = txdata->tx_bd_cons; in bnx2x_tx_int() local 286 hw_cons = le16_to_cpu(*txdata->tx_cons_sb); in bnx2x_tx_int() 289 while (sw_cons != hw_cons) { in bnx2x_tx_int() 296 txdata->txq_index, hw_cons, sw_cons, pkt_cons); in bnx2x_tx_int()
|
D | bnx2x_main.c | 5405 u16 hw_cons, sw_cons, sw_prod; in bnx2x_eq_int() local 5415 hw_cons = le16_to_cpu(*bp->eq_cons_sb); in bnx2x_eq_int() 5422 if ((hw_cons & EQ_DESC_MAX_PAGE) == EQ_DESC_MAX_PAGE) in bnx2x_eq_int() 5423 hw_cons++; in bnx2x_eq_int() 5433 hw_cons, sw_cons, atomic_read(&bp->eq_spq_left)); in bnx2x_eq_int() 5435 for (; sw_cons != hw_cons; in bnx2x_eq_int()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 2831 u16 hw_cons, sw_cons, sw_ring_cons; in bnx2_tx_int() local 2839 hw_cons = bnx2_get_hw_tx_cons(bnapi); in bnx2_tx_int() 2842 while (sw_cons != hw_cons) { in bnx2_tx_int() 2864 if (((s16) ((s16) last_idx - (s16) hw_cons)) > 0) { in bnx2_tx_int() 2895 if (hw_cons == sw_cons) in bnx2_tx_int() 2896 hw_cons = bnx2_get_hw_tx_cons(bnapi); in bnx2_tx_int() 2900 txr->hw_tx_cons = hw_cons; in bnx2_tx_int() 3133 u16 hw_cons, sw_cons, sw_ring_cons, sw_prod, sw_ring_prod; in bnx2_rx_int() local 3140 hw_cons = bnx2_get_hw_rx_cons(bnapi); in bnx2_rx_int() 3148 while (sw_cons != hw_cons) { in bnx2_rx_int() [all …]
|
D | cnic.c | 2906 u16 hw_cons, sw_cons; in cnic_l2_completion() local 2916 hw_cons = *cp->rx_cons_ptr; in cnic_l2_completion() 2917 if ((hw_cons & BNX2X_MAX_RCQ_DESC_CNT) == BNX2X_MAX_RCQ_DESC_CNT) in cnic_l2_completion() 2918 hw_cons++; in cnic_l2_completion() 2921 while (sw_cons != hw_cons) { in cnic_l2_completion()
|
/linux-4.1.27/drivers/net/ethernet/brocade/bna/ |
D | bnad.c | 188 u32 wis, unmap_wis, hw_cons, cons, q_depth; in bnad_txcmpl_process() local 197 hw_cons = *(tcb->hw_consumer_index); in bnad_txcmpl_process() 201 wis = BNA_Q_INDEX_CHANGE(cons, hw_cons, q_depth); in bnad_txcmpl_process() 220 tcb->consumer_index = hw_cons; in bnad_txcmpl_process()
|