Lines Matching refs:dst_cache
322 err = dst_cache_init(&geneve->cfg.info.dst_cache, GFP_KERNEL); in geneve_init()
335 dst_cache_destroy(&geneve->cfg.info.dst_cache); in geneve_uninit()
779 struct dst_cache *dst_cache; in geneve_get_v4_rt() local
801 dst_cache = (struct dst_cache *)&info->dst_cache; in geneve_get_v4_rt()
803 rt = dst_cache_get_ip4(dst_cache, &fl4->saddr); in geneve_get_v4_rt()
818 dst_cache_set_ip4(dst_cache, &rt->dst, fl4->saddr); in geneve_get_v4_rt()
833 struct dst_cache *dst_cache; in geneve_get_v6_dst() local
855 dst_cache = (struct dst_cache *)&info->dst_cache; in geneve_get_v6_dst()
857 dst = dst_cache_get_ip6(dst_cache, &fl6->saddr); in geneve_get_v6_dst()
874 dst_cache_set_ip6(dst_cache, dst, &fl6->saddr); in geneve_get_v6_dst()
1368 dst_cache_reset(&geneve->cfg.info.dst_cache); in geneve_configure()
1690 dst_cache_reset(&cfg.info.dst_cache); in geneve_changelink()