]> git.baikalelectronics.ru Git - kernel.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)
commit71c1b28b80752ca066e278700b54a6de01eddf23
treefa30c9f0b7d5bdc54acc83ab0c088396c4a6f28b
parent74910fcc186b4925079e3262422e1b00237082d1
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