]> git.baikalelectronics.ru Git - kernel.git/commit
i40evf: kick a stalled admin queue
authorMitch A Williams <mitch.a.williams@intel.com>
Tue, 9 Dec 2014 08:53:08 +0000 (08:53 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 13 Jan 2015 19:47:44 +0000 (11:47 -0800)
commit123d24eec6a192379302fc184a0d403c1a3733eb
tree52e507b4abe7d55d6498fa7f762840cd6111b78e
parenteb40f5ef3b2ca1b22897ba4fc7f6507d9c69c24a
i40evf: kick a stalled admin queue

On some versions of the firmware, the VF admin send queue may become
stalled. In this case, the easiest solution is to just place another
descriptor on the queue; the firmware will then process both requests.

The early init code already accounts for this, but the runtime code does
not. In the watchdog task, check for the stall condition, and if it's
found, send our API version to the PF. When the PF replies, just ignore
the reply.

Change-ID: I380d78185a4f284d649c44d263e648afc9b4d50c
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Acked-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c
drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c