summaryrefslogtreecommitdiffstats
path: root/trace-events
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2015-07-15 18:19:08 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2015-07-27 14:12:18 +0100
commite813f0d8813944061fa9bde861cf6899379843e6 (patch)
treec13196af225190f0efc22fe1208067391e4de28b /trace-events
parent575bafd1f387c5f06b59cf2515f6bb1eff9d119d (diff)
downloadhqemu-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
OpenPOWER on IntegriCloud