diff options
author | Jason Wang <jasowang@redhat.com> | 2018-03-02 17:29:14 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-04 18:37:54 -0500 |
commit | 51568d69407d939e898a150b13cf48d226f53303 (patch) | |
tree | 47da897229c1fd9094fb43e7b7d512b816d45d2e /include | |
parent | 053533fc7577ddbe14b2a7c4a8fc70ce3fbb3547 (diff) | |
download | linux-51568d69407d939e898a150b13cf48d226f53303.tar.bz2 |
virtio-net: re enable XDP_REDIRECT for mergeable buffer
XDP_REDIRECT support for mergeable buffer was removed since commit
7324f5399b06 ("virtio_net: disable XDP_REDIRECT in receive_mergeable()
case"). This is because we don't reserve enough tailroom for struct
skb_shared_info which breaks XDP assumption. So this patch fixes this
by reserving enough tailroom and using fixed size of rx buffer.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions