diff options
| author | Anjali Singhai Jain <anjali.singhai@intel.com> | 2016-01-15 14:33:12 -0800 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-02-17 22:44:00 -0800 |
| commit | dd353109e41c1e92e0cea9954404a6f5a7d46218 (patch) | |
| tree | 1a7849253faa0c0580f230d96af6c99250692ca9 /lib/mpi/mpiutil.c | |
| parent | f734dfff2f2bc2d92c392fbcfe2039893a8cdd08 (diff) | |
i40e: Add a SW workaround for lost interrupts
This patch adds a workaround for cases where we might have
interrupts that got lost but WB happened.
If that happens without this patch we will see a tx_timeout.
To work around it, this patch goes ahead and reschedules NAPI
in that situation, if NAPI is not already scheduled.
We also add a counter in ethtool to keep track of when
we detect a case of tx_lost_interrupt.
Note: napi_reschedule() can be safely called from process/service_task
context and is done in other drivers as well without an issue.
Change-ID: I00f98f1ce3774524d9421227652bef20fcbd0d20
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
