summaryrefslogtreecommitdiff
path: root/drivers/vhost
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2018-09-12 06:17:08 +0300
committerDavid S. Miller <davem@davemloft.net>2018-09-13 19:25:41 +0300
commit0efac27791ee068075d80f07c55a229b1335ce12 (patch)
tree91a1d78027c8581e429649970acc748951c36819 /drivers/vhost
parent043d222f93ab8c76b56a3b315cd8692e35affb6c (diff)
downloadlinux-0efac27791ee068075d80f07c55a229b1335ce12.tar.xz
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>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions