Lines Matching refs:neigh
806 struct ipoib_neigh *neigh; in ipoib_cm_handle_tx_wc() local
813 neigh = tx->neigh; in ipoib_cm_handle_tx_wc()
815 if (neigh) { in ipoib_cm_handle_tx_wc()
816 neigh->cm = NULL; in ipoib_cm_handle_tx_wc()
817 ipoib_neigh_free(neigh); in ipoib_cm_handle_tx_wc()
819 tx->neigh = NULL; in ipoib_cm_handle_tx_wc()
996 if (p->neigh) in ipoib_cm_rep_handler()
997 while ((skb = __skb_dequeue(&p->neigh->queue))) in ipoib_cm_rep_handler()
1221 struct ipoib_neigh *neigh; in ipoib_cm_tx_handler() local
1243 neigh = tx->neigh; in ipoib_cm_tx_handler()
1245 if (neigh) { in ipoib_cm_tx_handler()
1246 neigh->cm = NULL; in ipoib_cm_tx_handler()
1247 ipoib_neigh_free(neigh); in ipoib_cm_tx_handler()
1249 tx->neigh = NULL; in ipoib_cm_tx_handler()
1268 struct ipoib_neigh *neigh) in ipoib_cm_create_tx() argument
1277 neigh->cm = tx; in ipoib_cm_create_tx()
1278 tx->neigh = neigh; in ipoib_cm_create_tx()
1296 tx->neigh->daddr + 4); in ipoib_cm_destroy_tx()
1297 tx->neigh = NULL; in ipoib_cm_destroy_tx()
1307 struct ipoib_neigh *neigh; in ipoib_cm_tx_start() local
1321 neigh = p->neigh; in ipoib_cm_tx_start()
1322 qpn = IPOIB_QPN(neigh->daddr); in ipoib_cm_tx_start()
1334 neigh = p->neigh; in ipoib_cm_tx_start()
1335 if (neigh) { in ipoib_cm_tx_start()
1336 neigh->cm = NULL; in ipoib_cm_tx_start()
1337 ipoib_neigh_free(neigh); in ipoib_cm_tx_start()