summaryrefslogtreecommitdiffstats
path: root/mm/workingset.c
diff options
context:
space:
mode:
authorArthur Kiyanovski <akiyano@amazon.com>2019-09-16 13:31:35 +0200
committerDavid S. Miller <davem@davemloft.net>2019-09-16 22:06:02 +0200
commit0eda847953d8dfb4b713ea62420f66157e230e13 (patch)
treed7cb5c0f2585a143be0634a341c4f1c2b958ca1a /mm/workingset.c
parentnet: ena: fix update of interrupt moderation register (diff)
downloadlinux-0eda847953d8dfb4b713ea62420f66157e230e13.tar.xz
linux-0eda847953d8dfb4b713ea62420f66157e230e13.zip
net: ena: fix retrieval of nonadaptive interrupt moderation intervals
Nonadaptive interrupt moderation intervals are assigned the value set by the user in ethtool -C divided by ena_dev->intr_delay_resolution. Therefore when the user tries to get the nonadaptive interrupt moderation intervals with ethtool -c the code needs to multiply the saved value by ena_dev->intr_delay_resolution. The current code erroneously divides instead of multiplying in ethtool -c. This patch fixes this. Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/workingset.c')
0 files changed, 0 insertions, 0 deletions