]> git.proxmox.com Git - qemu.git/commit
e1000: NetClientInfo.receive_iov implemented
authorVincenzo Maffione <v.maffione@gmail.com>
Thu, 12 Sep 2013 08:47:37 +0000 (10:47 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 20 Sep 2013 17:49:14 +0000 (19:49 +0200)
commit97410dde60fdb66a65268fd9d7b14092efac7614
tree748f5cba84d04e18ff0ac4f611af057c38445572
parenta26405b350c0d31d5ef53f3b459aeb6eaaf50db0
e1000: NetClientInfo.receive_iov implemented

This patch implements the NetClientInfo.receive_iov method for the
e1000 device emulation. In this way a network backend that uses
qemu_sendv_packet() can deliver the fragmented packet without
requiring an additional copy in the frontend/backend network code
(nc_sendv_compat() function).

The existing method NetClientInfo.receive has been reimplemented
using the new method.

Signed-off-by: Vincenzo Maffione <v.maffione@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/net/e1000.c