aboutsummaryrefslogtreecommitdiff
path: root/hw/net/e1000e_core.c
diff options
context:
space:
mode:
authorDmitry Fleytman <dmitry@daynix.com>2016-09-15 09:14:24 +0300
committerJason Wang <jasowang@redhat.com>2016-09-27 17:54:22 +0800
commit6ee0e20b653817aa0adac89e21704842608e1639 (patch)
tree44a6b7d4d2281173513e31d3c354b255270931ba /hw/net/e1000e_core.c
parent47f9f15831faa549504ab9b035aaea44a02e5f95 (diff)
e1000e: Flush all receive queues on receive enable
Before this patch first netdev queue only was flushed. Signed-off-by: Dmitry Fleytman <dmitry@daynix.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/e1000e_core.c')
-rw-r--r--hw/net/e1000e_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/e1000e_core.c b/hw/net/e1000e_core.c
index 03e3c462f1..ea2a484e9e 100644
--- a/hw/net/e1000e_core.c
+++ b/hw/net/e1000e_core.c
@@ -953,7 +953,7 @@ e1000e_has_rxbufs(E1000ECore *core, const E1000E_RingInfo *r,
core->rx_desc_buf_size;
}
-static inline void
+void
e1000e_start_recv(E1000ECore *core)
{
int i;