aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorBrett Creeley <[email protected]>2018-12-19 10:03:29 -0800
committerJeff Kirsher <[email protected]>2019-01-15 11:29:16 -0800
commit63f545ed1285a5f904c260ff22c958609c3c11c5 (patch)
tree28e93dc5f427de3efb9bd4e352a165ab90f33dab /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent9be1d6f8c33731acd67586a4e40c0f3d56a23366 (diff)
ice: Add support for adaptive interrupt moderation
Currently the driver does not support adaptive/dynamic interrupt moderation. This patch adds support for this. Also, adaptive/dynamic interrupt moderation is turned on by default upon driver load. In order to support adaptive interrupt moderation, two functions were added, ice_update_itr() and ice_itr_divisor(). These are used to determine the current packet load and to determine a divisor based on link speed respectively. This patch also adds the ICE_ITR_GRAN_S define that is used in the hot-path when setting a new ITR value. The shift is used to pet two birds with one hand, set the ITR value while re-enabling the interrupt. Also, the ICE_ITR_GRAN_S is defined as 1 because the device has a ITR granularity of 2usecs. Signed-off-by: Brett Creeley <[email protected]> Signed-off-by: Anirudh Venkataramanan <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions