Lines Matching defs:sw
106 static int prestera_util_nhc2nc_key(struct prestera_switch *sw, in prestera_util_nhc2nc_key()
133 prestera_util_nhc_eq_n_cache_key(struct prestera_switch *sw, in prestera_util_nhc_eq_n_cache_key()
151 prestera_util_neigh2nc_key(struct prestera_switch *sw, struct neighbour *n, in prestera_util_neigh2nc_key()
430 prestera_neigh_iface_init(struct prestera_switch *sw, in prestera_neigh_iface_init()
452 prestera_kern_neigh_cache_find(struct prestera_switch *sw, in prestera_kern_neigh_cache_find()
464 __prestera_kern_neigh_cache_destruct(struct prestera_switch *sw, in __prestera_kern_neigh_cache_destruct()
471 __prestera_kern_neigh_cache_destroy(struct prestera_switch *sw, in __prestera_kern_neigh_cache_destroy()
482 __prestera_kern_neigh_cache_create(struct prestera_switch *sw, in __prestera_kern_neigh_cache_create()
512 prestera_kern_neigh_cache_get(struct prestera_switch *sw, in prestera_kern_neigh_cache_get()
525 prestera_kern_neigh_cache_put(struct prestera_switch *sw, in prestera_kern_neigh_cache_put()
538 prestera_kern_fib_cache_find(struct prestera_switch *sw, in prestera_kern_fib_cache_find()
550 __prestera_kern_fib_cache_destruct(struct prestera_switch *sw, in __prestera_kern_fib_cache_destruct()
568 prestera_kern_fib_cache_destroy(struct prestera_switch *sw, in prestera_kern_fib_cache_destroy()
579 __prestera_kern_fib_cache_create_nhs(struct prestera_switch *sw, in __prestera_kern_fib_cache_create_nhs()
617 prestera_kern_fib_cache_create(struct prestera_switch *sw, in prestera_kern_fib_cache_create()
656 __prestera_k_arb_fib_nh_offload_set(struct prestera_switch *sw, in __prestera_k_arb_fib_nh_offload_set()
680 __prestera_k_arb_n_offload_set(struct prestera_switch *sw, in __prestera_k_arb_n_offload_set()
696 __prestera_k_arb_fib_lpm_offload_set(struct prestera_switch *sw, in __prestera_k_arb_fib_lpm_offload_set()
724 __prestera_k_arb_n_lpm_set(struct prestera_switch *sw, in __prestera_k_arb_n_lpm_set()
774 __prestera_k_arb_nc_kern_fib_fetch(struct prestera_switch *sw, in __prestera_k_arb_nc_kern_fib_fetch()
786 __prestera_k_arb_nc_kern_n_fetch(struct prestera_switch *sw, in __prestera_k_arb_nc_kern_n_fetch()
817 __prestera_k_arb_nc_apply(struct prestera_switch *sw, in __prestera_k_arb_nc_apply()
857 __prestera_pr_k_arb_fc_lpm_info_calc(struct prestera_switch *sw, in __prestera_pr_k_arb_fc_lpm_info_calc()
929 static int __prestera_k_arb_f_lpm_set(struct prestera_switch *sw, in __prestera_k_arb_f_lpm_set()
956 static int __prestera_k_arb_fc_apply(struct prestera_switch *sw, in __prestera_k_arb_fc_apply()
993 __prestera_k_arb_util_fib_overlaps(struct prestera_switch *sw, in __prestera_k_arb_util_fib_overlaps()
1011 __prestera_k_arb_util_fib_overlapped(struct prestera_switch *sw, in __prestera_k_arb_util_fib_overlapped()
1028 static void __prestera_k_arb_hw_state_upd(struct prestera_switch *sw, in __prestera_k_arb_hw_state_upd()
1076 static void prestera_k_arb_hw_evt(struct prestera_switch *sw) in prestera_k_arb_hw_evt()
1101 static void prestera_k_arb_n_evt(struct prestera_switch *sw, in prestera_k_arb_n_evt()
1126 static void __prestera_k_arb_fib_evt2nc(struct prestera_switch *sw) in __prestera_k_arb_fib_evt2nc()
1152 prestera_k_arb_fib_evt(struct prestera_switch *sw, in prestera_k_arb_fib_evt()
1217 struct prestera_switch *sw = arg; in __prestera_k_arb_abort_neigh_ht_cb() local
1235 struct prestera_switch *sw = arg; in __prestera_k_arb_abort_fib_ht_cb() local
1249 static void prestera_k_arb_abort(struct prestera_switch *sw) in prestera_k_arb_abort()
1317 static int __prestera_inetaddr_event(struct prestera_switch *sw, in __prestera_inetaddr_event()
1386 struct prestera_switch *sw; member
1395 struct prestera_switch *sw = fib_work->sw; in __prestera_router_fib_event_work() local
1471 struct prestera_switch *sw; member
1479 struct prestera_switch *sw = net_work->sw; in prestera_router_neigh_event_work() local
1535 static int prestera_neigh_work_init(struct prestera_switch *sw) in prestera_neigh_work_init()
1543 static void prestera_neigh_work_fini(struct prestera_switch *sw) in prestera_neigh_work_fini()
1548 int prestera_router_init(struct prestera_switch *sw) in prestera_router_init()
1629 void prestera_router_fini(struct prestera_switch *sw) in prestera_router_fini()