Searched refs:hw_wqe (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_qp.c | 660 struct hinic_hw_wqe *hw_wqe = hinic_get_wqe(sq->wq, wqe_size, in hinic_sq_get_wqe() local 663 if (IS_ERR(hw_wqe)) in hinic_sq_get_wqe() 666 return &hw_wqe->sq_wqe; in hinic_sq_get_wqe() 691 struct hinic_hw_wqe *hw_wqe = (struct hinic_hw_wqe *)sq_wqe; in hinic_sq_write_wqe() local 698 hinic_write_wqe(sq->wq, hw_wqe, wqe_size); in hinic_sq_write_wqe() 715 struct hinic_hw_wqe *hw_wqe; in hinic_sq_read_wqebb() local 722 hw_wqe = hinic_read_wqe(sq->wq, sizeof(*ctrl), cons_idx); in hinic_sq_read_wqebb() 723 if (IS_ERR(hw_wqe)) in hinic_sq_read_wqebb() 728 sq_wqe = &hw_wqe->sq_wqe; in hinic_sq_read_wqebb() 737 return &hw_wqe->sq_wqe; in hinic_sq_read_wqebb() [all …]
|
D | hinic_hw_cmdq.c | 344 struct hinic_hw_wqe *hw_wqe; in cmdq_sync_cmd_direct_resp() local 351 hw_wqe = hinic_get_wqe(wq, WQE_LCMD_SIZE, &curr_prod_idx); in cmdq_sync_cmd_direct_resp() 352 if (IS_ERR(hw_wqe)) { in cmdq_sync_cmd_direct_resp() 357 curr_cmdq_wqe = &hw_wqe->cmdq_wqe; in cmdq_sync_cmd_direct_resp() 423 struct hinic_hw_wqe *hw_wqe; in cmdq_set_arm_bit() local 430 hw_wqe = hinic_get_wqe(wq, WQE_SCMD_SIZE, &curr_prod_idx); in cmdq_set_arm_bit() 431 if (IS_ERR(hw_wqe)) { in cmdq_set_arm_bit() 436 curr_cmdq_wqe = &hw_wqe->cmdq_wqe; in cmdq_set_arm_bit() 645 struct hinic_hw_wqe *hw_wqe; in cmdq_ceq_handler() local 651 while ((hw_wqe = hinic_read_wqe(cmdq->wq, WQE_SCMD_SIZE, &ci))) { in cmdq_ceq_handler() [all …]
|
D | hinic_rx.c | 246 struct hinic_hw_wqe *hw_wqe; in free_all_rx_skbs() local 250 while ((hw_wqe = hinic_read_wqe(rq->wq, HINIC_RQ_WQE_SIZE, &ci))) { in free_all_rx_skbs() 251 if (IS_ERR(hw_wqe)) in free_all_rx_skbs() 254 hinic_rq_get_sge(rq, &hw_wqe->rq_wqe, ci, &sge); in free_all_rx_skbs()
|