[Devel] [PATCH hci-8.1 v3 6/6] ve: add neigh_tbl failcounter
Konstantin Khorenko
khorenko at virtuozzo.com
Thu Nov 12 19:35:40 MSK 2026
I won't apply this version, please send v4 with the changes below.
On Mon, 12 Oct 2026 00:52:33 +0200, Vladimir Riabchun <vladimir.riabchun at virtuozzo.com> wrote:
> + ve_failcount_inc(ve, neigh_tbl);
Item 5 of the cover letter reply: call it only when !ve_is_super(ve).
Why: the host netns belongs to ve0 and ve0 is checked against the
same gc_thresh3. A node with more neighbours than that now logs
"CT0: hits the neigh_tbl limit, see the 'neigh_tbl' counter in
ve.failcount of the container's ve cgroup", and the root ve cgroup
has no ve.failcount file (CFTYPE_NOT_ON_ROOT). Vasileios asked about
this on v3 and it is still open.
> Feature: per-ve failcounters
> Feature: ve printk
Item 6 of the cover letter reply: keep one Feature: line, "per-ve
failcounters".
Why: one Feature: line per commit; this commit adds a failcounter.
A note on the v2 answer that the limit is global and does not depend
on the table type: arp and ndisc have their own gc_thresh3 and their
own per-VE counters, so one neigh_tbl failcount merges two limits. If
that is intended, fine, no change needed.
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
More information about the Devel
mailing list