Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_wq.h31 u16 max_wqe_size; member
80 u16 q_depth, u16 max_wqe_size);
92 u16 max_wqe_size);
H A Dhinic_hw_wq.c79 / (wq)->max_wqe_size)
382 wq->max_wqe_size, GFP_KERNEL); in alloc_wqes_shadow()
505 u16 max_wqe_size) in hinic_wq_allocate() argument
548 wq->max_wqe_size = max_wqe_size; in hinic_wq_allocate()
602 u16 q_depth, u16 max_wqe_size) in hinic_wqs_cmdq_alloc() argument
651 wq[i].max_wqe_size = max_wqe_size; in hinic_wqs_cmdq_alloc()
773 void *shadow_addr = &wq->shadow_wqe[curr_pg * wq->max_wqe_size]; in hinic_get_wqe()
846 void *shadow_addr = &wq->shadow_wqe[curr_pg * wq->max_wqe_size]; in hinic_read_wqe()
876 size_t wqe_shadow_size = wq->num_q_pages * wq->max_wqe_size; in wqe_shadow()
900 shadow_addr = &wq->shadow_wqe[curr_pg * wq->max_wqe_size]; in hinic_write_wqe()
H A Dhinic_hw_cmdq.c881 u16 max_wqe_size; in hinic_init_cmdqs() local
898 max_wqe_size = WQE_LCMD_SIZE; in hinic_init_cmdqs()
901 CMDQ_WQ_PAGE_SIZE, CMDQ_DEPTH, max_wqe_size); in hinic_init_cmdqs()
/linux/drivers/net/ethernet/microsoft/mana/
H A Dgdma_main.c1099 u32 max_wqe_size; in mana_gd_post_work_request() local
1112 max_wqe_size = GDMA_MAX_RQE_SIZE; in mana_gd_post_work_request()
1118 max_wqe_size = GDMA_MAX_SQE_SIZE; in mana_gd_post_work_request()
1124 if (wqe_size > max_wqe_size) in mana_gd_post_work_request()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dparams.c107 u16 max_wqe_size; in mlx5e_mpwrq_log_wqe_sz() local
110 max_wqe_size = mlx5e_get_max_sq_aligned_wqebbs(mdev) * MLX5_SEND_WQE_BB; in mlx5e_mpwrq_log_wqe_sz()
111 max_pages_per_wqe = ALIGN_DOWN(max_wqe_size - sizeof(struct mlx5e_umr_wqe), in mlx5e_mpwrq_log_wqe_sz()