Home
last modified time | relevance | path

Searched refs:pfault (Results 1 – 6 of 6) sorted by relevance

/drivers/infiniband/hw/mlx5/
Dodp.c292 struct mlx5_pagefault *pfault, in mlx5_ib_page_fault_resume() argument
295 int wq_num = pfault->event_subtype == MLX5_PFAULT_SUBTYPE_WQE ? in mlx5_ib_page_fault_resume()
296 pfault->wqe.wq_num : pfault->token; in mlx5_ib_page_fault_resume()
298 pfault->token, in mlx5_ib_page_fault_resume()
300 pfault->type, in mlx5_ib_page_fault_resume()
781 struct mlx5_pagefault *pfault, in pagefault_data_segments() argument
826 pfault->bytes_committed); in pagefault_data_segments()
833 if (inline_segment || bcnt <= pfault->bytes_committed) { in pagefault_data_segments()
834 pfault->bytes_committed -= in pagefault_data_segments()
836 pfault->bytes_committed); in pagefault_data_segments()
[all …]
Dmlx5_ib.h946 struct mlx5_pagefault *pfault);
Dmain.c4244 .pfault = mlx5_ib_pfault,
/drivers/net/ethernet/mellanox/mlx5/core/
Deq.c203 struct mlx5_pagefault *pfault = container_of(work, in eqe_pf_action() local
206 struct mlx5_eq *eq = pfault->eq; in eqe_pf_action()
208 mlx5_core_page_fault(eq->dev, pfault); in eqe_pf_action()
209 mempool_free(pfault, eq->pf_ctx.pool); in eqe_pf_action()
216 struct mlx5_pagefault *pfault; in eq_pf_process() local
221 pfault = mempool_alloc(eq->pf_ctx.pool, GFP_ATOMIC); in eq_pf_process()
222 if (!pfault) { in eq_pf_process()
229 pfault->event_subtype = eqe->sub_type; in eq_pf_process()
230 pfault->bytes_committed = be32_to_cpu(pf_eqe->bytes_committed); in eq_pf_process()
234 eqe->sub_type, pfault->bytes_committed); in eq_pf_process()
[all …]
Ddev.c144 if (dev_ctx->intf->pfault) { in mlx5_add_device()
145 if (priv->pfault) { in mlx5_add_device()
149 priv->pfault = dev_ctx->intf->pfault; in mlx5_add_device()
184 if (priv->pfault == dev_ctx->intf->pfault) in mlx5_remove_device()
185 priv->pfault = NULL; in mlx5_remove_device()
444 struct mlx5_pagefault *pfault) in mlx5_core_page_fault() argument
450 if (priv->pfault) in mlx5_core_page_fault()
451 priv->pfault(dev, priv->pfault_ctx, pfault); in mlx5_core_page_fault()
Dmlx5_core.h95 struct mlx5_pagefault *pfault);