]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: Assure that adminq is alive in debug mode
authorShannon Nelson <shannon.nelson@intel.com>
Thu, 10 Mar 2016 22:59:44 +0000 (14:59 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 7 Jul 2016 17:40:45 +0000 (10:40 -0700)
commiteb8567f6dd322b77717c9f6c368c40ab727652cb
tree8e2b72eddfb61bfe3291ba65f4fc8cd5d971dc20
parentc2ca9f7c03b4db3a9fe411159eb5d3bb33ae8cb7
i40e: Assure that adminq is alive in debug mode

Orabug: 23176970

When dropping into debug mode in a failed probe, make sure that
the AdminQ is left alive for possible hand debug of driver and
firmware states.

Move the mutex_init calls earlier in probe so that if init fails,
the admin queue interface is still available for debugging purposes.

Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit de03d2b0ef6520cf9da2e429cd7afb534782b737)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_main.c