Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_router.c729 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()
[all …]