Home
last modified time | relevance | path

Searched refs:opa_smp (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/infiniband/core/
Dopa_smi.h42 enum smi_action opa_smi_handle_dr_smp_recv(struct opa_smp *smp, bool is_switch,
44 int opa_smi_get_fwd_port(struct opa_smp *smp);
45 extern enum smi_forward_action opa_smi_check_forward_dr_smp(struct opa_smp *smp);
46 extern enum smi_action opa_smi_handle_dr_smp_send(struct opa_smp *smp,
53 static inline enum smi_action opa_smi_check_local_smp(struct opa_smp *smp, in opa_smi_check_local_smp()
68 static inline enum smi_action opa_smi_check_local_returning_smp(struct opa_smp *smp, in opa_smi_check_local_returning_smp()
Dsmi.c141 enum smi_action opa_smi_handle_dr_smp_send(struct opa_smp *smp, in opa_smi_handle_dr_smp_send()
256 enum smi_action opa_smi_handle_dr_smp_recv(struct opa_smp *smp, bool is_switch, in opa_smi_handle_dr_smp_recv()
310 enum smi_forward_action opa_smi_check_forward_dr_smp(struct opa_smp *smp) in opa_smi_check_forward_dr_smp()
334 int opa_smi_get_fwd_port(struct opa_smp *smp) in opa_smi_get_fwd_port()
Dmad.c598 struct opa_smp *opa_smp = (struct opa_smp *)smp; in handle_outgoing_dr_smp() local
629 trace_ib_mad_handle_out_opa_smi(opa_smp); in handle_outgoing_dr_smp()
631 if ((opa_get_smp_direction(opa_smp) in handle_outgoing_dr_smp()
632 ? opa_smp->route.dr.dr_dlid : opa_smp->route.dr.dr_slid) == in handle_outgoing_dr_smp()
634 opa_smi_handle_dr_smp_send(opa_smp, in handle_outgoing_dr_smp()
641 opa_drslid = be32_to_cpu(opa_smp->route.dr.dr_slid); in handle_outgoing_dr_smp()
652 if (opa_smi_check_local_smp(opa_smp, device) == IB_SMI_DISCARD && in handle_outgoing_dr_smp()
653 opa_smi_check_local_returning_smp(opa_smp, device) == IB_SMI_DISCARD) in handle_outgoing_dr_smp()
1931 (struct opa_smp *)recv->mad); in generate_unmatched_resp()
1951 struct opa_smp *smp = (struct opa_smp *)recv->mad; in handle_opa_smi()
/linux-6.6.21/include/rdma/
Dopa_smi.h22 struct opa_smp { struct
95 opa_get_smp_direction(struct opa_smp *smp) in opa_get_smp_direction()
100 static inline u8 *opa_get_smp_data(struct opa_smp *smp) in opa_get_smp_data()
108 static inline size_t opa_get_smp_data_size(struct opa_smp *smp) in opa_get_smp_data_size()
116 static inline size_t opa_get_smp_header_size(struct opa_smp *smp) in opa_get_smp_header_size()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dmad.c51 static inline void clear_opa_smp_data(struct opa_smp *smp) in clear_opa_smp_data()
187 struct opa_smp *smp) in subn_handle_opa_trap_repress()
275 struct opa_smp *smp; in send_trap()
540 static int __subn_get_opa_nodedesc(struct opa_smp *smp, u32 am, in __subn_get_opa_nodedesc()
561 static int __subn_get_opa_nodeinfo(struct opa_smp *smp, u32 am, u8 *data, in __subn_get_opa_nodeinfo()
754 static int __subn_get_opa_portinfo(struct opa_smp *smp, u32 am, u8 *data, in __subn_get_opa_portinfo()
979 static int __subn_get_opa_pkeytable(struct opa_smp *smp, u32 am, u8 *data, in __subn_get_opa_pkeytable()
1198 static int set_port_states(struct hfi1_pportdata *ppd, struct opa_smp *smp, in set_port_states()
1309 static int __subn_set_opa_portinfo(struct opa_smp *smp, u32 am, u8 *data, in __subn_set_opa_portinfo()
1678 static int __subn_set_opa_pkeytable(struct opa_smp *smp, u32 am, u8 *data, in __subn_set_opa_pkeytable()
[all …]
Dud.c727 struct rvt_qp *qp, u16 slid, struct opa_smp *smp) in opa_smp_check()
903 struct opa_smp *smp = (struct opa_smp *)data; in hfi1_ud_rcv()
/linux-6.6.21/include/trace/events/
Dib_mad.h295 TP_PROTO(struct opa_smp *smp),
332 TP_PROTO(struct opa_smp *smp),
335 TP_PROTO(struct opa_smp *smp),