Re: [ovs-dev] [PATCHv3] netdev-afxdp: Enable loading XDP program.

2019-11-06 Thread William Tu
On Tue, Nov 05, 2019 at 05:06:10PM +0100, Eelco Chaudron wrote: > Hi William, > > See some comments inline. > > //Eelco > > Hi Eelco, Thanks for your feedback. > On 1 Nov 2019, at 21:14, William Tu wrote: > > >Now netdev-afxdp always forwards all packets to userspace because > >it is using l

Re: [ovs-dev] [PATCHv3] netdev-afxdp: Enable loading XDP program.

2019-11-05 Thread Eelco Chaudron
Hi William, See some comments inline. //Eelco On 1 Nov 2019, at 21:14, William Tu wrote: Now netdev-afxdp always forwards all packets to userspace because it is using libbpf's default XDP program, see 'xsk_load_xdp_prog'. There are some cases when users want to keep packets in kernel instead

[ovs-dev] [PATCHv3] netdev-afxdp: Enable loading XDP program.

2019-11-01 Thread William Tu
Now netdev-afxdp always forwards all packets to userspace because it is using libbpf's default XDP program, see 'xsk_load_xdp_prog'. There are some cases when users want to keep packets in kernel instead of sending to userspace, for example, management traffic such as SSH should be processed in ker