Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/huawei/hinic/
A Dhinic_hw_wq.h31 u16 max_wqe_size; member
80 u16 q_depth, u16 max_wqe_size);
92 u16 max_wqe_size);
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()
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-6.3-rc2/drivers/net/ethernet/microsoft/mana/
A Dgdma_main.c1066 u32 max_wqe_size; in mana_gd_post_work_request() local
1079 max_wqe_size = GDMA_MAX_RQE_SIZE; in mana_gd_post_work_request()
1085 max_wqe_size = GDMA_MAX_SQE_SIZE; in mana_gd_post_work_request()
1091 if (wqe_size > max_wqe_size) in mana_gd_post_work_request()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dparams.c105 u16 max_wqe_size; in mlx5e_mpwrq_log_wqe_sz() local
108 max_wqe_size = mlx5e_get_max_sq_aligned_wqebbs(mdev) * MLX5_SEND_WQE_BB; in mlx5e_mpwrq_log_wqe_sz()
109 max_pages_per_wqe = ALIGN_DOWN(max_wqe_size - sizeof(struct mlx5e_umr_wqe), in mlx5e_mpwrq_log_wqe_sz()

Completed in 18 milliseconds