Searched refs:p_rdma_info (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ethernet/qlogic/qed/ |
D | qed_rdma.c | 120 struct qed_rdma_info *p_rdma_info; in qed_rdma_info_alloc() local 122 p_rdma_info = kzalloc(sizeof(*p_rdma_info), GFP_KERNEL); in qed_rdma_info_alloc() 123 if (!p_rdma_info) in qed_rdma_info_alloc() 126 spin_lock_init(&p_rdma_info->lock); in qed_rdma_info_alloc() 128 p_hwfn->p_rdma_info = p_rdma_info; in qed_rdma_info_alloc() 134 kfree(p_hwfn->p_rdma_info); in qed_rdma_info_free() 135 p_hwfn->p_rdma_info = NULL; in qed_rdma_info_free() 140 struct qed_rdma_info *p_rdma_info = p_hwfn->p_rdma_info; in qed_rdma_alloc() local 147 p_rdma_info->proto = PROTOCOLID_IWARP; in qed_rdma_alloc() 149 p_rdma_info->proto = PROTOCOLID_ROCE; in qed_rdma_alloc() [all …]
|
D | qed_iwarp.c | 69 struct qed_rdma_device *dev = p_hwfn->p_rdma_info->dev; in qed_iwarp_init_devinfo() 74 p_hwfn->p_rdma_info->num_qps) - in qed_iwarp_init_devinfo() 96 cid -= qed_cxt_get_proto_cid_start(p_hwfn, p_hwfn->p_rdma_info->proto); in qed_iwarp_cid_cleaned() 98 spin_lock_bh(&p_hwfn->p_rdma_info->lock); in qed_iwarp_cid_cleaned() 101 qed_bmap_release_id(p_hwfn, &p_hwfn->p_rdma_info->tcp_cid_map, in qed_iwarp_cid_cleaned() 104 qed_bmap_release_id(p_hwfn, &p_hwfn->p_rdma_info->cid_map, cid); in qed_iwarp_cid_cleaned() 106 spin_unlock_bh(&p_hwfn->p_rdma_info->lock); in qed_iwarp_cid_cleaned() 115 p_hwfn->p_rdma_info->iwarp.ll2_ooo_handle; in qed_iwarp_init_fw_ramrod() 126 spin_lock_bh(&p_hwfn->p_rdma_info->lock); in qed_iwarp_alloc_cid() 127 rc = qed_rdma_bmap_alloc_id(p_hwfn, &p_hwfn->p_rdma_info->cid_map, cid); in qed_iwarp_alloc_cid() [all …]
|
D | qed_roce.c | 44 struct qed_rdma_events events = p_hwfn->p_rdma_info->events; in qed_roce_async_event() 71 struct qed_bmap *rcid_map = &p_hwfn->p_rdma_info->real_cid_map; in qed_roce_stop() 134 spin_lock_bh(&p_hwfn->p_rdma_info->lock); in qed_roce_free_cid_pair() 135 qed_bmap_release_id(p_hwfn, &p_hwfn->p_rdma_info->cid_map, cid); in qed_roce_free_cid_pair() 136 qed_bmap_release_id(p_hwfn, &p_hwfn->p_rdma_info->cid_map, cid + 1); in qed_roce_free_cid_pair() 137 spin_unlock_bh(&p_hwfn->p_rdma_info->lock); in qed_roce_free_cid_pair() 142 struct qed_rdma_info *p_rdma_info = p_hwfn->p_rdma_info; in qed_roce_alloc_cid() local 147 spin_lock_bh(&p_hwfn->p_rdma_info->lock); in qed_roce_alloc_cid() 148 rc = qed_rdma_bmap_alloc_id(p_hwfn, &p_rdma_info->cid_map, in qed_roce_alloc_cid() 151 spin_unlock_bh(&p_rdma_info->lock); in qed_roce_alloc_cid() [all …]
|
D | qed.h | 593 struct qed_rdma_info *p_rdma_info; member
|
D | qed_dev.c | 1365 rdma_info = p_hwfn->p_rdma_info; in qed_resc_free() 3425 if (p_hwfn->p_rdma_info && in qed_hw_start_fastpath() 3426 p_hwfn->p_rdma_info->active && p_hwfn->b_rdma_enabled_in_prs) in qed_hw_start_fastpath()
|