]> git.baikalelectronics.ru Git - kernel.git/commit
fm10k: Only trigger data path reset if fabric is up
authorAlexander Duyck <alexander.duyck@redhat.com>
Wed, 24 Jun 2015 20:34:49 +0000 (13:34 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 16 Sep 2015 00:06:19 +0000 (17:06 -0700)
commit34f2ee48c2a2177b28cd2d135537fb38ecc064d1
tree36ff6f087a565d5b376784e705904052ee6f47e9
parent0223df17b10f7e9d570785743c24fae901174bd5
fm10k: Only trigger data path reset if fabric is up

This change makes it so that we only trigger the data path reset if the
fabric is ready to handle traffic.  The general idea is to avoid
triggering the reset unless the switch API is ready for us.  Otherwise
we can just postpone the reset until we receive a switch ready
notification.

Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_pf.c