Searched refs:attr_id (Results 26 - 50 of 76) sorted by relevance

1234

/freebsd-13-stable/sys/ofed/include/rdma/
H A Dopa_smi.h64 __be16 attr_id; member in struct:opa_smp
H A Dib_smi.h58 __be16 attr_id; member in struct:ib_smp
H A Dib_mad.h176 __be16 attr_id; member in struct:ib_mad_hdr
364 __be16 attr_id; member in struct:ib_mad_notice_attr::__anon15531::__anon15536
/freebsd-13-stable/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_ibumad.c113 cl_ntoh16(p_madw->p_mad->attr_id),
126 cl_ntoh16(p_madw->p_mad->attr_id),
415 cl_ntoh16(p_mad->attr_id),
445 cl_ntoh16(p_mad->attr_id),
463 (p_mad->attr_id != p_req_mad->attr_id &&
465 p_req_mad->attr_id ==
467 p_mad->attr_id == IB_MAD_ATTR_PATH_RECORD)) ||
477 cl_ntoh16(p_req_mad->attr_id),
480 cl_ntoh16(p_mad->attr_id),
[all...]
H A Dosm_vendor_mlx_sim.c107 cl_ntoh16(p_mad->header.attr_id),
296 cl_ntoh16(mad_msg.header.attr_id),
/freebsd-13-stable/contrib/ofed/infiniband-diags/src/
H A Dvendstat.c179 uint8_t class, uint8_t method, uint16_t attr_id,
188 call.attrid = attr_id;
192 fprintf(stderr,"vendstat: method %u, attribute %u failure\n", method, attr_id);
178 do_vendor(ib_portid_t *portid, struct ibmad_port *srcport, uint8_t class, uint8_t method, uint16_t attr_id, uint32_t attr_mod, void *data) argument
H A Dsaquery.c802 uint16_t attr_id, uint32_t attr_mod,
807 int ret = sa_query(h, IB_MAD_METHOD_GET_TABLE, attr_id, attr_mod,
822 static int get_and_dump_any_records(struct sa_handle * h, uint16_t attr_id, argument
831 int ret = get_any_records(h, attr_id, attr_mod, comp_mask, attr,
844 static int get_all_records(struct sa_handle * h, uint16_t attr_id, argument
847 return get_any_records(h, attr_id, 0, 0, NULL, 0, result);
850 static int get_and_dump_all_records(struct sa_handle * h, uint16_t attr_id, argument
856 int ret = get_all_records(h, attr_id, &result);
801 get_any_records(struct sa_handle * h, uint16_t attr_id, uint32_t attr_mod, ib_net64_t comp_mask, void *attr, size_t attr_size, struct sa_query_result *result) argument
H A Dibsendtrap.c133 n->data_details.ntc_256.attr_id = cl_ntoh16(0x15);
/freebsd-13-stable/contrib/ofed/opensm/opensm/
H A Dosm_sa_class_port_info.c212 CL_ASSERT(p_sa_mad->attr_id == IB_MAD_ATTR_CLASS_PORT_INFO);
H A Dosm_slvl_map_rcv.c93 CL_ASSERT(p_smp->attr_id == IB_MAD_ATTR_SLVL_TABLE);
H A Dosm_qos.c87 IN ib_net16_t attr_id,
106 switch (attr_id){
129 attr_id, cl_hton32(attr_mod),
83 osm_qos_mad_create(IN osm_sm_t * sm, IN osm_physp_t * p, IN uint32_t data_size, IN uint8_t * p_data, IN ib_net16_t attr_id, IN uint32_t attr_mod) argument
H A Dosm_sa_lft_record.c195 CL_ASSERT(p_rcvd_mad->attr_id == IB_MAD_ATTR_LFT_RECORD);
H A Dosm_sa_mft_record.c228 CL_ASSERT(p_rcvd_mad->attr_id == IB_MAD_ATTR_MFT_RECORD);
H A Dosm_sa_slvl_record.c223 CL_ASSERT(p_rcvd_mad->attr_id == IB_MAD_ATTR_SLVL_RECORD);
H A Dosm_sa_sw_info_record.c213 CL_ASSERT(sad_mad->attr_id == IB_MAD_ATTR_SWITCH_INFO_RECORD);
H A Dosm_sa_vlarb_record.c230 CL_ASSERT(sad_mad->attr_id == IB_MAD_ATTR_VLARB_RECORD);
H A Dosm_perfmgr.c394 ib_net16_t attr_id,
424 pm_mad->header.attr_id = attr_id;
1802 CL_ASSERT(p_mad->attr_id == IB_MAD_ATTR_PORT_CNTRS ||
1803 p_mad->attr_id == IB_MAD_ATTR_PORT_CNTRS_EXT ||
1804 p_mad->attr_id == IB_MAD_ATTR_CLASS_PORT_INFO);
1819 if (p_mad->attr_id == IB_MAD_ATTR_CLASS_PORT_INFO) {
1849 if (p_mad->attr_id == IB_MAD_ATTR_PORT_CNTRS_EXT) {
388 perfmgr_build_mad(osm_perfmgr_t * perfmgr, ib_net16_t dest_lid, uint8_t sl, ib_net32_t dest_qp, uint16_t pkey_ix, uint8_t mad_method, ib_net16_t attr_id, osm_madw_context_t * p_context, ib_perfmgt_mad_t ** p_pm_mad) argument
H A Dosm_sa_informinfo.c600 CL_ASSERT(p_sa_mad->attr_id == IB_MAD_ATTR_INFORM_INFO);
628 CL_ASSERT(p_sa_mad->attr_id == IB_MAD_ATTR_INFORM_INFO_RECORD);
H A Dosm_sa_node_record.c303 CL_ASSERT(p_rcvd_mad->attr_id == IB_MAD_ATTR_NODE_RECORD);
H A Dosm_sa_pkey_record.c235 CL_ASSERT(p_rcvd_mad->attr_id == IB_MAD_ATTR_PKEY_TBL_RECORD);
/freebsd-13-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_mad.c231 switch (mad->mad_hdr.attr_id) {
371 mad->mad_hdr.attr_id == IB_SMP_ATTR_NODE_DESC) {
418 switch (be16_to_cpu(sa_mad->mad_hdr.attr_id)) {
780 be16_to_cpu(in_mad->mad_hdr.attr_id));
808 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_SM_INFO)
823 in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO &&
854 __be16 attr_id)
856 switch (attr_id) {
911 if (in_mad->mad_hdr.attr_id == IB_PMA_CLASS_PORT_INFO)
936 in_mad->mad_hdr.attr_id);
853 edit_counter(struct mlx4_counter *cnt, void *counters, __be16 attr_id) argument
[all...]
/freebsd-13-stable/sys/dev/mthca/
H A Dmthca_provider.c80 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO;
151 in_mad->attr_id = IB_SMP_ATTR_PORT_INFO;
245 in_mad->attr_id = IB_SMP_ATTR_PKEY_TABLE;
274 in_mad->attr_id = IB_SMP_ATTR_PORT_INFO;
285 in_mad->attr_id = IB_SMP_ATTR_GUID_INFO;
1135 in_mad->attr_id = IB_SMP_ATTR_NODE_DESC;
1144 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO;
/freebsd-13-stable/sys/ofed/drivers/infiniband/core/
H A Dib_sa_query.c940 mad->mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_PATH_REC);
1065 mad->mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_SERVICE_REC);
1157 mad->mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_MC_MEMBER_REC);
1255 mad->mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_GUID_INFO_REC);
1374 mad->mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_CLASS_PORTINFO);
H A Dib_sysfs.c88 __be16 attr_id; member in struct:port_table_attribute
425 .attr_id = IB_PMA_PORT_COUNTERS , \
432 .attr_id = IB_PMA_PORT_COUNTERS_EXT , \
462 in_mad->mad_hdr.attr_id = attr;
495 ret = get_perf_mad(p->ibdev, p->port_num, tab_attr->attr_id, &data,
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
H A Dsa.c967 sa_attr_type_t attr_id; local
969 attr_id = sa->sa_user_table[i];
970 if (tb[attr_id].sa_name)
973 tb[attr_id].sa_length = reg_attrs[i].sa_length;
974 tb[attr_id].sa_byteswap = reg_attrs[i].sa_byteswap;
975 tb[attr_id].sa_attr = attr_id;
976 tb[attr_id].sa_name =
978 (void) strlcpy(tb[attr_id].sa_name, reg_attrs[i].sa_name,

Completed in 135 milliseconds

1234