Lines Matching refs:fc_key
729 struct prestera_kern_fib_cache_key fc_key; in __prestera_k_arb_n_lpm_set() local
735 memset(&fc_key, 0, sizeof(fc_key)); in __prestera_k_arb_n_lpm_set()
736 fc_key.addr = n_cache->key.addr; in __prestera_k_arb_n_lpm_set()
737 fc_key.prefix_len = PRESTERA_IP_ADDR_PLEN(n_cache->key.addr.v); in __prestera_k_arb_n_lpm_set()
744 fc_key.kern_tb_id = l3mdev_fib_table(n_cache->key.dev); in __prestera_k_arb_n_lpm_set()
745 fib_cache = prestera_kern_fib_cache_find(sw, &fc_key); in __prestera_k_arb_n_lpm_set()
749 fib_key.tb_id = prestera_fix_tb_id(fc_key.kern_tb_id); in __prestera_k_arb_n_lpm_set()
996 struct prestera_kern_fib_cache_key fc_key; in __prestera_k_arb_util_fib_overlaps() local
1002 memcpy(&fc_key, &fc->key, sizeof(fc_key)); in __prestera_k_arb_util_fib_overlaps()
1003 fc_key.kern_tb_id = RT_TABLE_MAIN; in __prestera_k_arb_util_fib_overlaps()
1004 rfc = prestera_kern_fib_cache_find(sw, &fc_key); in __prestera_k_arb_util_fib_overlaps()
1014 struct prestera_kern_fib_cache_key fc_key; in __prestera_k_arb_util_fib_overlapped() local
1020 memcpy(&fc_key, &fc->key, sizeof(fc_key)); in __prestera_k_arb_util_fib_overlapped()
1021 fc_key.kern_tb_id = RT_TABLE_LOCAL; in __prestera_k_arb_util_fib_overlapped()
1022 rfc = prestera_kern_fib_cache_find(sw, &fc_key); in __prestera_k_arb_util_fib_overlapped()
1157 struct prestera_kern_fib_cache_key fc_key; in prestera_k_arb_fib_evt() local
1161 prestera_util_fen_info2fib_cache_key(info, &fc_key); in prestera_k_arb_fib_evt()
1162 fib_cache = prestera_kern_fib_cache_find(sw, &fc_key); in prestera_k_arb_fib_evt()
1184 fib_cache = prestera_kern_fib_cache_create(sw, &fc_key, info); in prestera_k_arb_fib_evt()