Searched refs:nexthop_ht (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/net/netdevsim/ |
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() 1570 err = rhashtable_init(&data->nexthop_ht, &nsim_nexthop_ht_params); in nsim_fib_create() 1633 rhashtable_free_and_destroy(&data->nexthop_ht, nsim_nexthop_free, in nsim_fib_create() 1662 rhashtable_free_and_destroy(&data->nexthop_ht, nsim_nexthop_free, in nsim_fib_destroy()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.h | 33 struct rhashtable nexthop_ht; member
|
D | spectrum_router.c | 3671 return rhashtable_insert_fast(&mlxsw_sp->router->nexthop_ht, in mlxsw_sp_nexthop_insert() 3678 rhashtable_remove_fast(&mlxsw_sp->router->nexthop_ht, &nh->ht_node, in mlxsw_sp_nexthop_remove() 3686 return rhashtable_lookup_fast(&mlxsw_sp->router->nexthop_ht, &key, in mlxsw_sp_nexthop_lookup() 11663 err = rhashtable_init(&mlxsw_sp->router->nexthop_ht, in mlxsw_sp_router_init() 11786 rhashtable_destroy(&mlxsw_sp->router->nexthop_ht); in mlxsw_sp_router_init() 11825 rhashtable_destroy(&router->nexthop_ht); in mlxsw_sp_router_fini()
|