Lines Matching refs:soft_wc
575 struct mlx5_ib_wc *soft_wc, *next; in poll_soft_wc() local
578 list_for_each_entry_safe(soft_wc, next, &cq->wc_list, list) { in poll_soft_wc()
586 soft_wc->wc.status = IB_WC_WR_FLUSH_ERR; in poll_soft_wc()
587 soft_wc->wc.vendor_err = MLX5_CQE_SYNDROME_WR_FLUSH_ERR; in poll_soft_wc()
589 wc[npolled++] = soft_wc->wc; in poll_soft_wc()
590 list_del(&soft_wc->list); in poll_soft_wc()
591 kfree(soft_wc); in poll_soft_wc()
1390 struct mlx5_ib_wc *soft_wc; in mlx5_ib_generate_wc() local
1394 soft_wc = kmalloc(sizeof(*soft_wc), GFP_ATOMIC); in mlx5_ib_generate_wc()
1395 if (!soft_wc) in mlx5_ib_generate_wc()
1398 soft_wc->wc = *wc; in mlx5_ib_generate_wc()
1400 list_add_tail(&soft_wc->list, &cq->wc_list); in mlx5_ib_generate_wc()