Home
last modified time | relevance | path

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

/drivers/infiniband/hw/mlx5/
Dcq.c551 struct mlx5_ib_wc *soft_wc, *next; in poll_soft_wc() local
554 list_for_each_entry_safe(soft_wc, next, &cq->wc_list, list) { in poll_soft_wc()
562 soft_wc->wc.status = IB_WC_WR_FLUSH_ERR; in poll_soft_wc()
563 soft_wc->wc.vendor_err = MLX5_CQE_SYNDROME_WR_FLUSH_ERR; in poll_soft_wc()
565 wc[npolled++] = soft_wc->wc; in poll_soft_wc()
566 list_del(&soft_wc->list); in poll_soft_wc()
567 kfree(soft_wc); in poll_soft_wc()
1355 struct mlx5_ib_wc *soft_wc; in mlx5_ib_generate_wc() local
1359 soft_wc = kmalloc(sizeof(*soft_wc), GFP_ATOMIC); in mlx5_ib_generate_wc()
1360 if (!soft_wc) in mlx5_ib_generate_wc()
[all …]