Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/netfilter/
H A 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
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A 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
H A 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
H A 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
/openbmc/linux/net/core/
H A Dneighbour.c475 int entries, gc_thresh3; in neigh_alloc() local
481 gc_thresh3 = READ_ONCE(tbl->gc_thresh3); in neigh_alloc()
482 if (entries >= gc_thresh3 || in neigh_alloc()
485 if (!neigh_forced_gc(tbl) && entries >= gc_thresh3) { in neigh_alloc()
2183 nla_put_u32(skb, NDTA_THRESH3, READ_ONCE(tbl->gc_thresh3))) in neightbl_fill_info()
2464 WRITE_ONCE(tbl->gc_thresh3, nla_get_u32(tb[NDTA_THRESH3])); in neightbl_set()
3819 t->neigh_vars[NEIGH_VAR_GC_THRESH3].data = &tbl->gc_thresh3; in neigh_sysctl_register()
/openbmc/linux/include/net/
H A Dneighbour.h222 int gc_thresh3; member
/openbmc/linux/net/ipv4/
H A Darp.c183 .gc_thresh3 = 1024,
/openbmc/linux/net/ipv6/
H A Dndisc.c142 .gc_thresh3 = 1024,
/openbmc/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c1529 size = roundup_pow_of_two(arp_tbl.gc_thresh3); in ipoib_neigh_hash_init()
/openbmc/linux/Documentation/networking/
H A Dip-sysctl.rst175 neigh/default/gc_thresh3 - INTEGER