Damjan Marion d8e80ae37a vhost-user: fix VIRTIO_NET_F_MRG_RXBUF negotiation
Header length check should happen only if backend is kernel. For user
backend there is no reason to reset this bit.

vhost-user code does not define .has_vnet_hdr_len so
VIRTIO_NET_F_MRG_RXBUF cannot be negotiated even if both sides
support it.

Signed-off-by: Damjan Marion <damarion@cisco.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-09-18 21:51:24 +03:00
..
2014-08-15 19:12:48 +04:00
2013-12-24 18:02:18 +01:00
2014-09-02 22:38:16 +04:00
2014-09-04 13:33:53 +01:00
2014-09-08 11:12:44 +01:00
2014-09-02 22:38:16 +04:00
2014-09-02 22:38:16 +04:00
2014-09-02 22:38:16 +04:00
2014-08-14 13:22:00 +02:00
2014-06-30 21:13:30 +02:00
2014-09-08 12:02:07 +01:00
2014-09-01 09:25:32 +02:00
2014-09-04 12:20:41 +01:00
2014-06-30 21:13:30 +02:00
2014-09-02 22:38:16 +04:00
2014-08-25 00:16:06 +02:00
2014-08-18 12:06:21 +02:00