i40e: Don't check for Tx hang when PF down
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Sat, 21 Feb 2015 06:42:15 +0000 (06:42 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 26 Feb 2015 12:53:57 +0000 (04:53 -0800)
commitb67a03357cab0ccb91d641fead6f167c697a24cb
treea721bff7ee57bbcd5ac6923779f9b13ead540ff1
parentde78fc5ac1702059ca13203010fd0a3dd20d426f
i40e: Don't check for Tx hang when PF down

This patch adds check to bail out if device is already down when checking
for Tx hang subtask.

Change-ID: I3853fb7a6d11cb9a4c349b687cb25c15b19977a0
Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c