summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBrett Creeley <brett.creeley@intel.com>2020-02-14 00:31:23 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2020-02-19 22:50:41 +0300
commit840f8ad0aaf20044e2fb099095bbce27c02f58da (patch)
tree886827b24e7ee83599476c2a3f4511e683ea736a /tools/perf/scripts/python/export-to-postgresql.py
parent33c4acbe2f4e8f2866914b1fb90ce74fc7216c21 (diff)
downloadlinux-840f8ad0aaf20044e2fb099095bbce27c02f58da.tar.xz
ice: Don't reject odd values of usecs set by user
Currently if a user sets an odd [tx|rx]-usecs value through ethtool, the request is denied because the hardware is set to have an ITR granularity of 2us. This caused poor customer experience. Fix this by aligning to a register allowed value, which results in rounding down. Also, print a once per ring container type message to be clear about our intentions. Also, change the ITR_TO_REG define to be the bitwise and of the ITR setting and the ICE_ITR_MASK. This makes the purpose of ITR_TO_REG more obvious. Signed-off-by: Brett Creeley <brett.creeley@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions