Lines Matching refs:wc
37 struct ib_wc wc; member
61 WARN_ON_ONCE(mlx5_ib_generate_wc(gsi_cq, &wr->wc)); in generate_completions()
68 static void handle_single_completion(struct ib_cq *cq, struct ib_wc *wc) in handle_single_completion() argument
72 container_of(wc->wr_cqe, struct mlx5_ib_gsi_wr, cqe); in handle_single_completion()
79 wr_id = wr->wc.wr_id; in handle_single_completion()
80 wr->wc = *wc; in handle_single_completion()
81 wr->wc.wr_id = wr_id; in handle_single_completion()
82 wr->wc.qp = &mqp->ibqp; in handle_single_completion()
360 struct ib_ud_wr *wr, struct ib_wc *wc) in mlx5_ib_add_outstanding_wr() argument
375 if (!wc) { in mlx5_ib_add_outstanding_wr()
376 memset(&gsi_wr->wc, 0, sizeof(gsi_wr->wc)); in mlx5_ib_add_outstanding_wr()
377 gsi_wr->wc.pkey_index = wr->pkey_index; in mlx5_ib_add_outstanding_wr()
378 gsi_wr->wc.wr_id = wr->wr.wr_id; in mlx5_ib_add_outstanding_wr()
380 gsi_wr->wc = *wc; in mlx5_ib_add_outstanding_wr()
393 struct ib_wc wc = { in mlx5_ib_gsi_silent_drop() local
401 ret = mlx5_ib_add_outstanding_wr(mqp, wr, &wc); in mlx5_ib_gsi_silent_drop()