mirror_ubuntu-kernels/tools/testing/selftests/net/lib/py
Jakub Kicinski 0518863407 selftests: net: support setting recv_size in YNL
recv_size parameter allows constraining the buffer size for dumps.
It's useful in testing kernel handling of dump continuation,
IOW testing dumps which span multiple skbs.

Let the tests set this parameter when initializing the YNL family.
Keep the normal default, we don't want tests to unintentionally
behave very differently than normal code.

Reviewed-by: Joe Damato <jdamato@fastly.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Link: https://patch.msgid.link/20241213152244.3080955-4-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-12-16 17:30:13 -08:00
..
__init__.py testing: net-drv: add basic shaper test 2024-10-10 08:30:23 -07:00
consts.py
ksft.py selftests: drv-net: rss_ctx: test dumping RSS contexts 2024-08-12 14:16:25 +01:00
netns.py selftests: drv-net: construct environment for running tests which require an endpoint 2024-04-23 10:13:56 -07:00
nsim.py selftests: drivers: net: fix name not defined 2024-10-11 16:01:00 -07:00
utils.py selftests: drv-net: add ability to schedule cleanup with defer() 2024-06-28 18:39:39 -07:00
ynl.py selftests: net: support setting recv_size in YNL 2024-12-16 17:30:13 -08:00