Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/netfilter/
Dnft_nat_zones.sh42 v4gc3=$(sysctl -n net.ipv4.neigh.default.gc_thresh3 2>/dev/null)
45 v6gc3=$(sysctl -n net.ipv6.neigh.default.gc_thresh3 2>/dev/null)
57 sysctl -q net.ipv4.neigh.default.gc_thresh3=$v4gc3 2>/dev/null
60 sysctl -q net.ipv6.neigh.default.gc_thresh3=$v6gc3 2>/dev/null
108 sysctl -q net.ipv6.neigh.default.gc_thresh3=4096 2>/dev/null
111 sysctl -q net.ipv4.neigh.default.gc_thresh3=4096 2>/dev/null
/Linux-v6.6/tools/testing/selftests/net/forwarding/
Dcustom_multipath_hash.sh290 sysctl_set net.ipv4.neigh.default.gc_thresh3 1024
308 sysctl_restore net.ipv4.neigh.default.gc_thresh3
325 sysctl_set net.ipv6.neigh.default.gc_thresh3 1024
347 sysctl_restore net.ipv6.neigh.default.gc_thresh3
Dgre_custom_multipath_hash.sh383 sysctl_set net.ipv4.neigh.default.gc_thresh3 1024
401 sysctl_restore net.ipv4.neigh.default.gc_thresh3
414 sysctl_set net.ipv6.neigh.default.gc_thresh3 1024
436 sysctl_restore net.ipv6.neigh.default.gc_thresh3
Dip6gre_custom_multipath_hash.sh385 sysctl_set net.ipv4.neigh.default.gc_thresh3 1024
403 sysctl_restore net.ipv4.neigh.default.gc_thresh3
416 sysctl_set net.ipv6.neigh.default.gc_thresh3 1024
438 sysctl_restore net.ipv6.neigh.default.gc_thresh3
/Linux-v6.6/net/core/
Dneighbour.c468 int entries, gc_thresh3; in neigh_alloc() local
474 gc_thresh3 = READ_ONCE(tbl->gc_thresh3); in neigh_alloc()
475 if (entries >= gc_thresh3 || in neigh_alloc()
478 if (!neigh_forced_gc(tbl) && entries >= gc_thresh3) { in neigh_alloc()
2176 nla_put_u32(skb, NDTA_THRESH3, READ_ONCE(tbl->gc_thresh3))) in neightbl_fill_info()
2457 WRITE_ONCE(tbl->gc_thresh3, nla_get_u32(tb[NDTA_THRESH3])); in neightbl_set()
3812 t->neigh_vars[NEIGH_VAR_GC_THRESH3].data = &tbl->gc_thresh3; in neigh_sysctl_register()
/Linux-v6.6/include/net/
Dneighbour.h222 int gc_thresh3; member
/Linux-v6.6/net/ipv4/
Darp.c183 .gc_thresh3 = 1024,
/Linux-v6.6/net/ipv6/
Dndisc.c142 .gc_thresh3 = 1024,
/Linux-v6.6/drivers/infiniband/ulp/ipoib/
Dipoib_main.c1529 size = roundup_pow_of_two(arp_tbl.gc_thresh3); in ipoib_neigh_hash_init()
/Linux-v6.6/Documentation/networking/
Dip-sysctl.rst175 neigh/default/gc_thresh3 - INTEGER