]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix for allowing too many MDD events on VF
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Thu, 28 Feb 2019 17:52:47 +0000 (09:52 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 3 May 2019 21:31:05 +0000 (14:31 -0700)
commit190cdd3ce8ea3ede0d94aa4d3ad67222f8882518
treec7a1c0de1f4fda1e72d609211f6df351847424de
parentec76cd56367a488a6b239f053b536509bc57f2b4
i40e: Fix for allowing too many MDD events on VF

This patch changes the driver behavior when detecting a VF MDD event.
It now disables the VF after one event, which indicates a hw detected
problem in the VF.  Before this change, the PF would allow a couple of
events before doing the reset.

Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c