From 6ee0e20b653817aa0adac89e21704842608e1639 Mon Sep 17 00:00:00 2001 From: Dmitry Fleytman Date: Thu, 15 Sep 2016 09:14:24 +0300 Subject: e1000e: Flush all receive queues on receive enable Before this patch first netdev queue only was flushed. Signed-off-by: Dmitry Fleytman Signed-off-by: Jason Wang --- hw/net/e1000e_core.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hw/net/e1000e_core.h') diff --git a/hw/net/e1000e_core.h b/hw/net/e1000e_core.h index 5f413a9e08..1ff6978ca1 100644 --- a/hw/net/e1000e_core.h +++ b/hw/net/e1000e_core.h @@ -144,3 +144,6 @@ e1000e_receive(E1000ECore *core, const uint8_t *buf, size_t size); ssize_t e1000e_receive_iov(E1000ECore *core, const struct iovec *iov, int iovcnt); + +void +e1000e_start_recv(E1000ECore *core); -- cgit v1.2.3