Lines Matching refs:neigh
834 struct ipoib_neigh *neigh; in ipoib_cm_handle_tx_wc() local
850 neigh = tx->neigh; in ipoib_cm_handle_tx_wc()
852 if (neigh) { in ipoib_cm_handle_tx_wc()
853 neigh->cm = NULL; in ipoib_cm_handle_tx_wc()
854 ipoib_neigh_free(neigh); in ipoib_cm_handle_tx_wc()
856 tx->neigh = NULL; in ipoib_cm_handle_tx_wc()
1035 if (p->neigh) in ipoib_cm_rep_handler()
1036 while ((skb = __skb_dequeue(&p->neigh->queue))) in ipoib_cm_rep_handler()
1259 struct ipoib_neigh *neigh; in ipoib_cm_tx_handler() local
1281 neigh = tx->neigh; in ipoib_cm_tx_handler()
1283 if (neigh) { in ipoib_cm_tx_handler()
1284 neigh->cm = NULL; in ipoib_cm_tx_handler()
1285 ipoib_neigh_free(neigh); in ipoib_cm_tx_handler()
1287 tx->neigh = NULL; in ipoib_cm_tx_handler()
1306 struct ipoib_neigh *neigh) in ipoib_cm_create_tx() argument
1315 neigh->cm = tx; in ipoib_cm_create_tx()
1316 tx->neigh = neigh; in ipoib_cm_create_tx()
1333 tx->neigh->daddr + 4); in ipoib_cm_destroy_tx()
1334 tx->neigh = NULL; in ipoib_cm_destroy_tx()
1346 struct ipoib_neigh *neigh; in ipoib_cm_tx_start() local
1361 neigh = p->neigh; in ipoib_cm_tx_start()
1363 qpn = IPOIB_QPN(neigh->daddr); in ipoib_cm_tx_start()
1368 path = __path_find(dev, neigh->daddr + QPN_AND_OPTIONS_OFFSET); in ipoib_cm_tx_start()
1372 neigh->daddr + QPN_AND_OPTIONS_OFFSET); in ipoib_cm_tx_start()
1387 neigh = p->neigh; in ipoib_cm_tx_start()
1388 if (neigh) { in ipoib_cm_tx_start()
1389 neigh->cm = NULL; in ipoib_cm_tx_start()
1390 ipoib_neigh_free(neigh); in ipoib_cm_tx_start()