selftest: extend test_rss_context_queue_reconfigure for action addition
authorEdward Cree <ecree.xilinx@gmail.com>
Wed, 13 Nov 2024 12:13:13 +0000 (12:13 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 Nov 2024 03:53:42 +0000 (19:53 -0800)
commit29a4bc1fe961caea52a5b945be2b4267b02002d7
treeabd8b7c206c8ed7a1f184c01b3a669e782aace33
parente9e8abfec214b6a47f6c21d533c43c7f3c1f8887
selftest: extend test_rss_context_queue_reconfigure for action addition

The combination of ntuple action (ring_cookie) and RSS context can
 cause an ntuple rule to target a higher queue than appears in any
 RSS indirection table or directly in the ntuple rule, since the two
 numbers are added together.  Verify the logic that prevents reducing
 the queue count in this case.

Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Link: https://patch.msgid.link/58276b800ab78c0a79c1918046ccae7fe45ba802.1731499022.git.ecree.xilinx@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/hw/rss_ctx.py