mbox series

[net-next,0/5] selftests: drv-net: rss_ctx: more tests

Message ID 20240705015725.680275-1-kuba@kernel.org (mailing list archive)
Headers show
Series selftests: drv-net: rss_ctx: more tests | expand

Message

Jakub Kicinski July 5, 2024, 1:57 a.m. UTC
Add a few more tests. I think they work. Commit 5d350dc3429b ("bnxt_en:
Fix the resource check condition for RSS contexts") does not appear
to have fixed bnxt for me :(

Jakub Kicinski (5):
  selftests: drv-net: rss_ctx: fix cleanup in the basic test
  selftests: drv-net: rss_ctx: factor out send traffic and check
  selftests: drv-net: rss_ctx: test queue changes vs user RSS config
  selftests: drv-net: rss_ctx: check behavior of indirection table
    resizing
  selftests: drv-net: rss_ctx: test flow rehashing without impacting
    traffic

 .../selftests/drivers/net/hw/rss_ctx.py       | 206 +++++++++++++++---
 1 file changed, 181 insertions(+), 25 deletions(-)

Comments

Pavan Chebbi July 5, 2024, 10:24 a.m. UTC | #1
On Fri, Jul 5, 2024 at 7:27 AM Jakub Kicinski <kuba@kernel.org> wrote:
>
> Add a few more tests. I think they work. Commit 5d350dc3429b ("bnxt_en:
> Fix the resource check condition for RSS contexts") does not appear
> to have fixed bnxt for me :(
The commit 5d350dc3429b won't fix the out_of_order test. That is
failing because bnxt sees netif_is_rxfh_configured() as false when the
test sends set_rxfh for reducing the main context's RSS. I am yet to
get to the bottom of it. The above commit is still required to keep
main context sane when we are adding/deleting other ctxs.

>
> Jakub Kicinski (5):
>   selftests: drv-net: rss_ctx: fix cleanup in the basic test
>   selftests: drv-net: rss_ctx: factor out send traffic and check
>   selftests: drv-net: rss_ctx: test queue changes vs user RSS config
>   selftests: drv-net: rss_ctx: check behavior of indirection table
>     resizing
>   selftests: drv-net: rss_ctx: test flow rehashing without impacting
>     traffic
>
>  .../selftests/drivers/net/hw/rss_ctx.py       | 206 +++++++++++++++---
>  1 file changed, 181 insertions(+), 25 deletions(-)
>
> --
> 2.45.2
>
>