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()
802 struct dst_cache *dst_cache; in geneve_get_v4_rt() local
827 dst_cache = (struct dst_cache *)&info->dst_cache; in geneve_get_v4_rt()
829 rt = dst_cache_get_ip4(dst_cache, &fl4->saddr); in geneve_get_v4_rt()
844 dst_cache_set_ip4(dst_cache, &rt->dst, fl4->saddr); in geneve_get_v4_rt()
859 struct dst_cache *dst_cache; in geneve_get_v6_dst() local
880 dst_cache = (struct dst_cache *)&info->dst_cache; in geneve_get_v6_dst()
882 dst = dst_cache_get_ip6(dst_cache, &fl6->saddr); in geneve_get_v6_dst()
899 dst_cache_set_ip6(dst_cache, dst, &fl6->saddr); in geneve_get_v6_dst()
1421 dst_cache_reset(&geneve->cfg.info.dst_cache); in geneve_configure()
1759 dst_cache_reset(&cfg.info.dst_cache); in geneve_changelink()