Searched refs:new_ah (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/infiniband/hw/mthca/
H A Dmthca_mad.c77 struct ib_ah *new_ah; update_sm_ah() local
89 new_ah = ib_create_ah(dev->send_agent[port_num - 1][0]->qp->pd, update_sm_ah()
91 if (IS_ERR(new_ah)) update_sm_ah()
97 dev->sm_ah[port_num - 1] = new_ah; update_sm_ah()
/linux-4.4.14/drivers/infiniband/core/
H A Dsa_query.c856 struct ib_sa_sm_ah *new_ah; update_sm_ah() local
865 new_ah = kmalloc(sizeof *new_ah, GFP_KERNEL); update_sm_ah()
866 if (!new_ah) { update_sm_ah()
871 kref_init(&new_ah->ref); update_sm_ah()
872 new_ah->src_path_mask = (1 << port_attr.lmc) - 1; update_sm_ah()
874 new_ah->pkey_index = 0; update_sm_ah()
876 IB_DEFAULT_PKEY_FULL, &new_ah->pkey_index)) update_sm_ah()
884 new_ah->ah = ib_create_ah(port->agent->qp->pd, &ah_attr); update_sm_ah()
885 if (IS_ERR(new_ah->ah)) { update_sm_ah()
887 kfree(new_ah); update_sm_ah()
894 port->sm_ah = new_ah; update_sm_ah()
/linux-4.4.14/drivers/infiniband/hw/mlx4/
H A Dmad.c188 struct ib_ah *new_ah; update_sm_ah() local
200 new_ah = ib_create_ah(dev->send_agent[port_num - 1][0]->qp->pd, update_sm_ah()
202 if (IS_ERR(new_ah)) update_sm_ah()
208 dev->sm_ah[port_num - 1] = new_ah; update_sm_ah()

Completed in 149 milliseconds