virtio_net: allow specifying context for rx
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 6 Mar 2017 18:31:21 +0000 (20:31 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 May 2017 13:43:15 +0000 (16:43 +0300)
commitd45b897b11eaf9847c4b9bc99a91279041b1bbf7
tree22a284031dc04036ee72990d8de15af1b1b47ead
parent5a08b04f637921e44ba767c07c74b0535504ab71
virtio_net: allow specifying context for rx

With mergeable buffers we never use s/g for rx,
so allow specifying context in that case.

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