Searched refs:opa_smp (Results 1 – 6 of 6) sorted by relevance
| /linux-4.4.14/drivers/infiniband/core/ |
| D | opa_smi.h | 42 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()
|
| D | smi.c | 141 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()
|
| D | mad.c | 746 struct opa_smp *opa_smp = (struct opa_smp *)smp; in handle_outgoing_dr_smp() local 777 if ((opa_get_smp_direction(opa_smp) in handle_outgoing_dr_smp() 778 ? opa_smp->route.dr.dr_dlid : opa_smp->route.dr.dr_slid) == in handle_outgoing_dr_smp() 780 opa_smi_handle_dr_smp_send(opa_smp, in handle_outgoing_dr_smp() 787 opa_drslid = be32_to_cpu(opa_smp->route.dr.dr_slid); in handle_outgoing_dr_smp() 798 if (opa_smi_check_local_smp(opa_smp, device) == IB_SMI_DISCARD && in handle_outgoing_dr_smp() 799 opa_smi_check_local_returning_smp(opa_smp, device) == IB_SMI_DISCARD) in handle_outgoing_dr_smp() 2091 (struct opa_smp *)recv->mad); in generate_unmatched_resp() 2111 struct opa_smp *smp = (struct opa_smp *)recv->mad; in handle_opa_smi()
|
| /linux-4.4.14/include/rdma/ |
| D | opa_smi.h | 51 struct opa_smp { struct 124 opa_get_smp_direction(struct opa_smp *smp) in opa_get_smp_direction() 129 static inline u8 *opa_get_smp_data(struct opa_smp *smp) in opa_get_smp_data() 137 static inline size_t opa_get_smp_data_size(struct opa_smp *smp) in opa_get_smp_data_size() 145 static inline size_t opa_get_smp_header_size(struct opa_smp *smp) in opa_get_smp_header_size()
|
| /linux-4.4.14/drivers/staging/rdma/hfi1/ |
| D | mad.c | 75 static inline void clear_opa_smp_data(struct opa_smp *smp) in clear_opa_smp_data() 293 static int __subn_get_opa_nodedesc(struct opa_smp *smp, u32 am, in __subn_get_opa_nodedesc() 314 static int __subn_get_opa_nodeinfo(struct opa_smp *smp, u32 am, u8 *data, in __subn_get_opa_nodeinfo() 513 static int __subn_get_opa_portinfo(struct opa_smp *smp, u32 am, u8 *data, in __subn_get_opa_portinfo() 730 static int __subn_get_opa_pkeytable(struct opa_smp *smp, u32 am, u8 *data, in __subn_get_opa_pkeytable() 936 static int set_port_states(struct hfi1_pportdata *ppd, struct opa_smp *smp, in set_port_states() 1036 static int __subn_set_opa_portinfo(struct opa_smp *smp, u32 am, u8 *data, in __subn_set_opa_portinfo() 1397 static int __subn_set_opa_pkeytable(struct opa_smp *smp, u32 am, u8 *data, in __subn_set_opa_pkeytable() 1486 static int __subn_get_opa_sl_to_sc(struct opa_smp *smp, u32 am, u8 *data, in __subn_get_opa_sl_to_sc() 1509 static int __subn_set_opa_sl_to_sc(struct opa_smp *smp, u32 am, u8 *data, in __subn_set_opa_sl_to_sc() [all …]
|
| D | ud.c | 553 struct hfi1_qp *qp, u16 slid, struct opa_smp *smp) in opa_smp_check() 768 struct opa_smp *smp = (struct opa_smp *)data; in hfi1_ud_rcv()
|