On 2017年12月08日 06:11, Eric Dumazet wrote:
On Mon, 2017-12-04 at 17:31 +0800, Jason Wang wrote:
This patch introduces an eBPF based queue selection method. With
this,
the policy could be offloaded to userspace completely through a new
ioctl TUNSETSTEERINGEBPF.
Sorry for the delay, I see this p
On Mon, 2017-12-04 at 17:31 +0800, Jason Wang wrote:
> This patch introduces an eBPF based queue selection method. With
> this,
> the policy could be offloaded to userspace completely through a new
> ioctl TUNSETSTEERINGEBPF.
Sorry for the delay, I see this patch was merged already.
...
> stati
On 2017年12月06日 01:02, David Miller wrote:
From: Jason Wang
Date: Mon, 4 Dec 2017 17:31:23 +0800
This patch introduces an eBPF based queue selection method. With this,
the policy could be offloaded to userspace completely through a new
ioctl TUNSETSTEERINGEBPF.
Signed-off-by: Jason Wang
--
From: Jason Wang
Date: Mon, 4 Dec 2017 17:31:23 +0800
> This patch introduces an eBPF based queue selection method. With this,
> the policy could be offloaded to userspace completely through a new
> ioctl TUNSETSTEERINGEBPF.
>
> Signed-off-by: Jason Wang
> ---
> Changes from V2:
> - call rtnl
On Tue, Dec 5, 2017 at 2:29 AM, Jason Wang wrote:
>
>
> On 2017年12月05日 08:16, Willem de Bruijn wrote:
>>
>> On Mon, Dec 4, 2017 at 4:31 AM, Jason Wang wrote:
>>>
>>> This patch introduces an eBPF based queue selection method. With this,
>>> the policy could be offloaded to userspace completely th
On 2017年12月05日 08:16, Willem de Bruijn wrote:
On Mon, Dec 4, 2017 at 4:31 AM, Jason Wang wrote:
This patch introduces an eBPF based queue selection method. With this,
the policy could be offloaded to userspace completely through a new
ioctl TUNSETSTEERINGEBPF.
Signed-off-by: Jason Wang
---
On Mon, Dec 4, 2017 at 4:31 AM, Jason Wang wrote:
> This patch introduces an eBPF based queue selection method. With this,
> the policy could be offloaded to userspace completely through a new
> ioctl TUNSETSTEERINGEBPF.
>
> Signed-off-by: Jason Wang
> ---
> +static u16 tun_ebpf_select_queue(str
This patch introduces an eBPF based queue selection method. With this,
the policy could be offloaded to userspace completely through a new
ioctl TUNSETSTEERINGEBPF.
Signed-off-by: Jason Wang
---
Changes from V2:
- call rtnl during netdev free
- switch to use call_rcu() to prevent DOS from userspa