Fam Zheng e813f0d881 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>
2015-07-27 14:12:18 +01:00
..
2015-07-20 17:47:24 +01:00
2015-07-13 13:35:51 +01:00
2015-07-24 13:07:10 +01:00
2015-07-13 13:35:51 +01:00
2015-07-20 12:21:18 -04:00
2015-07-08 10:09:55 +03:00
2015-07-27 14:12:18 +01:00
2015-07-14 19:10:03 +02:00
2015-07-27 14:12:18 +01:00
2015-07-22 14:56:01 -06:00
2015-07-20 13:25:28 +01:00