/Linux-v5.15/drivers/infiniband/hw/mthca/ |
D | mthca_mad.c | 114 if ((mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED || in smp_snoop() 115 mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) && in smp_snoop() 153 if ((mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED || in node_desc_override() 154 mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) && in node_desc_override() 168 int qpn = mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_SUBN_LID_ROUTED; in forward_trap() 221 if (in->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED || in mthca_process_mad() 222 in->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) { in mthca_process_mad() 236 } else if (in->mad_hdr.mgmt_class == IB_MGMT_CLASS_PERF_MGMT || in mthca_process_mad() 237 in->mad_hdr.mgmt_class == MTHCA_VENDOR_CLASS1 || in mthca_process_mad() 238 in->mad_hdr.mgmt_class == MTHCA_VENDOR_CLASS2) { in mthca_process_mad() [all …]
|
D | mthca_provider.c | 56 mad->mgmt_class = IB_MGMT_CLASS_SUBN_LID_ROUTED; in init_query_mad()
|
/Linux-v5.15/include/trace/events/ |
D | ib_mad.h | 30 __field(u8, mgmt_class) 69 __entry->mgmt_class = 70 ((struct ib_mad_hdr *)wr->send_buf.mad)->mgmt_class; 97 __entry->base_version, __entry->mgmt_class, 128 __field(u8, mgmt_class) 156 __entry->mgmt_class = 157 ((struct ib_mad_hdr *)wr->send_buf.mad)->mgmt_class; 178 __entry->base_version, __entry->mgmt_class, 191 __field(u8, mgmt_class) 216 __entry->mgmt_class = mad_hdr->mgmt_class; [all …]
|
D | ib_umad.h | 39 __field(u8, mgmt_class) 75 __entry->mgmt_class = mad_hdr->mgmt_class; 100 __entry->base_version, __entry->mgmt_class,
|
/Linux-v5.15/drivers/infiniband/core/ |
D | mad.c | 109 u8 mgmt_class); 149 static inline u8 convert_mgmt_class(u8 mgmt_class) in convert_mgmt_class() argument 152 return mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE ? in convert_mgmt_class() 153 0 : mgmt_class; in convert_mgmt_class() 168 static int vendor_class_index(u8 mgmt_class) in vendor_class_index() argument 170 return mgmt_class - IB_MGMT_CLASS_VENDOR_RANGE2_START; in vendor_class_index() 173 static int is_vendor_class(u8 mgmt_class) in is_vendor_class() argument 175 if ((mgmt_class < IB_MGMT_CLASS_VENDOR_RANGE2_START) || in is_vendor_class() 176 (mgmt_class > IB_MGMT_CLASS_VENDOR_RANGE2_END)) in is_vendor_class() 213 ((hdr->mgmt_class == IB_MGMT_CLASS_BM) && in ib_response_mad() [all …]
|
D | user_mad.c | 329 offset = ib_get_mad_data_offset(recv_buf->mad->mad_hdr.mgmt_class); in copy_recv_mad() 471 (hdr->mgmt_class != sent_hdr->mgmt_class)) in is_duplicate() 564 hdr_len = ib_get_mad_data_offset(rmpp_mad->mad_hdr.mgmt_class); in ib_umad_write() 566 if (ib_is_mad_class_rmpp(rmpp_mad->mad_hdr.mgmt_class) in ib_umad_write() 622 && ib_is_mad_class_rmpp(rmpp_mad->mad_hdr.mgmt_class) in ib_umad_write() 720 if (ureq.mgmt_class) { in ib_umad_reg_agent() 722 req.mgmt_class = ureq.mgmt_class; in ib_umad_reg_agent() 740 ureq.mgmt_class ? &req : NULL, in ib_umad_reg_agent() 833 if (ureq.mgmt_class) { in ib_umad_reg_agent2() 835 req.mgmt_class = ureq.mgmt_class; in ib_umad_reg_agent2() [all …]
|
D | mad_rmpp.c | 67 u8 mgmt_class; member 136 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class); in ack_recv() 163 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class); in alloc_response_msg() 312 rmpp_recv->mgmt_class = mad_hdr->mgmt_class; in create_rmpp_recv() 333 rmpp_recv->mgmt_class == mad_hdr->mgmt_class && in find_rmpp_recv() 436 hdr_size = ib_get_mad_data_offset(rmpp_mad->mad_hdr.mgmt_class); in get_mad_len() 857 rmpp_recv->mgmt_class != mad_hdr->mgmt_class || in init_newwin()
|
/Linux-v5.15/samples/bpf/ |
D | ibumad_kern.c | 64 u8 mgmt_class; member 81 u8 class = ctx->mgmt_class; in on_ib_umad_read_recv() 101 u8 class = ctx->mgmt_class; in on_ib_umad_read_send() 121 u8 class = ctx->mgmt_class; in on_ib_umad_write()
|
/Linux-v5.15/include/rdma/ |
D | opa_smi.h | 24 u8 mgmt_class; member 102 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in opa_get_smp_data() 110 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in opa_get_smp_data_size() 118 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in opa_get_smp_header_size()
|
D | ib_mad.h | 139 u8 mgmt_class; member 645 u8 mgmt_class; member 783 int ib_is_mad_class_rmpp(u8 mgmt_class); 793 int ib_get_mad_data_offset(u8 mgmt_class);
|
D | ib_smi.h | 20 u8 mgmt_class; member
|
/Linux-v5.15/include/uapi/rdma/ |
D | ib_user_mad.h | 189 __u8 mgmt_class; member 224 __u8 mgmt_class; member
|
/Linux-v5.15/drivers/infiniband/hw/mlx4/ |
D | mad.c | 231 if ((mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED || in smp_snoop() 232 mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) && in smp_snoop() 372 if ((mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED || in node_desc_override() 373 mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) && in node_desc_override() 386 int qpn = mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_SUBN_LID_ROUTED; in forward_trap() 707 if (mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_CM) { in mlx4_ib_demux_mad() 770 switch (mad->mad_hdr.mgmt_class) { in mlx4_ib_demux_mad() 780 slave, mad->mad_hdr.mgmt_class, in mlx4_ib_demux_mad() 803 "for slave:%d\n", mad->mad_hdr.mgmt_class, slave); in mlx4_ib_demux_mad() 837 if (in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED || in ib_process_mad() [all …]
|
D | mcg.c | 287 mad.mad_hdr.mgmt_class = IB_MGMT_CLASS_SUBN_ADM; in send_leave_to_wire() 328 mad.mad_hdr.mgmt_class = IB_MGMT_CLASS_SUBN_ADM; in send_reply_to_slave()
|
/Linux-v5.15/drivers/infiniband/hw/mlx5/ |
D | mad.c | 48 if (in_mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_SUBN_LID_ROUTED && in can_do_mad_ifc() 49 in_mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in can_do_mad_ifc() 225 u8 mgmt_class = in->mad_hdr.mgmt_class; in mlx5_ib_process_mad() local 236 switch (mgmt_class) { in mlx5_ib_process_mad() 272 if (mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in mlx5_ib_process_mad()
|
/Linux-v5.15/drivers/infiniband/hw/qib/ |
D | qib_mad.h | 121 u8 mgmt_class; member
|
D | qib_mad.c | 47 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in reply() 59 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in reply_failure() 94 smp->mgmt_class = IB_MGMT_CLASS_SUBN_LID_ROUTED; in qib_send_trap() 184 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) { in qib_bad_mkey() 2372 switch (in->mad_hdr.mgmt_class) { in qib_process_mad()
|
D | qib_ud.c | 500 smp->mgmt_class != IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in qib_ud_rcv()
|
/Linux-v5.15/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_ah.c | 261 if (in->mad_hdr.mgmt_class == IB_MGMT_CLASS_PERF_MGMT) { in ocrdma_process_mad()
|
/Linux-v5.15/drivers/infiniband/hw/hfi1/ |
D | ud.c | 746 if (smp->mgmt_class != IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE && in opa_smp_check() 747 smp->mgmt_class != IB_MGMT_CLASS_SUBN_LID_ROUTED) { in opa_smp_check() 911 smp->mgmt_class != IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in hfi1_ud_rcv()
|
D | mad.c | 46 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in reply() 312 smp->mgmt_class = IB_MGMT_CLASS_SUBN_LID_ROUTED; in send_trap() 455 if (mad->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) { in bad_mkey() 4359 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) { in is_local_mad() 4797 switch (in_mad->mad_hdr.mgmt_class) { in hfi1_process_opa_mad() 4838 switch (in_mad->mad_hdr.mgmt_class) { in hfi1_process_ib_mad()
|
/Linux-v5.15/drivers/infiniband/ulp/opa_vnic/ |
D | opa_vnic_vema.c | 808 trap_mad->mad_hdr.mgmt_class = OPA_MGMT_CLASS_INTEL_EMA; in opa_vnic_vema_send_trap() 924 .mgmt_class = OPA_MGMT_CLASS_INTEL_EMA, in vema_register()
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 919 smp->mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED && in mlx4_MAD_IFC_wrapper() 1010 if (!(smp->mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED && in mlx4_MAD_IFC_wrapper() 1013 slave, smp->mgmt_class, smp->method, in mlx4_MAD_IFC_wrapper()
|
D | port.c | 2052 inmad->mgmt_class = 0x1; in mlx4_get_module_id() 2170 inmad->mgmt_class = 0x1; in mlx4_get_module_info()
|
/Linux-v5.15/include/linux/mlx4/ |
D | device.h | 999 u8 mgmt_class; member
|