Home
last modified time | relevance | path

Searched hist:"0 efac27791ee068075d80f07c55a229b1335ce12" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/
H A Dtap.cdiff 0efac27791ee068075d80f07c55a229b1335ce12 Tue Sep 11 22:17:08 CDT 2018 Jason Wang <jasowang@redhat.com> tap: accept an array of XDP buffs through sendmsg()

This patch implement TUN_MSG_PTR msg_control type. This type allows
the caller to pass an array of XDP buffs to tuntap through ptr field
of the tun_msg_control. Tap will build skb through those XDP buffers.

This will avoid lots of indirect calls thus improves the icache
utilization and allows to do XDP batched flushing when doing XDP
redirection.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>