[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+f9V1NWHDnX0Y7EzAkKnwZL3VLxnvTBfWyQwtrYdA0hp7Z88A@mail.gmail.com>
Date: Tue, 1 Oct 2024 08:37:18 -0700
From: Praveen Kaligineedi <pkaligineedi@...gle.com>
To: Joe Damato <jdamato@...tly.com>
Cc: netdev@...r.kernel.org, horms@...nel.org,
Jeroen de Borst <jeroendb@...gle.com>, Shailend Chand <shailend@...gle.com>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Willem de Bruijn <willemb@...gle.com>, Harshitha Ramamurthy <hramamurthy@...gle.com>,
Ziwei Xiao <ziweixiao@...gle.com>, open list <linux-kernel@...r.kernel.org>
Subject: Re: [net-next v2 2/2] gve: Map NAPI instances to queues
On Mon, Sep 30, 2024 at 2:08 PM Joe Damato <jdamato@...tly.com> wrote:
>
> Use the netdev-genl interface to map NAPI instances to queues so that
> this information is accessible to user programs via netlink.
>
> $ ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/netdev.yaml \
> --dump queue-get --json='{"ifindex": 2}'
>
> [{'id': 0, 'ifindex': 2, 'napi-id': 8313, 'type': 'rx'},
> {'id': 1, 'ifindex': 2, 'napi-id': 8314, 'type': 'rx'},
> {'id': 2, 'ifindex': 2, 'napi-id': 8315, 'type': 'rx'},
> {'id': 3, 'ifindex': 2, 'napi-id': 8316, 'type': 'rx'},
> {'id': 4, 'ifindex': 2, 'napi-id': 8317, 'type': 'rx'},
> [...]
> {'id': 0, 'ifindex': 2, 'napi-id': 8297, 'type': 'tx'},
> {'id': 1, 'ifindex': 2, 'napi-id': 8298, 'type': 'tx'},
> {'id': 2, 'ifindex': 2, 'napi-id': 8299, 'type': 'tx'},
> {'id': 3, 'ifindex': 2, 'napi-id': 8300, 'type': 'tx'},
> {'id': 4, 'ifindex': 2, 'napi-id': 8301, 'type': 'tx'},
> [...]
>
> Signed-off-by: Joe Damato <jdamato@...tly.com>
Reviewed-by: Praveen Kaligineedi <pkaligineedi@...gle.com>
Powered by blists - more mailing lists