Lines Matching refs:is_switch
44 static enum smi_action __smi_handle_dr_smp_send(bool is_switch, int port_num, in __smi_handle_dr_smp_send() argument
67 if (!is_switch) in __smi_handle_dr_smp_send()
80 return (is_switch || in __smi_handle_dr_smp_send()
99 if (!is_switch) in __smi_handle_dr_smp_send()
111 return (is_switch || in __smi_handle_dr_smp_send()
130 bool is_switch, int port_num) in smi_handle_dr_smp_send() argument
132 return __smi_handle_dr_smp_send(is_switch, port_num, in smi_handle_dr_smp_send()
142 bool is_switch, int port_num) in opa_smi_handle_dr_smp_send() argument
144 return __smi_handle_dr_smp_send(is_switch, port_num, in opa_smi_handle_dr_smp_send()
155 static enum smi_action __smi_handle_dr_smp_recv(bool is_switch, int port_num, in __smi_handle_dr_smp_recv() argument
176 if (!is_switch) in __smi_handle_dr_smp_recv()
191 return (is_switch || in __smi_handle_dr_smp_recv()
211 if (!is_switch) in __smi_handle_dr_smp_recv()
227 return (is_switch ? IB_SMI_HANDLE : IB_SMI_DISCARD); in __smi_handle_dr_smp_recv()
240 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, bool is_switch, in smi_handle_dr_smp_recv() argument
243 return __smi_handle_dr_smp_recv(is_switch, port_num, phys_port_cnt, in smi_handle_dr_smp_recv()
256 enum smi_action opa_smi_handle_dr_smp_recv(struct opa_smp *smp, bool is_switch, in opa_smi_handle_dr_smp_recv() argument
259 return __smi_handle_dr_smp_recv(is_switch, port_num, phys_port_cnt, in opa_smi_handle_dr_smp_recv()