[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iKzHUDaOX9W-0n4obYCkQmtspCtp+j3hR+qootqu1+fUQ@mail.gmail.com>
Date: Wed, 22 Nov 2023 10:35:28 +0100
From: Eric Dumazet <edumazet@...gle.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, pabeni@...hat.com,
almasrymina@...gle.com, hawk@...nel.org, ilias.apalodimas@...aro.org,
dsahern@...il.com, dtatulea@...dia.com, willemb@...gle.com
Subject: Re: [PATCH net-next v3 07/13] net: page_pool: implement GET in the
netlink API
On Wed, Nov 22, 2023 at 4:44 AM Jakub Kicinski <kuba@...nel.org> wrote:
>
> Expose the very basic page pool information via netlink.
>
> Example using ynl-py for a system with 9 queues:
>
> $ ./cli.py --no-schema --spec netlink/specs/netdev.yaml \
> --dump page-pool-get
> [{'id': 19, 'ifindex': 2, 'napi-id': 147},
> {'id': 18, 'ifindex': 2, 'napi-id': 146},
> {'id': 17, 'ifindex': 2, 'napi-id': 145},
> {'id': 16, 'ifindex': 2, 'napi-id': 144},
> {'id': 15, 'ifindex': 2, 'napi-id': 143},
> {'id': 14, 'ifindex': 2, 'napi-id': 142},
> {'id': 13, 'ifindex': 2, 'napi-id': 141},
> {'id': 12, 'ifindex': 2, 'napi-id': 140},
> {'id': 11, 'ifindex': 2, 'napi-id': 139},
> {'id': 10, 'ifindex': 2, 'napi-id': 138}]
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists