Home
last modified time | relevance | path

Searched refs:nh_neigh (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_router_hw.c329 struct prestera_nh_neigh *nh_neigh; in prestera_nh_neigh_find() local
331 nh_neigh = rhashtable_lookup_fast(&sw->router->nh_neigh_ht, in prestera_nh_neigh_find()
333 return nh_neigh; in prestera_nh_neigh_find()
375 struct prestera_nh_neigh *nh_neigh) in prestera_nh_neigh_util_hw_state() argument
382 &nh_neigh->nexthop_group_list, head) { in prestera_nh_neigh_util_hw_state()
397 struct prestera_nh_neigh *nh_neigh; in __prestera_nexthop_group_create() local
409 nh_neigh = prestera_nh_neigh_get(sw, in __prestera_nexthop_group_create()
411 if (!nh_neigh) in __prestera_nexthop_group_create()
414 nh_grp->nh_neigh_head[nh_cnt].neigh = nh_neigh; in __prestera_nexthop_group_create()
417 &nh_neigh->nexthop_group_list); in __prestera_nexthop_group_create()
[all …]
H A Dprestera_router.c822 struct prestera_nh_neigh *nh_neigh; in __prestera_k_arb_nc_apply() local
829 nh_neigh = prestera_nh_neigh_find(sw, &nh_key); in __prestera_k_arb_nc_apply()
830 if (!nh_neigh) in __prestera_k_arb_nc_apply()
834 if (memcmp(&nc->nh_neigh_info, &nh_neigh->info, in __prestera_k_arb_nc_apply()
835 sizeof(nh_neigh->info))) { in __prestera_k_arb_nc_apply()
836 memcpy(&nh_neigh->info, &nc->nh_neigh_info, in __prestera_k_arb_nc_apply()
837 sizeof(nh_neigh->info)); in __prestera_k_arb_nc_apply()
838 err = prestera_nh_neigh_set(sw, nh_neigh); in __prestera_k_arb_nc_apply()
842 &nh_neigh->key.addr.u.ipv4, in __prestera_k_arb_nc_apply()
843 &nh_neigh->info.ha[0]); in __prestera_k_arb_nc_apply()
[all …]
H A Dprestera_router_hw.h142 struct prestera_nh_neigh *nh_neigh);