|
Revision tags: v6.15, v6.15-rc7, v6.15-rc6, v6.15-rc5, v6.15-rc4, v6.15-rc3, v6.15-rc2, v6.15-rc1, v6.14, v6.14-rc7, v6.14-rc6, v6.14-rc5, v6.14-rc4, v6.14-rc3, v6.14-rc2, v6.14-rc1, v6.13, v6.13-rc7, v6.13-rc6, v6.13-rc5, v6.13-rc4, v6.13-rc3, v6.13-rc2, v6.13-rc1, v6.12, v6.12-rc7, v6.12-rc6, v6.12-rc5, v6.12-rc4, v6.12-rc3, v6.12-rc2, v6.12-rc1, v6.11, v6.11-rc7, v6.11-rc6 |
|
| #
3d8806f3 |
| 28-Aug-2024 |
Jakub Kicinski <[email protected]> |
tools: ynl: error check scanf() in a sample
Someone reported on GitHub that the YNL NIPA test is failing when run locally. The test builds the tools, and it hits:
netdev.c:82:9: warning: ignoring
tools: ynl: error check scanf() in a sample
Someone reported on GitHub that the YNL NIPA test is failing when run locally. The test builds the tools, and it hits:
netdev.c:82:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 82 | scanf("%d", &ifindex);
I can't repro this on my setups but error seems clear enough.
Link: https://github.com/linux-netdev/nipa/discussions/37 Reviewed-by: Simon Horman <[email protected]> Reviewed-by: Nicolas Dichtel <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
show more ...
|
|
Revision tags: v6.11-rc5, v6.11-rc4, v6.11-rc3, v6.11-rc2, v6.11-rc1, v6.10, v6.10-rc7, v6.10-rc6, v6.10-rc5, v6.10-rc4, v6.10-rc3, v6.10-rc2, v6.10-rc1, v6.9, v6.9-rc7, v6.9-rc6, v6.9-rc5, v6.9-rc4, v6.9-rc3, v6.9-rc2 |
|
| #
d6d647d7 |
| 29-Mar-2024 |
Jakub Kicinski <[email protected]> |
tools: ynl: add ynl_dump_empty() helper
Checking if dump is empty requires a couple of casts. Add a convenient wrapper.
Add an example use in the netdev sample, loopback is always present so an emp
tools: ynl: add ynl_dump_empty() helper
Checking if dump is empty requires a couple of casts. Add a convenient wrapper.
Add an example use in the netdev sample, loopback is always present so an empty dump is an error.
Reviewed-by: Nicolas Dichtel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
show more ...
|
|
Revision tags: v6.9-rc1, v6.8, v6.8-rc7, v6.8-rc6, v6.8-rc5, v6.8-rc4, v6.8-rc3, v6.8-rc2, v6.8-rc1, v6.7, v6.7-rc8, v6.7-rc7, v6.7-rc6, v6.7-rc5, v6.7-rc4 |
|
| #
9276009d |
| 27-Nov-2023 |
Stanislav Fomichev <[email protected]> |
tools: ynl: Print xsk-features from the sample
In a similar fashion we do for the other bit masks. Fix mask parsing (>= vs >) while we are it.
Signed-off-by: Stanislav Fomichev <[email protected]> Rev
tools: ynl: Print xsk-features from the sample
In a similar fashion we do for the other bit masks. Fix mask parsing (>= vs >) while we are it.
Signed-off-by: Stanislav Fomichev <[email protected]> Reviewed-by: Jakub Kicinski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
show more ...
|
|
Revision tags: v6.7-rc3, v6.7-rc2, v6.7-rc1, v6.6, v6.6-rc7, v6.6-rc6, v6.6-rc5, v6.6-rc4, v6.6-rc3, v6.6-rc2 |
|
| #
0c6c9b10 |
| 13-Sep-2023 |
Stanislav Fomichev <[email protected]> |
tools: ynl: extend netdev sample to dump xdp-rx-metadata-features
The tool can be used to verify that everything works end to end.
Unrelated updates: - include tools/include/uapi to pick the latest
tools: ynl: extend netdev sample to dump xdp-rx-metadata-features
The tool can be used to verify that everything works end to end.
Unrelated updates: - include tools/include/uapi to pick the latest kernel uapi headers - print "xdp-features" and "xdp-rx-metadata-features" so it's clear which bitmask is being dumped
Cc: [email protected] Cc: Willem de Bruijn <[email protected]> Signed-off-by: Stanislav Fomichev <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin KaFai Lau <[email protected]>
show more ...
|
|
Revision tags: v6.6-rc1, v6.5, v6.5-rc7, v6.5-rc6, v6.5-rc5, v6.5-rc4 |
|
| #
26fdb67e |
| 27-Jul-2023 |
Stanislav Fomichev <[email protected]> |
ynl: print xdp-zc-max-segs in the sample
Technically we don't have to keep extending the sample, but it feels useful to run these tools locally to confirm everything is working.
Signed-off-by: Stan
ynl: print xdp-zc-max-segs in the sample
Technically we don't have to keep extending the sample, but it feels useful to run these tools locally to confirm everything is working.
Signed-off-by: Stanislav Fomichev <[email protected]> Reviewed-by: Jakub Kicinski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
show more ...
|
|
Revision tags: v6.5-rc3, v6.5-rc2, v6.5-rc1, v6.4, v6.4-rc7, v6.4-rc6 |
|
| #
ee0202e2 |
| 05-Jun-2023 |
Jakub Kicinski <[email protected]> |
tools: ynl: add sample for netdev
Add a sample application using the C library. My main goal is to make writing selftests easier but until I have some of those ready I think it's useful to show off
tools: ynl: add sample for netdev
Add a sample application using the C library. My main goal is to make writing selftests easier but until I have some of those ready I think it's useful to show off the functionality and let people poke and tinker.
Sample outputs - dump:
$ ./netdev Select ifc ($ifindex; or 0 = dump; or -2 ntf check): 0 lo[1] 0: enp1s0[2] 23: basic redirect rx-sg
Notifications (watching veth pair getting added and deleted):
$ ./netdev Select ifc ($ifindex; or 0 = dump; or -2 ntf check): -2 [53] 0: (ntf: dev-add-ntf) [54] 0: (ntf: dev-add-ntf) [54] 23: basic redirect rx-sg (ntf: dev-change-ntf) [53] 23: basic redirect rx-sg (ntf: dev-change-ntf) [53] 23: basic redirect rx-sg (ntf: dev-del-ntf) [54] 23: basic redirect rx-sg (ntf: dev-del-ntf)
Reviewed-by: Willem de Bruijn <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
show more ...
|