Searched refs:nexthop_ht (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/net/netdevsim/ |
H A D | fib.c | 54 struct rhashtable nexthop_ht; member 1209 err = rhashtable_insert_fast(&data->nexthop_ht, &nexthop->ht_node, in nsim_nexthop_add() 1237 err = rhashtable_replace_fast(&data->nexthop_ht, in nsim_nexthop_replace() 1266 nexthop_old = rhashtable_lookup_fast(&data->nexthop_ht, &info->id, in nsim_nexthop_insert() 1285 nexthop = rhashtable_lookup_fast(&data->nexthop_ht, &info->id, in nsim_nexthop_remove() 1290 rhashtable_remove_fast(&data->nexthop_ht, &nexthop->ht_node, in nsim_nexthop_remove() 1391 nexthop = rhashtable_lookup_fast(&data->nexthop_ht, &nhid, in nsim_nexthop_bucket_activity_write() 1571 err = rhashtable_init(&data->nexthop_ht, &nsim_nexthop_ht_params); in nsim_fib_create() 1634 rhashtable_free_and_destroy(&data->nexthop_ht, nsim_nexthop_free, in nsim_fib_create() 1663 rhashtable_free_and_destroy(&data->nexthop_ht, nsim_nexthop_free, in nsim_fib_destroy()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.h | 33 struct rhashtable nexthop_ht; member
|
H A D | spectrum_router.c | 3560 return rhashtable_insert_fast(&mlxsw_sp->router->nexthop_ht, in mlxsw_sp_nexthop_insert() 3567 rhashtable_remove_fast(&mlxsw_sp->router->nexthop_ht, &nh->ht_node, in mlxsw_sp_nexthop_remove() 3575 return rhashtable_lookup_fast(&mlxsw_sp->router->nexthop_ht, &key, in mlxsw_sp_nexthop_lookup() 11396 err = rhashtable_init(&mlxsw_sp->router->nexthop_ht, in mlxsw_sp_router_init() 11519 rhashtable_destroy(&mlxsw_sp->router->nexthop_ht); in mlxsw_sp_router_init() 11558 rhashtable_destroy(&router->nexthop_ht); in mlxsw_sp_router_fini()
|