aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorKan Liang <[email protected]>2016-02-19 09:24:04 -0500
committerDavid S. Miller <[email protected]>2016-02-19 22:54:10 -0500
commita75e8005d506f374554b17383c39aa82db0ea860 (patch)
tree0400fd375b29f73d7e34eb01a955c66feeb4697b /tools/perf/scripts/python/event_analyzing_sample.py
parentf38d138a7da6510a1184e3bc5f425deb187c3265 (diff)
i40e: queue-specific settings for interrupt moderation
For i40e driver, each vector has its own ITR register. However, there are no concept of queue-specific settings in the driver proper. Only global variable is used to store ITR values. That will cause problems especially when resetting the vector. The specific ITR values could be lost. This patch move rx_itr_setting and tx_itr_setting to i40e_ring to store specific ITR register for each queue. i40e_get_coalesce and i40e_set_coalesce are also modified accordingly to support queue-specific settings. To make it compatible with old ethtool, if user doesn't specify the queue number, i40e_get_coalesce will return queue 0's value. While i40e_set_coalesce will apply value to all queues. Signed-off-by: Kan Liang <[email protected]> Acked-by: Shannon Nelson <[email protected]> Acked-by: Jeff Kirsher <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions