selftests: net: exercise page pool reporting via netlink
authorJakub Kicinski <kuba@kernel.org>
Fri, 12 Apr 2024 14:14:36 +0000 (07:14 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 15 Apr 2024 18:21:13 +0000 (11:21 -0700)
commit05fa5c31b9882b175d5e5a8e310f31b1a9b019a3
tree184458d787cefcc0a4302d7c95ab0dd126e7dfc2
parent8554d6e39b6ad967e1debe98550a0c56aaf8c8ea
selftests: net: exercise page pool reporting via netlink

Add a Python test for the basic ops.

  # ./net/nl_netdev.py
  KTAP version 1
  1..3
  ok 1 nl_netdev.empty_check
  ok 2 nl_netdev.lo_check
  ok 3 nl_netdev.page_pool_check
  # Totals: pass:3 fail:0 xfail:0 xpass:0 skip:0 error:0

Reviewed-by: Petr Machata <petrm@nvidia.com>
Link: https://lore.kernel.org/r/20240412141436.828666-7-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/lib/py/ksft.py
tools/testing/selftests/net/lib/py/nsim.py
tools/testing/selftests/net/nl_netdev.py