Home
last modified time | relevance | path

Searched refs:max_wqe_size (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wq.h31 u16 max_wqe_size; member
80 u16 q_depth, u16 max_wqe_size);
92 u16 max_wqe_size);
Dhinic_hw_wq.c79 / (wq)->max_wqe_size)
383 wq->max_wqe_size, GFP_KERNEL); in alloc_wqes_shadow()
506 u16 max_wqe_size) in hinic_wq_allocate() argument
549 wq->max_wqe_size = max_wqe_size; in hinic_wq_allocate()
603 u16 q_depth, u16 max_wqe_size) in hinic_wqs_cmdq_alloc() argument
652 wq[i].max_wqe_size = max_wqe_size; in hinic_wqs_cmdq_alloc()
774 void *shadow_addr = &wq->shadow_wqe[curr_pg * wq->max_wqe_size]; in hinic_get_wqe()
847 void *shadow_addr = &wq->shadow_wqe[curr_pg * wq->max_wqe_size]; in hinic_read_wqe()
877 size_t wqe_shadow_size = wq->num_q_pages * wq->max_wqe_size; in wqe_shadow()
901 shadow_addr = &wq->shadow_wqe[curr_pg * wq->max_wqe_size]; in hinic_write_wqe()
Dhinic_hw_cmdq.c886 u16 max_wqe_size; in hinic_init_cmdqs() local
903 max_wqe_size = WQE_LCMD_SIZE; in hinic_init_cmdqs()
906 CMDQ_WQ_PAGE_SIZE, CMDQ_DEPTH, max_wqe_size); in hinic_init_cmdqs()