i40evf: clear queues when stopping
authorBernard Iremonger <bernard.iremonger@intel.com>
Fri, 3 Jul 2015 14:03:58 +0000 (15:03 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 19 Jul 2015 19:31:38 +0000 (21:31 +0200)
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
drivers/net/i40e/i40e_ethdev_vf.c

index f79516a..6d1cc6a 100644 (file)
@@ -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