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

From: Jason Wang
Date: Sat Feb 03 2024 - 20:27:53 EST


On Fri, Feb 2, 2024 at 3:53 PM Yunjian Wang <wangyunjian@xxxxxxxxxx> 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 <wangyunjian@xxxxxxxxxx>
> ---
> v2: add conditional on IFF_MULTI_QUEUE
> ---
> drivers/net/tun.c | 10 ++++++++++
> 1 file changed, 10 insertions(+)

Acked-by: Jason Wang <jasowang@xxxxxxxxxx>

Thanks