i40e: clear qtx_head before enabling Tx queue
authorShannon Nelson <shannon.nelson@intel.com>
Sat, 21 Dec 2013 05:44:48 +0000 (05:44 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 11 Jan 2014 00:30:35 +0000 (16:30 -0800)
commitc5c9eb9e78b2237ef81ef8cd83ba63206e266fc8
treea788c2429971987e74d3fd0dc0cdff927766c7ff
parent3126dcb7368c152d74cda11a025328853948f9b9
i40e: clear qtx_head before enabling Tx queue

Make sure the "new" qtx_head[q] register is cleared before
enabling the Tx queue.

Change-ID: I0c7a12815e343a5ae68807af172a35d6c6857935
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c