]> git.karo-electronics.de Git - linux-beck.git/commit
i40e: Add PF reset when Malicious driver event for PF
authorNeerav Parikh <neerav.parikh@intel.com>
Wed, 4 Jun 2014 01:23:15 +0000 (01:23 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 25 Jun 2014 01:18:27 +0000 (18:18 -0700)
commitdf430b1240d3375d053230d1f943383d59f9267a
treefa30c9f0b7d5bdc54acc83ab0c088396c4a6f28b
parent23cfbe074da66305d992c663b778d12476eeefce
i40e: Add PF reset when Malicious driver event for PF

As per the spec when the PF driver receives a Malicious driver event
the queue that caused the event is already stopped and it is expected
that the function that owns the queue will reset the queue.
In some cases it may not be possible to determine the queue and it is
suggested to reset the whole function.

This patch takes the later approach when the event is owned by the PF
that owns it.

Change-ID: I40f9764a6a5e068c0ef8438db00c5aa9c2c6c1c8
Signed-off-by: Neerav Parikh <neerav.parikh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c