diff options
author | 2020-02-13 13:31:23 -0800 | |
---|---|---|
committer | 2020-02-19 11:50:41 -0800 | |
commit | 840f8ad0aaf20044e2fb099095bbce27c02f58da (patch) | |
tree | 886827b24e7ee83599476c2a3f4511e683ea736a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bridge: br_stp: Use built-in RCU list checking (diff) | |
download | linux-dev-840f8ad0aaf20044e2fb099095bbce27c02f58da.tar.xz linux-dev-840f8ad0aaf20044e2fb099095bbce27c02f58da.zip |
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