opa_smp
(struct opa_smp *)recv->mad);
struct opa_smp *smp = (struct opa_smp *)recv->mad;
struct opa_smp *opa_smp = (struct opa_smp *)smp;
trace_ib_mad_handle_out_opa_smi(opa_smp);
if ((opa_get_smp_direction(opa_smp)
? opa_smp->route.dr.dr_dlid : opa_smp->route.dr.dr_slid) ==
opa_smi_handle_dr_smp_send(opa_smp,
opa_drslid = be32_to_cpu(opa_smp->route.dr.dr_slid);
if (opa_smi_check_local_smp(opa_smp, device) == IB_SMI_DISCARD &&
opa_smi_check_local_returning_smp(opa_smp, device) == IB_SMI_DISCARD)
enum smi_action opa_smi_handle_dr_smp_recv(struct opa_smp *smp, bool is_switch,
int opa_smi_get_fwd_port(struct opa_smp *smp);
extern enum smi_forward_action opa_smi_check_forward_dr_smp(struct opa_smp *smp);
extern enum smi_action opa_smi_handle_dr_smp_send(struct opa_smp *smp,
static inline enum smi_action opa_smi_check_local_smp(struct opa_smp *smp,
static inline enum smi_action opa_smi_check_local_returning_smp(struct opa_smp *smp,
enum smi_action opa_smi_handle_dr_smp_send(struct opa_smp *smp,
enum smi_action opa_smi_handle_dr_smp_recv(struct opa_smp *smp, bool is_switch,
enum smi_forward_action opa_smi_check_forward_dr_smp(struct opa_smp *smp)
int opa_smi_get_fwd_port(struct opa_smp *smp)
static int set_port_states(struct hfi1_pportdata *ppd, struct opa_smp *smp,
static int __subn_set_opa_portinfo(struct opa_smp *smp, u32 am, u8 *data,
static int __subn_set_opa_pkeytable(struct opa_smp *smp, u32 am, u8 *data,
static int __subn_get_opa_sl_to_sc(struct opa_smp *smp, u32 am, u8 *data,
static int __subn_set_opa_sl_to_sc(struct opa_smp *smp, u32 am, u8 *data,
static int __subn_get_opa_sc_to_sl(struct opa_smp *smp, u32 am, u8 *data,
static int __subn_set_opa_sc_to_sl(struct opa_smp *smp, u32 am, u8 *data,
struct opa_smp *smp)
static int __subn_get_opa_sc_to_vlt(struct opa_smp *smp, u32 am, u8 *data,
static int __subn_set_opa_sc_to_vlt(struct opa_smp *smp, u32 am, u8 *data,
static int __subn_get_opa_sc_to_vlnt(struct opa_smp *smp, u32 am, u8 *data,
static int __subn_set_opa_sc_to_vlnt(struct opa_smp *smp, u32 am, u8 *data,
static int __subn_get_opa_psi(struct opa_smp *smp, u32 am, u8 *data,
static int __subn_set_opa_psi(struct opa_smp *smp, u32 am, u8 *data,
static int __subn_get_opa_cable_info(struct opa_smp *smp, u32 am, u8 *data,
static int __subn_get_opa_bct(struct opa_smp *smp, u32 am, u8 *data,
static int __subn_set_opa_bct(struct opa_smp *smp, u32 am, u8 *data,
static int __subn_get_opa_vl_arb(struct opa_smp *smp, u32 am, u8 *data,
static int __subn_set_opa_vl_arb(struct opa_smp *smp, u32 am, u8 *data,
struct opa_smp *smp;
static int __subn_get_opa_cong_info(struct opa_smp *smp, u32 am, u8 *data,
static int __subn_get_opa_cong_setting(struct opa_smp *smp, u32 am,
static int __subn_set_opa_cong_setting(struct opa_smp *smp, u32 am, u8 *data,
static int __subn_get_opa_hfi1_cong_log(struct opa_smp *smp, u32 am,
static int __subn_get_opa_cc_table(struct opa_smp *smp, u32 am, u8 *data,
static int __subn_set_opa_cc_table(struct opa_smp *smp, u32 am, u8 *data,
static int __subn_get_opa_led_info(struct opa_smp *smp, u32 am, u8 *data,
static int __subn_set_opa_led_info(struct opa_smp *smp, u32 am, u8 *data,
static int subn_get_opa_sma(__be16 attr_id, struct opa_smp *smp, u32 am,
static int subn_set_opa_sma(__be16 attr_id, struct opa_smp *smp, u32 am,
static int subn_get_opa_aggregate(struct opa_smp *smp,
static int subn_set_opa_aggregate(struct opa_smp *smp,
const struct opa_smp *smp = (const struct opa_smp *)mad;
struct opa_smp *smp = (struct opa_smp *)out_mad;
static inline void clear_opa_smp_data(struct opa_smp *smp)
static int __subn_get_opa_nodedesc(struct opa_smp *smp, u32 am,
static int __subn_get_opa_nodeinfo(struct opa_smp *smp, u32 am, u8 *data,
static int __subn_get_opa_portinfo(struct opa_smp *smp, u32 am, u8 *data,
static int __subn_get_opa_pkeytable(struct opa_smp *smp, u32 am, u8 *data,
struct rvt_qp *qp, u16 slid, struct opa_smp *smp)
struct opa_smp *smp = (struct opa_smp *)data;
static inline u8 *opa_get_smp_data(struct opa_smp *smp)
static inline size_t opa_get_smp_data_size(struct opa_smp *smp)
static inline size_t opa_get_smp_header_size(struct opa_smp *smp)
opa_get_smp_direction(struct opa_smp *smp)
TP_PROTO(struct opa_smp *smp),
TP_PROTO(struct opa_smp *smp),
TP_PROTO(struct opa_smp *smp),