Searched refs:neigh (Results 1 - 17 of 17) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.c77 if (e->neigh)
78 neigh_release(e->neigh);
79 e->neigh = n;
105 memcpy(e->dmac, e->neigh->ha, sizeof(e->dmac));
134 neigh_event_send(e->neigh, NULL);
159 if (!neigh_event_send(e->neigh, NULL)) {
183 neigh_event_send(e->neigh, NULL);
209 neigh_event_send(e->neigh, NULL);
267 if (e->neigh) {
268 neigh_release(e->neigh);
282 reuse_entry(struct l2t_entry *e, struct neighbour *neigh) argument
305 struct neighbour *neigh; local
396 t3_l2t_update(struct t3cdev *dev, struct neighbour *neigh) argument
[all...]
H A Dt3cdev.h61 void (*neigh_update)(struct t3cdev *dev, struct neighbour *neigh);
H A Dl2t.h64 struct neighbour *neigh; /* associated neighbour */ member in struct:l2t_entry
111 void t3_l2t_update(struct t3cdev *dev, struct neighbour *neigh);
H A Dcxgb3_offload.c64 static void cxgb_neigh_update(struct neighbour *neigh);
484 static void dummy_neigh_update(struct t3cdev *dev, struct neighbour *neigh) argument
1073 static void cxgb_neigh_update(struct neighbour *neigh) argument
1077 if (!neigh)
1079 dev = neigh->dev;
1084 t3_l2t_update(tdev, neigh);
/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c268 struct ipoib_neigh *neigh, *tn; local
277 list_for_each_entry_safe(neigh, tn, &path->neigh_list, list) {
284 if (neigh->ah)
285 ipoib_put_ah(neigh->ah);
287 ipoib_neigh_free(dev, neigh);
412 struct ipoib_neigh *neigh, *tn; local
447 list_for_each_entry_safe(neigh, tn, &path->neigh_list, list) {
448 if (neigh->ah) {
449 WARN_ON(neigh->ah != old_ah);
457 ipoib_put_ah(neigh
563 struct ipoib_neigh *neigh; local
712 struct ipoib_neigh *neigh; local
855 struct ipoib_neigh *neigh; local
886 struct ipoib_neigh *neigh; local
902 ipoib_neigh_free(struct net_device *dev, struct ipoib_neigh *neigh) argument
[all...]
H A Dipoib.h219 struct ipoib_neigh *neigh; member in struct:ipoib_cm_tx
399 * hardware address in neigh->ha. The ALIGN() expression here makes
403 static inline struct ipoib_neigh **to_ipoib_neigh(struct neighbour *neigh) argument
405 return (void*) neigh + ALIGN(offsetof(struct neighbour, ha) +
409 struct ipoib_neigh *ipoib_neigh_alloc(struct neighbour *neigh,
411 void ipoib_neigh_free(struct net_device *dev, struct ipoib_neigh *neigh);
527 static inline int ipoib_cm_up(struct ipoib_neigh *neigh) argument
530 return test_bit(IPOIB_FLAG_OPER_UP, &neigh->cm->flags);
533 static inline struct ipoib_cm_tx *ipoib_cm_get(struct ipoib_neigh *neigh) argument
535 return neigh
538 ipoib_cm_set(struct ipoib_neigh *neigh, struct ipoib_cm_tx *tx) argument
584 ipoib_cm_up(struct ipoib_neigh *neigh) argument
590 ipoib_cm_get(struct ipoib_neigh *neigh) argument
595 ipoib_cm_set(struct ipoib_neigh *neigh, struct ipoib_cm_tx *tx) argument
640 ipoib_cm_create_tx(struct net_device *dev, struct ipoib_path *path, struct ipoib_neigh *neigh) argument
[all...]
H A Dipoib_cm.c802 struct ipoib_neigh *neigh; local
809 neigh = tx->neigh;
811 if (neigh) {
812 neigh->cm = NULL;
813 list_del(&neigh->list);
814 if (neigh->ah)
815 ipoib_put_ah(neigh->ah);
816 ipoib_neigh_free(dev, neigh);
818 tx->neigh
1206 struct ipoib_neigh *neigh; local
1255 ipoib_cm_create_tx(struct net_device *dev, struct ipoib_path *path, struct ipoib_neigh *neigh) argument
1292 struct ipoib_neigh *neigh; local
[all...]
H A Dipoib_multicast.c73 struct ipoib_neigh *neigh, *tmp; local
81 list_for_each_entry_safe(neigh, tmp, &mcast->neigh_list, list) {
88 if (neigh->ah)
89 ipoib_put_ah(neigh->ah);
90 ipoib_neigh_free(dev, neigh);
725 struct ipoib_neigh *neigh = ipoib_neigh_alloc(n, local
728 if (neigh) {
730 neigh->ah = mcast->ah;
731 list_add_tail(&neigh->list, &mcast->neigh_list);
/drivers/net/ethernet/chelsio/cxgb4/
H A Dl2t.c129 if (e->neigh)
130 neigh_release(e->neigh);
131 e->neigh = n;
156 if (e->neigh)
157 memcpy(e->dmac, e->neigh->ha, sizeof(e->dmac));
207 e->state = (e->neigh->nud_state & NUD_STALE) ?
236 neigh_event_send(e->neigh, NULL);
255 !neigh_event_send(e->neigh, NULL)) {
312 if (e->neigh) {
313 neigh_release(e->neigh);
341 reuse_entry(struct l2t_entry *e, struct neighbour *neigh) argument
359 cxgb4_l2t_get(struct l2t_data *d, struct neighbour *neigh, const struct net_device *physdev, unsigned int priority) argument
438 t4_l2t_update(struct adapter *adap, struct neighbour *neigh) argument
[all...]
H A Dl2t.h62 struct neighbour *neigh; /* associated neighbour */ member in struct:l2t_entry
98 struct l2t_entry *cxgb4_l2t_get(struct l2t_data *d, struct neighbour *neigh,
102 void t4_l2t_update(struct adapter *adap, struct neighbour *neigh);
H A Dcxgb4_main.c2418 static void check_neigh_update(struct neighbour *neigh) argument
2421 const struct net_device *netdev = neigh->dev;
2427 t4_l2t_update(dev_get_drvdata(parent), neigh); local
/drivers/infiniband/hw/nes/
H A Dnes.c219 struct neighbour *neigh = ptr; local
230 if (netdev == neigh->dev) {
235 if (neigh->nud_state & NUD_VALID) {
236 nes_manage_arp_cache(neigh->dev, neigh->ha,
237 ntohl(*(__be32 *)neigh->primary_key), NES_ARP_ADD);
239 nes_manage_arp_cache(neigh->dev, neigh->ha,
240 ntohl(*(__be32 *)neigh->primary_key), NES_ARP_DELETE);
H A Dnes_cm.c1342 struct neighbour *neigh; local
1359 neigh = dst_neigh_lookup(&rt->dst, &dst_ip);
1362 if (neigh) {
1363 if (neigh->nud_state & NUD_VALID) {
1366 neigh->ha, ntohl(rt->rt_gateway));
1370 neigh->ha, ETH_ALEN)) {
1380 nes_manage_arp_cache(nesvnic->netdev, neigh->ha,
1385 neigh_event_send(neigh, NULL);
1391 if (neigh)
1392 neigh_release(neigh);
[all...]
/drivers/infiniband/core/
H A Daddr.c430 struct neighbour *neigh = ctx; local
432 if (neigh->nud_state & NUD_VALID) {
/drivers/net/plip/
H A Dplip.c153 static int plip_hard_header_cache(const struct neighbour *neigh,
1027 static int plip_hard_header_cache(const struct neighbour *neigh, argument
1032 ret = eth_header_cache(neigh, hh, type);
1038 plip_rewrite_address (neigh->dev, eth);
/drivers/firewire/
H A Dnet.c264 static int fwnet_header_cache(const struct neighbour *neigh, argument
272 net = neigh->dev;
275 memcpy(h->h_dest, neigh->ha, net->addr_len);
/drivers/isdn/i4l/
H A Disdn_net.c1986 static int isdn_header_cache(const struct neighbour *neigh, struct hh_cache *hh, argument
1989 const struct net_device *dev = neigh->dev;
1993 return eth_header_cache(neigh, hh, type);

Completed in 242 milliseconds