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

2019-10-29 Thread William Tu
Hi Eelco, Thanks for your review. On Tue, Oct 29, 2019 at 8:28 AM Eelco Chaudron wrote: > > See comments inline… > > On 5 Oct 2019, at 2:12, William Tu wrote: > > > Now netdev-afxdp always forwards all packets to userspace because > > it is using libbpf's default XDP program, see

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

2019-10-29 Thread Eelco Chaudron
See comments inline… On 5 Oct 2019, at 2:12, 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 of sending to userspace,

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

2019-10-04 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