2024-02-04 01:28:38

by Jason Wang

[permalink] [raw]
Subject: Re: [PATCH net-next v2] tun: Implement ethtool's get_channels() callback

On Fri, Feb 2, 2024 at 3:53 PM Yunjian Wang <[email protected]> wrote:
>
> Implement the tun .get_channels functionality. This feature is necessary
> for some tools, such as libxdp, which need to retrieve the queue count.
>
> Signed-off-by: Yunjian Wang <[email protected]>
> ---
> v2: add conditional on IFF_MULTI_QUEUE
> ---
> drivers/net/tun.c | 10 ++++++++++
> 1 file changed, 10 insertions(+)

Acked-by: Jason Wang <[email protected]>

Thanks