]> 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)
commit6e98cba506296e163c40514efc47b9c0e63f79db
tree36ff6f087a565d5b376784e705904052ee6f47e9
parent137684b37525329eff8a5972a68dd3b5ca3e58dc
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