/drivers/infiniband/hw/mthca/ |
D | mthca_mad.c | 112 if ((mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED || in smp_snoop() 113 mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) && in smp_snoop() 151 if ((mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED || in node_desc_override() 152 mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) && in node_desc_override() 165 int qpn = mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_SUBN_LID_ROUTED; in forward_trap() 221 if (in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED || in mthca_process_mad() 222 in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) { in mthca_process_mad() 236 } else if (in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_PERF_MGMT || in mthca_process_mad() 237 in_mad->mad_hdr.mgmt_class == MTHCA_VENDOR_CLASS1 || in mthca_process_mad() 238 in_mad->mad_hdr.mgmt_class == MTHCA_VENDOR_CLASS2) { in mthca_process_mad() [all …]
|
D | mthca_provider.c | 55 mad->mgmt_class = IB_MGMT_CLASS_SUBN_LID_ROUTED; in init_query_mad()
|
/drivers/infiniband/hw/mlx5/ |
D | mad.c | 72 if (in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED || in mlx5_ib_process_mad() 73 in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) { in mlx5_ib_process_mad() 83 } else if (in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_PERF_MGMT || in mlx5_ib_process_mad() 84 in_mad->mad_hdr.mgmt_class == MLX5_IB_VENDOR_CLASS1 || in mlx5_ib_process_mad() 85 in_mad->mad_hdr.mgmt_class == MLX5_IB_VENDOR_CLASS2 || in mlx5_ib_process_mad() 86 in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_CONG_MGMT) { in mlx5_ib_process_mad() 102 if (in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in mlx5_ib_process_mad()
|
D | mlx5_ib.h | 550 mad->mgmt_class = IB_MGMT_CLASS_SUBN_LID_ROUTED; in init_query_mad()
|
/drivers/infiniband/core/ |
D | mad.c | 84 u8 mgmt_class); 121 static inline u8 convert_mgmt_class(u8 mgmt_class) in convert_mgmt_class() argument 124 return mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE ? in convert_mgmt_class() 125 0 : mgmt_class; in convert_mgmt_class() 141 static int vendor_class_index(u8 mgmt_class) in vendor_class_index() argument 143 return mgmt_class - IB_MGMT_CLASS_VENDOR_RANGE2_START; in vendor_class_index() 146 static int is_vendor_class(u8 mgmt_class) in is_vendor_class() argument 148 if ((mgmt_class < IB_MGMT_CLASS_VENDOR_RANGE2_START) || in is_vendor_class() 149 (mgmt_class > IB_MGMT_CLASS_VENDOR_RANGE2_END)) in is_vendor_class() 186 ((mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_BM) && in ib_response_mad() [all …]
|
D | user_mad.c | 295 offset = ib_get_mad_data_offset(recv_buf->mad->mad_hdr.mgmt_class); in copy_recv_mad() 421 (hdr->mgmt_class != sent_hdr->mgmt_class)) in is_duplicate() 508 hdr_len = ib_get_mad_data_offset(rmpp_mad->mad_hdr.mgmt_class); in ib_umad_write() 510 if (ib_is_mad_class_rmpp(rmpp_mad->mad_hdr.mgmt_class) in ib_umad_write() 564 && ib_is_mad_class_rmpp(rmpp_mad->mad_hdr.mgmt_class) in ib_umad_write() 659 if (ureq.mgmt_class) { in ib_umad_reg_agent() 661 req.mgmt_class = ureq.mgmt_class; in ib_umad_reg_agent() 679 ureq.mgmt_class ? &req : NULL, in ib_umad_reg_agent() 775 if (ureq.mgmt_class) { in ib_umad_reg_agent2() 777 req.mgmt_class = ureq.mgmt_class; in ib_umad_reg_agent2() [all …]
|
D | mad_rmpp.c | 67 u8 mgmt_class; member 139 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class); in ack_recv() 165 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class); in alloc_response_msg() 316 rmpp_recv->mgmt_class = mad_hdr->mgmt_class; in create_rmpp_recv() 336 rmpp_recv->mgmt_class == mad_hdr->mgmt_class && in find_rmpp_recv() 437 hdr_size = ib_get_mad_data_offset(rmpp_mad->mad_hdr.mgmt_class); in get_mad_len() 850 rmpp_recv->mgmt_class != mad_hdr->mgmt_class || in init_newwin()
|
D | sysfs.c | 342 in_mad->mad_hdr.mgmt_class = IB_MGMT_CLASS_PERF_MGMT; in show_pma_counter()
|
D | sa_query.c | 610 mad->mad_hdr.mgmt_class = IB_MGMT_CLASS_SUBN_ADM; in init_mad()
|
D | cm.c | 1002 hdr->mgmt_class = IB_MGMT_CLASS_CM; in cm_format_mad_hdr() 3763 .mgmt_class = IB_MGMT_CLASS_CM, in cm_add_one()
|
/drivers/infiniband/hw/mlx4/ |
D | mad.c | 234 if ((mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED || in smp_snoop() 235 mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) && in smp_snoop() 349 if ((mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED || in node_desc_override() 350 mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) && in node_desc_override() 361 int qpn = mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_SUBN_LID_ROUTED; in forward_trap() 629 if (mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_CM) { in mlx4_ib_demux_mad() 673 switch (mad->mad_hdr.mgmt_class) { in mlx4_ib_demux_mad() 683 slave, mad->mad_hdr.mgmt_class, in mlx4_ib_demux_mad() 706 "for slave:%d\n", mad->mad_hdr.mgmt_class, slave); in mlx4_ib_demux_mad() 739 in_mad->mad_hdr.mgmt_class, in_mad->mad_hdr.method, in ib_process_mad() [all …]
|
D | mcg.c | 282 mad.mad_hdr.mgmt_class = IB_MGMT_CLASS_SUBN_ADM; in send_leave_to_wire() 323 mad.mad_hdr.mgmt_class = IB_MGMT_CLASS_SUBN_ADM; in send_reply_to_slave()
|
D | main.c | 91 mad->mgmt_class = IB_MGMT_CLASS_SUBN_LID_ROUTED; in init_query_mad()
|
/drivers/infiniband/hw/ehca/ |
D | ehca_sqp.c | 229 if (in_mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_PERF_MGMT) in ehca_process_mad()
|
D | ehca_reqs.c | 130 mad_hdr->mgmt_class, in trace_send_wr_ud()
|
/drivers/infiniband/hw/qib/ |
D | qib_mad.h | 252 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() 92 smp->mgmt_class = IB_MGMT_CLASS_SUBN_LID_ROUTED; in qib_send_trap() 185 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) { in qib_bad_mkey() 2410 switch (in_mad->mad_hdr.mgmt_class) { in qib_process_mad()
|
D | qib_ud.c | 505 smp->mgmt_class != IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in qib_ud_rcv()
|
D | qib_iba7322.c | 5511 smp->mgmt_class = IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE; in try_7322_ipg()
|
/drivers/infiniband/hw/ipath/ |
D | ipath_mad.c | 53 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in reply() 1498 switch (in_mad->mad_hdr.mgmt_class) { in ipath_process_mad()
|
D | ipath_ud.c | 469 if (smp->mgmt_class != IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) { in ipath_ud_rcv()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 747 smp->mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED && in mlx4_MAD_IFC_wrapper() 822 if (!(smp->mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED && in mlx4_MAD_IFC_wrapper() 825 slave, smp->method, smp->mgmt_class, in mlx4_MAD_IFC_wrapper()
|
/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 556 reg_req.mgmt_class = IB_MGMT_CLASS_DEVICE_MGMT; in srpt_refresh_port()
|