From: Donald Hunter <donald.hunter@gmail.com>
To: Jakub Kicinski <kuba@kernel.org>
Cc: davem@davemloft.net, netdev@vger.kernel.org,
edumazet@google.com, pabeni@redhat.com, andrew+netdev@lunn.ch,
horms@kernel.org, liuhangbin@gmail.com, matttbe@kernel.org
Subject: Re: [PATCH net-next 02/10] tools: ynl: convert netdev sample to selftest
Date: Fri, 06 Mar 2026 13:45:41 +0000 [thread overview]
Message-ID: <m25x79hy0q.fsf@gmail.com> (raw)
In-Reply-To: <20260306020901.524105-3-kuba@kernel.org>
Jakub Kicinski <kuba@kernel.org> writes:
> Convert netdev.c to produce KTAP output with 3 tests:
> - dev_dump: dump all netdev devices, skip if empty
> - dev_get: query first device from dump by ifindex
> - ntf_check: subscribe to "mgmt", create a veth via rt-link,
> verify netdev notification is received, then delete the veth
>
> Remove stdin/scanf-based UI. Add rt-link dependency for the veth
> notification test.
>
> TAP version 13
> 1..3
> # Starting 3 tests from 1 test cases.
> # RUN netdev.dump ...
> # lo[1] xdp-features (0): xdp-rx-metadata-features (0): xsk-fea...
> # sit0[2] xdp-features (0): xdp-rx-metadata-features (0): xsk-fea...
> # OK netdev.dump
> ok 1 netdev.dump
> # RUN netdev.get ...
> # lo[1] xdp-features (0): xdp-rx-metadata-features (0): xsk-fea...
> # OK netdev.get
> ok 2 netdev.get
> # RUN netdev.ntf_check ...
> # veth0[7] xdp-features (0): xdp-rx-metadata-features (7): timesta...
> # OK netdev.ntf_check
> ok 3 netdev.ntf_check
> # PASSED: 3 / 3 tests passed.
> # Totals: pass:3 fail:0 xfail:0 xpass:0 skip:0 error:0
>
> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
next prev parent reply other threads:[~2026-03-06 14:29 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-06 2:08 [PATCH net-next 00/10] tools: ynl: convert samples into selftests Jakub Kicinski
2026-03-06 2:08 ` [PATCH net-next 01/10] tools: ynl: move samples to tests Jakub Kicinski
2026-03-06 12:07 ` Donald Hunter
2026-03-06 2:08 ` [PATCH net-next 02/10] tools: ynl: convert netdev sample to selftest Jakub Kicinski
2026-03-06 13:45 ` Donald Hunter [this message]
2026-03-06 2:08 ` [PATCH net-next 03/10] tools: ynl: convert ovs " Jakub Kicinski
2026-03-06 2:08 ` [PATCH net-next 04/10] tools: ynl: convert rt-link " Jakub Kicinski
2026-03-06 14:29 ` Donald Hunter
2026-03-07 0:09 ` Jakub Kicinski
2026-03-06 2:08 ` [PATCH net-next 05/10] tools: ynl: convert tc and tc-filter-add samples " Jakub Kicinski
2026-03-06 2:08 ` [PATCH net-next 06/10] tools: ynl: add netdevsim wrapper library for YNL tests Jakub Kicinski
2026-03-06 12:23 ` Donald Hunter
2026-03-06 2:08 ` [PATCH net-next 07/10] tools: ynl: convert devlink sample to selftest Jakub Kicinski
2026-03-06 11:53 ` Donald Hunter
2026-03-07 0:11 ` Jakub Kicinski
2026-03-06 2:08 ` [PATCH net-next 08/10] tools: ynl: convert ethtool " Jakub Kicinski
2026-03-06 2:09 ` [PATCH net-next 09/10] tools: ynl: convert rt-addr " Jakub Kicinski
2026-03-06 2:09 ` [PATCH net-next 10/10] tools: ynl: convert rt-route " Jakub Kicinski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m25x79hy0q.fsf@gmail.com \
--to=donald.hunter@gmail.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=liuhangbin@gmail.com \
--cc=matttbe@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.