]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6d373b94aa6b85a92c4695c75dde557fb2dd1396
treef35734f2be59f6059f44b647040d2eec13f572be
parentc02b97488f354bcaffa981a748e5be0a63344f87
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