Searched refs:mad_snoop_priv (Results 1 – 1 of 1) sorted by relevance
409 struct ib_mad_snoop_private *mad_snoop_priv) in register_snoop_agent() argument424 sizeof mad_snoop_priv * in register_snoop_agent()435 qp_info->snoop_table[i] = mad_snoop_priv; in register_snoop_agent()452 struct ib_mad_snoop_private *mad_snoop_priv; in ib_register_mad_snoop() local472 mad_snoop_priv = kzalloc(sizeof *mad_snoop_priv, GFP_KERNEL); in ib_register_mad_snoop()473 if (!mad_snoop_priv) { in ib_register_mad_snoop()479 mad_snoop_priv->qp_info = &port_priv->qp_info[qpn]; in ib_register_mad_snoop()480 mad_snoop_priv->agent.device = device; in ib_register_mad_snoop()481 mad_snoop_priv->agent.recv_handler = recv_handler; in ib_register_mad_snoop()482 mad_snoop_priv->agent.snoop_handler = snoop_handler; in ib_register_mad_snoop()[all …]