Home
last modified time | relevance | path

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

/freebsd/sys/dev/bnxt/bnxt_re/
H A Dib_verbs.c152 struct bnxt_qplib_dev_attr *dev_attr = rdev->dev_attr; in bnxt_re_query_device() local
156 memcpy(&ib_attr->fw_ver, dev_attr->fw_ver, 4); in bnxt_re_query_device()
159 ib_attr->page_size_cap = dev_attr->page_size_cap; in bnxt_re_query_device()
163 ib_attr->max_qp = dev_attr->max_qp; in bnxt_re_query_device()
164 ib_attr->max_qp_wr = dev_attr->max_qp_wqes; in bnxt_re_query_device()
170 min_tx_depth < dev_attr->max_qp_wqes) in bnxt_re_query_device()
184 ib_attr->max_send_sge = dev_attr->max_qp_sges; in bnxt_re_query_device()
185 ib_attr->max_recv_sge = dev_attr->max_qp_sges; in bnxt_re_query_device()
186 ib_attr->max_sge_rd = dev_attr->max_qp_sges; in bnxt_re_query_device()
187 ib_attr->max_cq = dev_attr->max_cq; in bnxt_re_query_device()
[all …]
H A Dstats.c368 if (bnxt_ext_stats_supported(rdev->chip_ctx, rdev->dev_attr->dev_cap_flags, in bnxt_re_get_device_stats()
598 if (bnxt_ext_stats_supported(rdev->chip_ctx, rdev->dev_attr->dev_cap_flags, in bnxt_re_print_normal_counters()
664 stats->value[BNXT_RE_MAX_QP] = rdev->dev_attr->max_qp; in bnxt_re_get_hw_stats()
665 stats->value[BNXT_RE_MAX_SRQ] = rdev->dev_attr->max_srq; in bnxt_re_get_hw_stats()
666 stats->value[BNXT_RE_MAX_CQ] = rdev->dev_attr->max_cq; in bnxt_re_get_hw_stats()
667 stats->value[BNXT_RE_MAX_MR] = rdev->dev_attr->max_mr; in bnxt_re_get_hw_stats()
668 stats->value[BNXT_RE_MAX_MW] = rdev->dev_attr->max_mw; in bnxt_re_get_hw_stats()
669 stats->value[BNXT_RE_MAX_AH] = rdev->dev_attr->max_ah; in bnxt_re_get_hw_stats()
670 stats->value[BNXT_RE_MAX_PD] = rdev->dev_attr->max_pd; in bnxt_re_get_hw_stats()
690 stats->value[BNXT_RE_HW_RETRANSMISSION] = BNXT_RE_HW_RETX(rdev->dev_attr->dev_cap_flags) ? 1 : 0; in bnxt_re_get_hw_stats()
[all …]
H A Dqplib_res.c950 struct bnxt_qplib_dev_attr *dev_attr, in bnxt_qplib_alloc_dpi_tbl() argument
964 dbr_offset = dev_attr->l2_db_size; in bnxt_qplib_alloc_dpi_tbl()
971 if (dev_attr->max_dpi) in bnxt_qplib_alloc_dpi_tbl()
972 dpit->max = min_t(u32, dpit->max, dev_attr->max_dpi); in bnxt_qplib_alloc_dpi_tbl()
1086 struct bnxt_qplib_dev_attr *dev_attr; in bnxt_qplib_alloc_tbls() local
1089 dev_attr = res->dattr; in bnxt_qplib_alloc_tbls()
1091 rc = bnxt_qplib_alloc_reftbls(res, dev_attr); in bnxt_qplib_alloc_tbls()
1095 rc = bnxt_qplib_alloc_sgid_tbl(res, dev_attr->max_sgid); in bnxt_qplib_alloc_tbls()
1099 rc = bnxt_qplib_alloc_pd_tbl(res, dev_attr->max_pd); in bnxt_qplib_alloc_tbls()
1103 rc = bnxt_qplib_alloc_dpi_tbl(res, dev_attr, pppp_factor); in bnxt_qplib_alloc_tbls()
H A Dmain.c243 attr = rdev->dev_attr; in bnxt_re_limit_pf_res()
1481 kfree(rdev->dev_attr); in bnxt_re_destroy_chip_ctx()
1482 rdev->dev_attr = NULL; in bnxt_re_destroy_chip_ctx()
1513 rdev->dev_attr = kzalloc(sizeof(*rdev->dev_attr), GFP_KERNEL); in bnxt_re_setup_chip_ctx()
1514 if (!rdev->dev_attr) { in bnxt_re_setup_chip_ctx()
1518 rdev->qplib_res.dattr = rdev->dev_attr; in bnxt_re_setup_chip_ctx()
1545 kfree(rdev->dev_attr); in bnxt_re_setup_chip_ctx()
1546 rdev->dev_attr = NULL; in bnxt_re_setup_chip_ctx()
2511 attr = rdev->dev_attr; in bnxt_re_check_min_attr()
3247 !_is_ext_stats_supported(rdev->dev_attr->dev_cap_flags))) { in bnxt_re_worker()
H A Dbnxt_re.h521 struct bnxt_qplib_dev_attr *dev_attr; member
/freebsd/sys/dev/iser/
H A Diser_verbs.c423 struct ib_device_attr *dev_attr; in iser_create_ib_conn_res() local
430 dev_attr = &device->dev_attr; in iser_create_ib_conn_res()
455 if (dev_attr->max_qp_wr > ISER_QP_MAX_REQ_DTOS) { in iser_create_ib_conn_res()
460 init_attr.cap.max_send_wr = dev_attr->max_qp_wr; in iser_create_ib_conn_res()
462 ISER_GET_MAX_XMIT_CMDS(dev_attr->max_qp_wr); in iser_create_ib_conn_res()
465 device->ib_device->name, dev_attr->max_qp_wr); in iser_create_ib_conn_res()
745 conn_param.responder_resources = device->dev_attr.max_qp_rd_atom; in iser_route_handler()
H A Dicl_iser.h352 struct ib_device_attr dev_attr; member
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dthermal.c120 &sensor_dev_attr_temp1_input.dev_attr.attr,
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dthermal.c121 &sensor_dev_attr_temp1_input.dev_attr.attr,
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dinit.c117 &sensor_dev_attr_temp1_input.dev_attr.attr,
118 &sensor_dev_attr_temp1_crit.dev_attr.attr,
119 &sensor_dev_attr_temp1_max.dev_attr.attr,
120 &sensor_dev_attr_throttle1.dev_attr.attr,
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dinit.c40 &sensor_dev_attr_temp1_input.dev_attr.attr,
/freebsd/sys/contrib/ena-com/
H A Dena_com.h438 struct ena_admin_device_attr_feature_desc dev_attr; member
H A Dena_com.c2345 memcpy(&get_feat_ctx->dev_attr, &get_resp.u.dev_attr, in ena_com_get_dev_attr_feat()
2346 sizeof(get_resp.u.dev_attr)); in ena_com_get_dev_attr_feat()
2348 ena_dev->supported_features = get_resp.u.dev_attr.supported_features; in ena_com_get_dev_attr_feat()
2349 ena_dev->capabilities = get_resp.u.dev_attr.capabilities; in ena_com_get_dev_attr_feat()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dinit.c44 &sensor_dev_attr_temp1_input.dev_attr.attr,
/freebsd/sys/dev/ena/
H A Dena.c3588 if (memcmp(get_feat_ctx->dev_attr.mac_addr, adapter->mac_addr, in ena_device_validate_params()
3594 if (get_feat_ctx->dev_attr.max_mtu < if_getmtu(adapter->ifp)) { in ena_device_validate_params()
3863 memcpy(adapter->mac_addr, get_feat_ctx.dev_attr.mac_addr, in ena_attach()
3890 adapter->max_mtu = get_feat_ctx.dev_attr.max_mtu; in ena_attach()
/freebsd/sys/contrib/ena-com/ena_defs/
H A Dena_admin_defs.h1143 struct ena_admin_device_attr_feature_desc dev_attr; member
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_sysfs.c1215 struct device_attribute *dev_attr, char *buf) in show_sys_image_guid() argument