Searched refs:sw_ci (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_tx.c | 710 u16 hw_ci, sw_ci; in free_tx_poll() local 718 sq_wqe = hinic_sq_read_wqebb(sq, &skb, &wqe_size, &sw_ci); in free_tx_poll() 720 (((hw_ci - sw_ci) & wq->mask) * wq->wqebb_size < wqe_size)) in free_tx_poll() 727 sq_wqe = hinic_sq_read_wqe(sq, &skb, wqe_size, &sw_ci); in free_tx_poll()
|
H A D | hinic_main.c | 818 u16 sw_pi, hw_ci, sw_ci; in hinic_tx_timeout() local 833 sw_ci = atomic_read(&sq->wq->cons_idx) & sq->wq->mask; in hinic_tx_timeout() 835 q_id, sw_pi, hw_ci, sw_ci, in hinic_tx_timeout()
|