virtio_net: rework mergeable buffer handling
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 6 Mar 2017 19:29:47 +0000 (21:29 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 May 2017 13:43:20 +0000 (16:43 +0300)
commit680557cf79f82623e2c4fd42733077d60a843513
treeaae641dc2c2153e8e22849fc929f70b026996136
parentd45b897b11eaf9847c4b9bc99a91279041b1bbf7
virtio_net: rework mergeable buffer handling

Use the new _ctx virtio API to maintain true length for each buffer.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/net/virtio_net.c