Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c2161 struct hns_roce_query_pf_caps_d *resp_d; in hns_roce_query_caps() local
2187 resp_d = (struct hns_roce_query_pf_caps_d *)desc[3].data; in hns_roce_query_caps()
2221 caps->flags |= le16_to_cpu(resp_d->cap_flags_ex) << in hns_roce_query_caps()
2234 caps->num_srqs = 1 << hr_reg_read(resp_d, PF_CAPS_D_NUM_SRQS); in hns_roce_query_caps()
2235 caps->cong_cap = hr_reg_read(resp_d, PF_CAPS_D_CONG_CAP); in hns_roce_query_caps()
2236 caps->max_srq_wrs = 1 << le16_to_cpu(resp_d->srq_depth); in hns_roce_query_caps()
2237 caps->ceqe_depth = 1 << hr_reg_read(resp_d, PF_CAPS_D_CEQ_DEPTH); in hns_roce_query_caps()
2238 caps->num_comp_vectors = hr_reg_read(resp_d, PF_CAPS_D_NUM_CEQS); in hns_roce_query_caps()
2239 caps->aeqe_depth = 1 << hr_reg_read(resp_d, PF_CAPS_D_AEQ_DEPTH); in hns_roce_query_caps()
2240 caps->default_cong_type = hr_reg_read(resp_d, PF_CAPS_D_DEFAULT_ALG); in hns_roce_query_caps()
[all …]