diff options
author | Jacob Keller <[email protected]> | 2016-06-20 10:39:32 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2016-08-29 01:31:03 -0700 |
commit | e5fbfb78641ff0c5139ae665289ed9f91524265e (patch) | |
tree | 355097bd988d86b0d330105fb76c1571313f7629 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | ce4dad2ce231aa5258ddfc98f8a80d958643c014 (diff) |
fm10k: NAPI polling routine must return actual work done
When fm10k_poll fully cleans rings it returns 0. This is incorrect as it
messes up the budget accounting in the core NAPI code. Fix this by
returning actual work done, capped at budget - 1 since the core doesn't
expect a return of the full budget when the driver modifies the NAPI
status.
Cc: Paolo Abeni <[email protected]>
Cc: Venkatesh Srinivas <[email protected]>
Signed-off-by: Jacob Keller <[email protected]>
Acked-by: Paolo Abeni <[email protected]>
Tested-by: Krishneil Singh <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions