Lines Matching refs:neigh
812 struct ipoib_neigh *neigh; in ipoib_cm_handle_tx_wc() local
819 neigh = tx->neigh; in ipoib_cm_handle_tx_wc()
821 if (neigh) { in ipoib_cm_handle_tx_wc()
822 neigh->cm = NULL; in ipoib_cm_handle_tx_wc()
823 ipoib_neigh_free(neigh); in ipoib_cm_handle_tx_wc()
825 tx->neigh = NULL; in ipoib_cm_handle_tx_wc()
1002 if (p->neigh) in ipoib_cm_rep_handler()
1003 while ((skb = __skb_dequeue(&p->neigh->queue))) in ipoib_cm_rep_handler()
1225 struct ipoib_neigh *neigh; in ipoib_cm_tx_handler() local
1247 neigh = tx->neigh; in ipoib_cm_tx_handler()
1249 if (neigh) { in ipoib_cm_tx_handler()
1250 neigh->cm = NULL; in ipoib_cm_tx_handler()
1251 ipoib_neigh_free(neigh); in ipoib_cm_tx_handler()
1253 tx->neigh = NULL; in ipoib_cm_tx_handler()
1272 struct ipoib_neigh *neigh) in ipoib_cm_create_tx() argument
1281 neigh->cm = tx; in ipoib_cm_create_tx()
1282 tx->neigh = neigh; in ipoib_cm_create_tx()
1300 tx->neigh->daddr + 4); in ipoib_cm_destroy_tx()
1301 tx->neigh = NULL; in ipoib_cm_destroy_tx()
1311 struct ipoib_neigh *neigh; in ipoib_cm_tx_start() local
1325 neigh = p->neigh; in ipoib_cm_tx_start()
1326 qpn = IPOIB_QPN(neigh->daddr); in ipoib_cm_tx_start()
1338 neigh = p->neigh; in ipoib_cm_tx_start()
1339 if (neigh) { in ipoib_cm_tx_start()
1340 neigh->cm = NULL; in ipoib_cm_tx_start()
1341 ipoib_neigh_free(neigh); in ipoib_cm_tx_start()