Home
last modified time | relevance | path

Searched refs:shampo (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c535 struct mlx5e_shampo_hd *shampo = rq->mpwqe.shampo; in mlx5e_build_shampo_hd_umr() local
538 struct page *page = shampo->last_page; in mlx5e_build_shampo_hd_umr()
539 u64 addr = shampo->last_addr; in mlx5e_build_shampo_hd_umr()
545 new_entries = klm_entries - (shampo->pi & (MLX5_UMR_KLM_ALIGNMENT - 1)); in mlx5e_build_shampo_hd_umr()
550 build_klm_umr(sq, umr_wqe, shampo->key, index, entries, wqe_bbs); in mlx5e_build_shampo_hd_umr()
553 dma_info = &shampo->info[index]; in mlx5e_build_shampo_hd_umr()
554 if (i >= klm_entries || (index < shampo->pi && shampo->pi - index < in mlx5e_build_shampo_hd_umr()
583 .shampo.len = new_entries, in mlx5e_build_shampo_hd_umr()
586 shampo->pi = (shampo->pi + new_entries) & (shampo->hd_per_wq - 1); in mlx5e_build_shampo_hd_umr()
587 shampo->last_page = page; in mlx5e_build_shampo_hd_umr()
[all …]
Den_main.c241 rq->mpwqe.shampo = kvzalloc_node(sizeof(*rq->mpwqe.shampo), in mlx5e_rq_shampo_hd_alloc()
243 if (!rq->mpwqe.shampo) in mlx5e_rq_shampo_hd_alloc()
250 kvfree(rq->mpwqe.shampo); in mlx5e_rq_shampo_hd_free()
255 struct mlx5e_shampo_hd *shampo = rq->mpwqe.shampo; in mlx5e_rq_shampo_hd_info_alloc() local
257 shampo->bitmap = bitmap_zalloc_node(shampo->hd_per_wq, GFP_KERNEL, in mlx5e_rq_shampo_hd_info_alloc()
259 if (!shampo->bitmap) in mlx5e_rq_shampo_hd_info_alloc()
262 shampo->info = kvzalloc_node(array_size(shampo->hd_per_wq, in mlx5e_rq_shampo_hd_info_alloc()
263 sizeof(*shampo->info)), in mlx5e_rq_shampo_hd_info_alloc()
265 if (!shampo->info) { in mlx5e_rq_shampo_hd_info_alloc()
266 kvfree(shampo->bitmap); in mlx5e_rq_shampo_hd_info_alloc()
[all …]
Den.h298 } shampo; member
715 struct mlx5e_shampo_hd *shampo; member
Dfw.c270 if (MLX5_CAP_GEN(dev, shampo)) { in mlx5_query_hca_caps()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtxrx.h182 return be16_to_cpu(cqe->shampo.header_entry_index) & (rq->mpwqe.shampo->hd_per_wq - 1); in mlx5e_shampo_get_cqe_header_index()
198 struct mlx5e_shampo_umr shampo; member
Dparams.c917 params->packet_merge.shampo.match_criteria_type); in mlx5e_build_rq_param()
919 params->packet_merge.shampo.alignment_granularity); in mlx5e_build_rq_param()
/linux-6.1.9/include/linux/mlx5/
Ddevice.h808 } shampo; member
Dmlx5_ifc.h1461 u8 shampo[0x1]; member