Searched refs:mad_snoop_priv (Results 1 – 1 of 1) sorted by relevance
456 struct ib_mad_snoop_private *mad_snoop_priv) in register_snoop_agent() argument471 sizeof mad_snoop_priv * in register_snoop_agent()482 qp_info->snoop_table[i] = mad_snoop_priv; in register_snoop_agent()499 struct ib_mad_snoop_private *mad_snoop_priv; in ib_register_mad_snoop() local519 mad_snoop_priv = kzalloc(sizeof *mad_snoop_priv, GFP_KERNEL); in ib_register_mad_snoop()520 if (!mad_snoop_priv) { in ib_register_mad_snoop()526 mad_snoop_priv->qp_info = &port_priv->qp_info[qpn]; in ib_register_mad_snoop()527 mad_snoop_priv->agent.device = device; in ib_register_mad_snoop()528 mad_snoop_priv->agent.recv_handler = recv_handler; in ib_register_mad_snoop()529 mad_snoop_priv->agent.snoop_handler = snoop_handler; in ib_register_mad_snoop()[all …]