Lines Matching refs:ibdev
107 static void smp_snoop(struct ib_device *ibdev, in smp_snoop() argument
122 mthca_update_rate(to_mdev(ibdev), port_num); in smp_snoop()
123 update_sm_ah(to_mdev(ibdev), port_num, in smp_snoop()
127 event.device = ibdev; in smp_snoop()
142 event.device = ibdev; in smp_snoop()
199 int mthca_process_mad(struct ib_device *ibdev, int mad_flags, u32 port_num, in mthca_process_mad() argument
211 forward_trap(to_mdev(ibdev), port_num, in); in mthca_process_mad()
248 !ib_query_port(ibdev, port_num, &pattr)) in mthca_process_mad()
251 err = mthca_MAD_IFC(to_mdev(ibdev), mad_flags & IB_MAD_IGNORE_MKEY, in mthca_process_mad()
257 mthca_err(to_mdev(ibdev), "MAD_IFC returned %d\n", err); in mthca_process_mad()
262 smp_snoop(ibdev, port_num, in, prev_lid); in mthca_process_mad()
263 node_desc_override(ibdev, out); in mthca_process_mad()