]> git.hungrycats.org Git - linux/commit
net: shaper: add a note that we expect cap dumps to be tiny
authorJakub Kicinski <kuba@kernel.org>
Tue, 9 Jun 2026 18:32:24 +0000 (11:32 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 11 Jun 2026 10:55:23 +0000 (12:55 +0200)
commit7421a813778b7eb446588969569aa80fd148eea2
treeb3c655a5aafbc69cdf45687f1e3f73ad024ba903
parent3b4ba57263383942a9bea2def3e82750f9a929d8
net: shaper: add a note that we expect cap dumps to be tiny

Various AI scan tools may complain that we don't support resuming
the cap dump. This is true, but the cap dumps are tiny.
net_shaper_nl_cap_pre_dumpit() sets up the dump for just
one device, so the size of the dump scales with NET_SHAPER_SCOPE_MAX (3).

We don't expect them to ever need more than a 4kB page.
Document this.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20260609183224.1108521-5-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/shaper/shaper.c