]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: fix inconsistent statuses after a PF reset
authorHelin Zhang <helin.zhang@intel.com>
Thu, 1 Oct 2015 18:37:38 +0000 (14:37 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 16:33:09 +0000 (08:33 -0800)
commit93a49897794d0d12e13b7dadb61f5bcbfe91a656
treec6f3222edbfdd8a0cd22b9bab2fe4d7934da9abb
parent0d694bab6b485d506b65a68c498761e136e9ac47
i40e: fix inconsistent statuses after a PF reset

Orabug: 22342532

This patch fixes a problem of possibly getting inconsistent flow control
statuses after a PF reset. Requested_mode was being set with a default
value during probing, but the initial HW state could be different from
this mode.

Change-ID: I772bf07b78616e87086418d4bd87954b66fa17cd
Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 58fc3267f151f6facfc94c6982bef09a53bb5219)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_main.c