]> 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)
commit8804a761b77472c7ab8ca8d6e004799baa5fc3ac
tree52e507b4abe7d55d6498fa7f762840cd6111b78e
parent44a36873a7ab9d9c7adfd7b72670d066ac9e06e0
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