summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Iremonger <bernard.iremonger@intel.com>2015-07-03 15:03:58 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-07-19 21:31:38 +0200
commitde605cb1bc62105d5611fd9667416c2d71be17c7 (patch)
treeb0584459d8795b36105e514965f55684d11d8a73
parent0b475bb5bb7c3b4a88ac3a0e5b9bfdf947d4c7aa (diff)
downloaddpdk-de605cb1bc62105d5611fd9667416c2d71be17c7.zip
dpdk-de605cb1bc62105d5611fd9667416c2d71be17c7.tar.gz
dpdk-de605cb1bc62105d5611fd9667416c2d71be17c7.tar.xz
i40evf: clear queues when stopping
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com> Acked-by: Helin Zhang <helin.zhang@intel.com>
-rw-r--r--drivers/net/i40e/i40e_ethdev_vf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c
index f79516a..6d1cc6a 100644
--- a/drivers/net/i40e/i40e_ethdev_vf.c
+++ b/drivers/net/i40e/i40e_ethdev_vf.c
@@ -1620,6 +1620,7 @@ i40evf_dev_stop(struct rte_eth_dev *dev)
i40evf_disable_queues_intr(hw);
i40evf_stop_queues(dev);
+ i40e_dev_clear_queues(dev);
}
static int