Lines Matching refs:nsim_fib_data
45 struct nsim_fib_data { struct
110 struct nsim_fib_data *data;
136 u64 nsim_fib_get_val(struct nsim_fib_data *fib_data, in nsim_fib_get_val()
164 static void nsim_fib_set_max(struct nsim_fib_data *fib_data, in nsim_fib_set_max()
209 static int nsim_fib_rule_event(struct nsim_fib_data *data, in nsim_fib_rule_event()
241 static void nsim_fib_rt_init(struct nsim_fib_data *data, in nsim_fib_rt_init()
275 nsim_fib4_rt_create(struct nsim_fib_data *data, in nsim_fib4_rt_create()
356 static int nsim_fib4_rt_add(struct nsim_fib_data *data, in nsim_fib4_rt_add()
382 static int nsim_fib4_rt_replace(struct nsim_fib_data *data, in nsim_fib4_rt_replace()
411 static int nsim_fib4_rt_insert(struct nsim_fib_data *data, in nsim_fib4_rt_insert()
442 static void nsim_fib4_rt_remove(struct nsim_fib_data *data, in nsim_fib4_rt_remove()
456 static int nsim_fib4_event(struct nsim_fib_data *data, in nsim_fib4_event()
539 nsim_fib6_rt_create(struct nsim_fib_data *data, in nsim_fib6_rt_create()
604 static int nsim_fib6_rt_append(struct nsim_fib_data *data, in nsim_fib6_rt_append()
643 static void nsim_fib6_rt_offload_failed_flag_set(struct nsim_fib_data *data, in nsim_fib6_rt_offload_failed_flag_set()
655 static void nsim_fib6_rt_offload_failed_flag_set(struct nsim_fib_data *data, in nsim_fib6_rt_offload_failed_flag_set()
663 static void nsim_fib6_rt_hw_flags_set(struct nsim_fib_data *data, in nsim_fib6_rt_hw_flags_set()
674 static void nsim_fib6_rt_hw_flags_set(struct nsim_fib_data *data, in nsim_fib6_rt_hw_flags_set()
681 static int nsim_fib6_rt_add(struct nsim_fib_data *data, in nsim_fib6_rt_add()
706 static int nsim_fib6_rt_replace(struct nsim_fib_data *data, in nsim_fib6_rt_replace()
736 static int nsim_fib6_rt_insert(struct nsim_fib_data *data, in nsim_fib6_rt_insert()
769 static void nsim_fib6_rt_remove(struct nsim_fib_data *data, in nsim_fib6_rt_remove()
845 static int nsim_fib6_event(struct nsim_fib_data *data, in nsim_fib6_event()
900 struct nsim_fib_data *data = fib_event->data; in nsim_fib4_prepare_event()
939 struct nsim_fib_data *data = fib_event->data; in nsim_fib6_prepare_event()
977 static int nsim_fib_event_schedule_work(struct nsim_fib_data *data, in nsim_fib_event_schedule_work()
1029 struct nsim_fib_data *data = container_of(nb, struct nsim_fib_data, in nsim_fib_event_nb()
1050 struct nsim_fib_data *data) in nsim_fib4_rt_free()
1062 struct nsim_fib_data *data) in nsim_fib6_rt_free()
1075 struct nsim_fib_data *data = arg; in nsim_fib_rt_free()
1092 struct nsim_fib_data *data = container_of(nb, struct nsim_fib_data, in nsim_fib_dump_inconsistent()
1112 static struct nsim_nexthop *nsim_nexthop_create(struct nsim_fib_data *data, in nsim_nexthop_create()
1156 static int nsim_nexthop_account(struct nsim_fib_data *data, u64 occ, in nsim_nexthop_account()
1198 static int nsim_nexthop_add(struct nsim_fib_data *data, in nsim_nexthop_add()
1225 static int nsim_nexthop_replace(struct nsim_fib_data *data, in nsim_nexthop_replace()
1256 static int nsim_nexthop_insert(struct nsim_fib_data *data, in nsim_nexthop_insert()
1280 static void nsim_nexthop_remove(struct nsim_fib_data *data, in nsim_nexthop_remove()
1296 static int nsim_nexthop_res_table_pre_replace(struct nsim_fib_data *data, in nsim_nexthop_res_table_pre_replace()
1307 static int nsim_nexthop_bucket_replace(struct nsim_fib_data *data, in nsim_nexthop_bucket_replace()
1325 struct nsim_fib_data *data = container_of(nb, struct nsim_fib_data, in nsim_nexthop_event_nb()
1355 struct nsim_fib_data *data = arg; in nsim_nexthop_free()
1368 struct nsim_fib_data *data = file->private_data; in nsim_nexthop_bucket_activity_write()
1424 struct nsim_fib_data *data = priv; in nsim_fib_ipv4_resource_occ_get()
1431 struct nsim_fib_data *data = priv; in nsim_fib_ipv4_rules_res_occ_get()
1438 struct nsim_fib_data *data = priv; in nsim_fib_ipv6_resource_occ_get()
1445 struct nsim_fib_data *data = priv; in nsim_fib_ipv6_rules_res_occ_get()
1452 struct nsim_fib_data *data = priv; in nsim_fib_nexthops_res_occ_get()
1457 static void nsim_fib_set_max_all(struct nsim_fib_data *data, in nsim_fib_set_max_all()
1480 struct nsim_fib_data *data = container_of(work, struct nsim_fib_data, in nsim_fib_event_work()
1503 struct nsim_fib_data *data = container_of(work, struct nsim_fib_data, in nsim_fib_flush_work()
1520 nsim_fib_debugfs_init(struct nsim_fib_data *data, struct nsim_dev *nsim_dev) in nsim_fib_debugfs_init()
1547 static void nsim_fib_debugfs_exit(struct nsim_fib_data *data) in nsim_fib_debugfs_exit()
1552 struct nsim_fib_data *nsim_fib_create(struct devlink *devlink, in nsim_fib_create()
1555 struct nsim_fib_data *data; in nsim_fib_create()
1644 void nsim_fib_destroy(struct devlink *devlink, struct nsim_fib_data *data) in nsim_fib_destroy()