Lines Matching refs:dst_cache
332 err = dst_cache_init(&geneve->cfg.info.dst_cache, GFP_KERNEL); in geneve_init()
345 dst_cache_destroy(&geneve->cfg.info.dst_cache); in geneve_uninit()
797 struct dst_cache *dst_cache; in geneve_get_v4_rt() local
822 dst_cache = (struct dst_cache *)&info->dst_cache; in geneve_get_v4_rt()
824 rt = dst_cache_get_ip4(dst_cache, &fl4->saddr); in geneve_get_v4_rt()
839 dst_cache_set_ip4(dst_cache, &rt->dst, fl4->saddr); in geneve_get_v4_rt()
854 struct dst_cache *dst_cache; in geneve_get_v6_dst() local
875 dst_cache = (struct dst_cache *)&info->dst_cache; in geneve_get_v6_dst()
877 dst = dst_cache_get_ip6(dst_cache, &fl6->saddr); in geneve_get_v6_dst()
894 dst_cache_set_ip6(dst_cache, dst, &fl6->saddr); in geneve_get_v6_dst()
1416 dst_cache_reset(&geneve->cfg.info.dst_cache); in geneve_configure()
1754 dst_cache_reset(&cfg.info.dst_cache); in geneve_changelink()