OSDN Git Service

i40e: do not bail when disabling if Tx queue disable fails
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Sat, 21 Dec 2013 05:44:44 +0000 (05:44 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 11 Jan 2014 00:30:34 +0000 (16:30 -0800)
commit3b867b28ceeef2f958937c7ed1121fd6c99fead2
tree2cfa744b8929f01457f04726fb46b2a1909e6a98
parent5f90f42298e547cb721196f3d3f882276e338190
i40e: do not bail when disabling if Tx queue disable fails

Fix a bug where the driver was erroneously exiting the driver unload
path if one part of the unload failed.  Instead of the original way
the driver should always continue when disabling and be sure to disable
all queues.

Change-ID: Ib8c81c596bc87c31d8e9ca97ebf871168475279d
Signed-off-by: Anjali Singhai Jain <anjali.singhai@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