diff options
| author | Fam Zheng | 2015-07-28 11:52:56 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2015-07-28 12:35:54 +0200 |
| commit | 7bba83bf80eae9c9e323319ff40d0ca477b0a77a (patch) | |
| tree | cf00d634e7b4c073e1fb791a5112fbc57fd05a5e /tests/qapi-schema/data-array-empty.json | |
| parent | hw/net: handle flow control in mcf_fec driver receiver (diff) | |
| download | qemu-7bba83bf80eae9c9e323319ff40d0ca477b0a77a.tar.gz qemu-7bba83bf80eae9c9e323319ff40d0ca477b0a77a.tar.xz qemu-7bba83bf80eae9c9e323319ff40d0ca477b0a77a.zip | |
xen: Drop net_rx_ok
Let net_rx_packet() (which checks the same conditions) drops the packet
if the device is not ready. Drop net_xen_info.can_receive and update the
return value for the buffer full case.
We rely on the qemu_flush_queued_packets() in net_event() to wake up
the peer when the buffer becomes available again.
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-id: 1438077176-378-1-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qapi-schema/data-array-empty.json')
0 files changed, 0 insertions, 0 deletions
