Re: [RFC PATCH 1/6] net: Added SetSteeringEBPF method for NetClientState.

2020-11-04 Thread Yuri Benditovich
On Wed, Nov 4, 2020 at 4:49 AM Jason Wang wrote: > > On 2020/11/3 上午2:51, Andrew Melnychenko wrote: > > From: Andrew > > > > For now, that method supported only by Linux TAP. > > Linux TAP uses TUNSETSTEERINGEBPF ioctl. > > TUNSETSTEERINGBPF was added 3 years ago. > > Qemu checks if it was defin

Re: [RFC PATCH 1/6] net: Added SetSteeringEBPF method for NetClientState.

2020-11-03 Thread Jason Wang
On 2020/11/3 上午2:51, Andrew Melnychenko wrote: From: Andrew For now, that method supported only by Linux TAP. Linux TAP uses TUNSETSTEERINGEBPF ioctl. TUNSETSTEERINGBPF was added 3 years ago. Qemu checks if it was defined before using. Signed-off-by: Andrew Melnychenko --- include/net/net

[RFC PATCH 1/6] net: Added SetSteeringEBPF method for NetClientState.

2020-11-02 Thread Andrew Melnychenko
From: Andrew For now, that method supported only by Linux TAP. Linux TAP uses TUNSETSTEERINGEBPF ioctl. TUNSETSTEERINGBPF was added 3 years ago. Qemu checks if it was defined before using. Signed-off-by: Andrew Melnychenko --- include/net/net.h | 2 ++ net/tap-bsd.c | 5 + net/tap-li