]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: drv-net: rss_ctx: add rss ctx busy testcase
authorDaniel Zahka <daniel.zahka@gmail.com>
Fri, 11 Oct 2024 18:35:48 +0000 (11:35 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 17 Oct 2024 08:22:01 +0000 (10:22 +0200)
commit1ec43493c94f1661e5db79743bc720e1fe5ddb7f
tree63ec41923ede9dabe4e222e293bbc5f4891045fa
parent42dc431f5d0ea9e9c9caf74dcb5b290ce4dd80b4
selftests: drv-net: rss_ctx: add rss ctx busy testcase

It should be invalid to delete an rss context while it is being
referenced from an ntuple filter. ethtool core should prevent this
from happening. This patch adds a testcase to verify this behavior.

Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/selftests/drivers/net/hw/rss_ctx.py