]> www.infradead.org Git - nvme.git/commit
selftests: drv-net: rss_ctx: fix cleanup in the basic test
authorJakub Kicinski <kuba@kernel.org>
Mon, 8 Jul 2024 21:36:23 +0000 (14:36 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 9 Jul 2024 23:30:57 +0000 (16:30 -0700)
commita0aab7d7c8605f53ea77dfaafec1dcc0bfb1f232
tree9c652ba2c18d2a56cdacac615af95d001e9c3ee5
parentd694711355748d9b835d29f4678ae011ed4ce9b6
selftests: drv-net: rss_ctx: fix cleanup in the basic test

The basic test may fail without resetting the RSS indir table.
Use the .exec() method to run cleanup early since we re-test
with traffic that returning to default state works.
While at it reformat the doc a tiny bit.

Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20240708213627.226025-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/hw/rss_ctx.py