Home
last modified time | relevance | path

Searched refs:nh_res_bucket (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/net/ipv4/
H A Dnexthop.c167 struct nh_res_bucket *bucket = &res_table->nh_buckets[i]; in nh_notifier_res_table_info_init()
307 info->nh_res_bucket = kzalloc(sizeof(*info->nh_res_bucket), in nh_notifier_res_bucket_info_init()
309 if (!info->nh_res_bucket) in nh_notifier_res_bucket_info_init()
312 info->nh_res_bucket->bucket_index = bucket_index; in nh_notifier_res_bucket_info_init()
313 info->nh_res_bucket->idle_timer_ms = idle_timer_ms; in nh_notifier_res_bucket_info_init()
314 info->nh_res_bucket->force = force; in nh_notifier_res_bucket_info_init()
315 __nh_notifier_single_info_init(&info->nh_res_bucket->old_nh, oldi); in nh_notifier_res_bucket_info_init()
316 __nh_notifier_single_info_init(&info->nh_res_bucket->new_nh, newi); in nh_notifier_res_bucket_info_init()
322 kfree(info->nh_res_bucket); in nh_notifier_res_bucket_info_fini()
[all...]
/kernel/linux/linux-6.6/include/net/
H A Dnexthop.h72 struct nh_res_bucket { struct
95 struct nh_res_bucket nh_buckets[];
215 struct nh_notifier_res_bucket_info *nh_res_bucket; member
/kernel/linux/linux-6.6/drivers/net/netdevsim/
H A Dfib.c1316 info->nh_res_bucket->bucket_index, in nsim_nexthop_bucket_replace()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c4936 nh = &info->nh_res_bucket->new_nh; in mlxsw_sp_nexthop_obj_validate()
5383 u16 bucket_index = info->nh_res_bucket->bucket_index; in mlxsw_sp_nexthop_obj_bucket_adj_update()
5385 bool force = info->nh_res_bucket->force; in mlxsw_sp_nexthop_obj_bucket_adj_update()
5394 if (!force && info->nh_res_bucket->idle_timer_ms < in mlxsw_sp_nexthop_obj_bucket_adj_update()
5430 u16 bucket_index = info->nh_res_bucket->bucket_index; in mlxsw_sp_nexthop_obj_bucket_replace()
5454 nh_obj = &info->nh_res_bucket->new_nh; in mlxsw_sp_nexthop_obj_bucket_replace()
5470 nh_obj = &info->nh_res_bucket->old_nh; in mlxsw_sp_nexthop_obj_bucket_replace()

Completed in 22 milliseconds