Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/netdevsim/
Dfib.c54 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()
1389 nexthop = rhashtable_lookup_fast(&data->nexthop_ht, &nhid, in nsim_nexthop_bucket_activity_write()
1569 err = rhashtable_init(&data->nexthop_ht, &nsim_nexthop_ht_params); in nsim_fib_create()
1632 rhashtable_free_and_destroy(&data->nexthop_ht, nsim_nexthop_free, in nsim_fib_create()
1661 rhashtable_free_and_destroy(&data->nexthop_ht, nsim_nexthop_free, in nsim_fib_destroy()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.h33 struct rhashtable nexthop_ht; member
Dspectrum_router.c3559 return rhashtable_insert_fast(&mlxsw_sp->router->nexthop_ht, in mlxsw_sp_nexthop_insert()
3566 rhashtable_remove_fast(&mlxsw_sp->router->nexthop_ht, &nh->ht_node, in mlxsw_sp_nexthop_remove()
3574 return rhashtable_lookup_fast(&mlxsw_sp->router->nexthop_ht, &key, in mlxsw_sp_nexthop_lookup()
11395 err = rhashtable_init(&mlxsw_sp->router->nexthop_ht, in mlxsw_sp_router_init()
11518 rhashtable_destroy(&mlxsw_sp->router->nexthop_ht); in mlxsw_sp_router_init()
11557 rhashtable_destroy(&router->nexthop_ht); in mlxsw_sp_router_fini()