Home
last modified time | relevance | path

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

/drivers/infiniband/ulp/ipoib/
Dipoib_ib.c346 struct ipoib_qp_state_validate *qp_work = in ipoib_qp_state_validate_work() local
349 struct ipoib_dev_priv *priv = qp_work->priv; in ipoib_qp_state_validate_work()
381 kfree(qp_work); in ipoib_qp_state_validate_work()
416 struct ipoib_qp_state_validate *qp_work; in ipoib_ib_handle_tx_wc() local
420 qp_work = kzalloc(sizeof(*qp_work), GFP_ATOMIC); in ipoib_ib_handle_tx_wc()
421 if (!qp_work) in ipoib_ib_handle_tx_wc()
424 INIT_WORK(&qp_work->work, ipoib_qp_state_validate_work); in ipoib_ib_handle_tx_wc()
425 qp_work->priv = priv; in ipoib_ib_handle_tx_wc()
426 queue_work(priv->wq, &qp_work->work); in ipoib_ib_handle_tx_wc()
/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c3726 struct hns_roce_qp_work *qp_work; in hns_roce_v1_destroy_qp() local
3777 qp_work = kzalloc(sizeof(*qp_work), GFP_KERNEL); in hns_roce_v1_destroy_qp()
3778 if (!qp_work) in hns_roce_v1_destroy_qp()
3781 INIT_WORK(&qp_work->work, hns_roce_v1_destroy_qp_work_fn); in hns_roce_v1_destroy_qp()
3782 qp_work->ib_dev = &hr_dev->ib_dev; in hns_roce_v1_destroy_qp()
3783 qp_work->qp = hr_qp; in hns_roce_v1_destroy_qp()
3784 qp_work->db_wait_stage = qp_work_entry.db_wait_stage; in hns_roce_v1_destroy_qp()
3785 qp_work->sdb_issue_ptr = qp_work_entry.sdb_issue_ptr; in hns_roce_v1_destroy_qp()
3786 qp_work->sdb_inv_cnt = qp_work_entry.sdb_inv_cnt; in hns_roce_v1_destroy_qp()
3787 qp_work->sche_cnt = qp_work_entry.sche_cnt; in hns_roce_v1_destroy_qp()
[all …]