]> 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)
commit3f525a2da827eb2dd76e003752235c2ae574e6fa
treef35734f2be59f6059f44b647040d2eec13f572be
parentb99afc34b7eeda771febe4bb749e6c666bf3a861
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