Re: [PATCH net-next 01/11] net: sock: introduce SOCK_XDP

2018-09-06 Thread Jason Wang
On 2018年09月07日 00:56, Michael S. Tsirkin wrote: On Thu, Sep 06, 2018 at 12:05:16PM +0800, Jason Wang wrote: This patch introduces a new sock flag - SOCK_XDP. This will be used for notifying the upper layer that XDP program is attached on the lower socket, and requires for extra headroom. TUN

Re: [PATCH net-next 01/11] net: sock: introduce SOCK_XDP

2018-09-06 Thread Michael S. Tsirkin
On Thu, Sep 06, 2018 at 12:05:16PM +0800, Jason Wang wrote: > This patch introduces a new sock flag - SOCK_XDP. This will be used > for notifying the upper layer that XDP program is attached on the > lower socket, and requires for extra headroom. > > TUN will be the first user. > >

[PATCH net-next 01/11] net: sock: introduce SOCK_XDP

2018-09-05 Thread Jason Wang
This patch introduces a new sock flag - SOCK_XDP. This will be used for notifying the upper layer that XDP program is attached on the lower socket, and requires for extra headroom. TUN will be the first user. Signed-off-by: Jason Wang --- drivers/net/tun.c | 19 +++