[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 6 Jun 2023 14:39:37 +0200
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, simon.horman@...igine.com, sdf@...gle.com
Subject: Re: [PATCH net-next v3 4/4] tools: ynl: add sample for netdev
On Mon, Jun 5, 2023 at 9:01 PM Jakub Kicinski <kuba@...nel.org> wrote:
>
> 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)
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
Reviewed-by: Willem de Bruijn <willemb@...gle.com>
Powered by blists - more mailing lists