[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240710081821.63b6f6d1@hermes.local>
Date: Wed, 10 Jul 2024 08:18:21 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: ayaka <ayaka@...lik.info>
Cc: netdev@...r.kernel.org
Subject: Re: tun: need an ioctl() cmd to get multi_queue index?
On Wed, 10 Jul 2024 17:40:46 +0800
ayaka <ayaka@...lik.info> wrote:
> Hello All
>
> I have read some example that filter packet with tc qdisc. It could a very useful feature for dispatcher in a VPN program.
> But I didn’t find an ioctl() to fetch the queue index, which I believe is the queue number used in tc qdisc.
> There is an ioctl() which set the ifindex which would affect the queue_index storing in the same union. But I don’t think there is an ioctl() to fetch it.
>
> If I was right, could I add a new ioctl() cmd for that?
>
> Sincerely
> Randy
In the case of TUN, each queue is handled by a different file descriptor.
Powered by blists - more mailing lists