mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
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 <sdf@google.com> Reviewed-by: Jakub Kicinski <kuba@kernel.org> Link: https://lore.kernel.org/r/20230727163001.3952878-5-sdf@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
25b5a2a190
commit
26fdb67e8b
@ -38,6 +38,8 @@ static void netdev_print_device(struct netdev_dev_get_rsp *d, unsigned int op)
|
||||
printf(" %s", netdev_xdp_act_str(1 << i));
|
||||
}
|
||||
|
||||
printf(" xdp-zc-max-segs=%u", d->xdp_zc_max_segs);
|
||||
|
||||
name = netdev_op_str(op);
|
||||
if (name)
|
||||
printf(" (ntf: %s)", name);
|
||||
|
Loading…
Reference in New Issue
Block a user