Searched refs:hca_attrs (Results 1 – 10 of 10) sorted by relevance
/titanic_44/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_ibt.c | 589 eib_ibt_record_capab(eib_t *ss, ibt_hca_attr_t *hca_attrs, eib_caps_t *caps) in eib_ibt_record_capab() argument 599 (hca_attrs->hca_flags & IBT_HCA_CKSUM_FULL)) { in eib_ibt_record_capab() 608 if (hca_attrs->hca_flags2 & IBT_HCA2_RES_LKEY) { in eib_ibt_record_capab() 610 caps->cp_resv_lkey = hca_attrs->hca_reserved_lkey; in eib_ibt_record_capab() 618 if (hca_attrs->hca_max_lso_size > EIB_LSO_MAXLEN) { in eib_ibt_record_capab() 621 caps->cp_lso_maxlen = hca_attrs->hca_max_lso_size; in eib_ibt_record_capab() 634 if (hca_attrs->hca_flags & IBT_HCA_WQE_SIZE_INFO) { in eib_ibt_record_capab() 635 caps->cp_max_sgl = hca_attrs->hca_ud_send_sgl_sz; in eib_ibt_record_capab() 637 caps->cp_max_sgl = hca_attrs->hca_max_sgl; in eib_ibt_record_capab() 648 if (max_swqe > hca_attrs->hca_max_chan_sz) in eib_ibt_record_capab() [all …]
|
H A D | eib_main.c | 529 ibt_hca_attr_t hca_attrs; in eib_m_getcapab() local 540 &hca_attrs); in eib_m_getcapab() 542 eib_ibt_record_capab(ss, &hca_attrs, &s_caps); in eib_m_getcapab()
|
/titanic_44/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_ibnex.c | 649 ibtl_ibnex_query_hca_byguid(ib_guid_t hca_guid, ibt_hca_attr_t *hca_attrs, in ibtl_ibnex_query_hca_byguid() argument 658 hca_attrs, driver_name, (int)driver_name_size, driver_instance); in ibtl_ibnex_query_hca_byguid() 677 bcopy(hca_devp->hd_hca_attr, hca_attrs, sizeof (ibt_hca_attr_t)); in ibtl_ibnex_query_hca_byguid()
|
H A D | ibtl_hca.c | 571 ibt_query_hca_byguid(ib_guid_t hca_guid, ibt_hca_attr_t *hca_attrs) in ibt_query_hca_byguid() argument 591 bcopy(hca_devp->hd_hca_attr, hca_attrs, sizeof (ibt_hca_attr_t)); in ibt_query_hca_byguid() 614 ibt_query_hca(ibt_hca_hdl_t hca_hdl, ibt_hca_attr_t *hca_attrs) in ibt_query_hca() argument 619 bcopy(hca_hdl->ha_hca_devp->hd_hca_attr, hca_attrs, in ibt_query_hca()
|
/titanic_44/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_impl.c | 830 ibt_hca_attr_t hca_attrs; in ibcm_hca_attach() local 838 status = ibt_query_hca_byguid(hcaguid, &hca_attrs); in ibcm_hca_attach() 844 nports = hca_attrs.hca_nports; in ibcm_hca_attach() 860 hcap->hca_caps = hca_attrs.hca_flags; in ibcm_hca_attach() 861 hcap->hca_vendor_id = hca_attrs.hca_vendor_id; in ibcm_hca_attach() 862 hcap->hca_device_id = hca_attrs.hca_device_id; in ibcm_hca_attach() 863 hcap->hca_ack_delay = hca_attrs.hca_local_ack_delay; in ibcm_hca_attach() 864 hcap->hca_max_rdma_in_qp = hca_attrs.hca_max_rdma_in_qp; in ibcm_hca_attach() 865 hcap->hca_max_rdma_out_qp = hca_attrs.hca_max_rdma_out_qp; in ibcm_hca_attach()
|
/titanic_44/usr/src/uts/common/io/ib/clients/ibd/ |
H A D | ibd.c | 2422 ibt_hca_attr_t hca_attrs; in ibd_record_capab() local 2430 ibt_status = ibt_query_hca(state->id_hca_hdl, &hca_attrs); in ibd_record_capab() 2440 if ((hca_attrs.hca_flags & IBT_HCA_CKSUM_FULL) in ibd_record_capab() 2453 if (hca_attrs.hca_max_lso_size > 0) { in ibd_record_capab() 2455 if (hca_attrs.hca_max_lso_size > IBD_LSO_MAXLEN) in ibd_record_capab() 2459 hca_attrs.hca_max_lso_size; in ibd_record_capab() 2469 if ((hca_attrs.hca_flags2 & IBT_HCA2_RES_LKEY) == IBT_HCA2_RES_LKEY) { in ibd_record_capab() 2471 state->id_res_lkey = hca_attrs.hca_reserved_lkey; in ibd_record_capab() 2482 if (hca_attrs.hca_flags & IBT_HCA_WQE_SIZE_INFO) { in ibd_record_capab() 2483 state->id_max_sqseg = hca_attrs.hca_ud_send_sgl_sz; in ibd_record_capab() [all …]
|
/titanic_44/usr/src/uts/common/rpc/ |
H A D | ib.h | 227 ibt_hca_attr_t hca_attrs; /* HCA attributes */ member
|
H A D | rpcib.c | 830 ibt_status = ibt_query_hca(hca->hca_hdl, &hca->hca_attrs); in rpcib_open_hcas()
|
/titanic_44/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf_impl.c | 316 ibt_hca_attr_t hca_attrs; in ibmf_i_validate_ci_guid_and_port() local 336 status = ibt_query_hca_byguid(hca_guid, &hca_attrs); in ibmf_i_validate_ci_guid_and_port() 349 if (port_num > hca_attrs.hca_nports) { in ibmf_i_validate_ci_guid_and_port() 355 hca_attrs.hca_nports); in ibmf_i_validate_ci_guid_and_port() 414 ibt_hca_attr_t hca_attrs; in ibmf_i_get_ci() local 436 &hca_attrs); in ibmf_i_get_ci() 702 ibt_hca_attr_t hca_attrs; in ibmf_i_init_ci() local 738 status = ibt_query_hca(hca_handle, &hca_attrs); in ibmf_i_init_ci() 763 cip->ci_nports = hca_attrs.hca_nports; in ibmf_i_init_ci() 764 cip->ci_vendor_id = hca_attrs.hca_vendor_id; in ibmf_i_init_ci() [all …]
|
/titanic_44/usr/src/uts/common/sys/ib/ibtl/ |
H A D | ibti_common.h | 747 ibt_status_t ibt_query_hca(ibt_hca_hdl_t hca_hdl, ibt_hca_attr_t *hca_attrs); 750 ibt_hca_attr_t *hca_attrs);
|