]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests: drv-net: test the napi init state
authorJakub Kicinski <kuba@kernel.org>
Fri, 15 Aug 2025 01:33:14 +0000 (18:33 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 19 Aug 2025 13:46:04 +0000 (15:46 +0200)
commit0283b8f134e499a51bb972403eb47cda6b960f7c
tree2fa1522f18f3deca20a3fd6c75bb640676b1a37b
parent730ff06d3f5cc2ce0348414b78c10528b767d4a3
selftests: drv-net: test the napi init state

Test that threaded state (in the persistent NAPI config) gets updated
even when NAPI with given ID is not allocated at the time.

This test is validating commit ccba9f6baa90 ("net: update NAPI threaded
config even for disabled NAPIs").

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Joe Damato <joe@dama.to>
Link: https://patch.msgid.link/20250815013314.2237512-1-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/selftests/drivers/net/napi_threaded.py