Home
last modified time | relevance | path

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

/Linux-v4.19/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.c787 struct opa_smp *opa_smp = (struct opa_smp *)smp; in handle_outgoing_dr_smp() local
818 if ((opa_get_smp_direction(opa_smp) in handle_outgoing_dr_smp()
819 ? opa_smp->route.dr.dr_dlid : opa_smp->route.dr.dr_slid) == in handle_outgoing_dr_smp()
821 opa_smi_handle_dr_smp_send(opa_smp, in handle_outgoing_dr_smp()
828 opa_drslid = be32_to_cpu(opa_smp->route.dr.dr_slid); in handle_outgoing_dr_smp()
839 if (opa_smi_check_local_smp(opa_smp, device) == IB_SMI_DISCARD && in handle_outgoing_dr_smp()
840 opa_smi_check_local_returning_smp(opa_smp, device) == IB_SMI_DISCARD) in handle_outgoing_dr_smp()
2137 (struct opa_smp *)recv->mad); in generate_unmatched_resp()
2157 struct opa_smp *smp = (struct opa_smp *)recv->mad; in handle_opa_smi()
/Linux-v4.19/include/rdma/
Dopa_smi.h49 struct opa_smp { struct
122 opa_get_smp_direction(struct opa_smp *smp) in opa_get_smp_direction()
127 static inline u8 *opa_get_smp_data(struct opa_smp *smp) in opa_get_smp_data()
135 static inline size_t opa_get_smp_data_size(struct opa_smp *smp) in opa_get_smp_data_size()
143 static inline size_t opa_get_smp_header_size(struct opa_smp *smp) in opa_get_smp_header_size()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dmad.c93 static inline void clear_opa_smp_data(struct opa_smp *smp) in clear_opa_smp_data()
229 struct opa_smp *smp) in subn_handle_opa_trap_repress()
317 struct opa_smp *smp; in send_trap()
582 static int __subn_get_opa_nodedesc(struct opa_smp *smp, u32 am, in __subn_get_opa_nodedesc()
603 static int __subn_get_opa_nodeinfo(struct opa_smp *smp, u32 am, u8 *data, in __subn_get_opa_nodeinfo()
796 static int __subn_get_opa_portinfo(struct opa_smp *smp, u32 am, u8 *data, in __subn_get_opa_portinfo()
1021 static int __subn_get_opa_pkeytable(struct opa_smp *smp, u32 am, u8 *data, in __subn_get_opa_pkeytable()
1240 static int set_port_states(struct hfi1_pportdata *ppd, struct opa_smp *smp, in set_port_states()
1351 static int __subn_set_opa_portinfo(struct opa_smp *smp, u32 am, u8 *data, in __subn_set_opa_portinfo()
1720 static int __subn_set_opa_pkeytable(struct opa_smp *smp, u32 am, u8 *data, in __subn_set_opa_pkeytable()
[all …]
Dud.c781 struct rvt_qp *qp, u16 slid, struct opa_smp *smp) in opa_smp_check()
962 struct opa_smp *smp = (struct opa_smp *)data; in hfi1_ud_rcv()