Re: [PATCH net-next V2 0/2] XDP transmission for tuntap

2018-01-09 Thread Jason Wang
On 2018年01月10日 00:06, David Miller wrote: From: Jason Wang Date: Thu, 4 Jan 2018 11:14:26 +0800 This series tries to implement XDP transmission (ndo_xdp_xmit) for tuntap. Pointer ring was used for queuing both XDP buffers and sk_buff, this is done by encoding the type into lowest bit of the

Re: [PATCH net-next V2 0/2] XDP transmission for tuntap

2018-01-09 Thread David Miller
From: Jason Wang Date: Thu, 4 Jan 2018 11:14:26 +0800 > This series tries to implement XDP transmission (ndo_xdp_xmit) for > tuntap. Pointer ring was used for queuing both XDP buffers and > sk_buff, this is done by encoding the type into lowest bit of the > pointer and storin XDP metadata in the

[PATCH net-next V2 0/2] XDP transmission for tuntap

2018-01-03 Thread Jason Wang
Hi all: This series tries to implement XDP transmission (ndo_xdp_xmit) for tuntap. Pointer ring was used for queuing both XDP buffers and sk_buff, this is done by encoding the type into lowest bit of the pointer and storin XDP metadata in the headroom of XDP buff. Tests gets 3.05 Mpps when doing