diff options
author | Fam Zheng <famz@redhat.com> | 2015-07-15 18:19:08 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2015-07-27 14:12:18 +0100 |
commit | e813f0d8813944061fa9bde861cf6899379843e6 (patch) | |
tree | c13196af225190f0efc22fe1208067391e4de28b /trace-events | |
parent | 575bafd1f387c5f06b59cf2515f6bb1eff9d119d (diff) | |
download | hqemu-e813f0d8813944061fa9bde861cf6899379843e6.zip hqemu-e813f0d8813944061fa9bde861cf6899379843e6.tar.gz |
mcf_fec: Drop mcf_fec_can_receive
The semantics of .can_receive requires us to flush the queue explicitly
when s->rx_enabled becomes true after it returns 0, but the packet being
queued is not meaningful since the guest hasn't activated the card.
Let's just drop the packet in this case.
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Message-id: 1436955553-22791-8-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'trace-events')
0 files changed, 0 insertions, 0 deletions