OSDN Git Service

virtio-net: Support IFF_TX_SKB_NO_LINEAR flag
authorXuan Zhuo <xuanzhuo@linux.alibaba.com>
Thu, 18 Feb 2021 20:50:17 +0000 (20:50 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 24 Feb 2021 23:56:11 +0000 (00:56 +0100)
commitab5bd583b9289666e918f9e5f672d33ccdfd49b2
treef35734f2be59f6059f44b647040d2eec13f572be
parentc2ff53d8049f30098153cd2d1299a44d7b124c57
virtio-net: Support IFF_TX_SKB_NO_LINEAR flag

Virtio net supports the case where the skb linear space is empty, so
add priv_flags.

Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Signed-off-by: Alexander Lobakin <alobakin@pm.me>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20210218204908.5455-4-alobakin@pm.me
drivers/net/virtio_net.c