]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 26 Feb 2017 06:03:14 +0000 (22:03 -0800)
commitb04bcd5007a6822911fc8d38f2a560bb5fbbf2de
tree7cce45a618edee852ad99ab3d8542e97afe1151a
parent096cc4114b78e0e65106f34cffb2869757256f78
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>
Orabug: 25394529
(cherry picked from commit ac98100359e098d03dbd98783ca4becaf2ea7ec3)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/intel/fm10k/fm10k_pf.c