Searched refs:mad_snoop_priv (Results 1 – 1 of 1) sorted by relevance
503 struct ib_mad_snoop_private *mad_snoop_priv) in register_snoop_agent() argument518 sizeof mad_snoop_priv * in register_snoop_agent()529 qp_info->snoop_table[i] = mad_snoop_priv; in register_snoop_agent()546 struct ib_mad_snoop_private *mad_snoop_priv; in ib_register_mad_snoop() local567 mad_snoop_priv = kzalloc(sizeof *mad_snoop_priv, GFP_KERNEL); in ib_register_mad_snoop()568 if (!mad_snoop_priv) { in ib_register_mad_snoop()574 mad_snoop_priv->qp_info = &port_priv->qp_info[qpn]; in ib_register_mad_snoop()575 mad_snoop_priv->agent.device = device; in ib_register_mad_snoop()576 mad_snoop_priv->agent.recv_handler = recv_handler; in ib_register_mad_snoop()577 mad_snoop_priv->agent.snoop_handler = snoop_handler; in ib_register_mad_snoop()[all …]