OSDN Git Service

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)
commita7da7f16267b96cfd0bf753e1733080ef71e6b66
treec7a1c0de1f4fda1e72d609211f6df351847424de
parent8ef988b914bd449458eb2174febb67b0f137b33c
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