diff options
author | Arthur Kiyanovski <akiyano@amazon.com> | 2019-09-16 14:31:31 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-16 22:06:02 +0200 |
commit | 242d81fd3dd9f301b0c20564aafec8efdb2bbe5b (patch) | |
tree | e941b16452fea9c910126845c850573c3712af3a /.cocciconfig | |
parent | 57e3a5f24bb5bf265988e973a911845abcbf6a00 (diff) | |
download | linux-242d81fd3dd9f301b0c20564aafec8efdb2bbe5b.tar.bz2 |
net: ena: remove old adaptive interrupt moderation code from ena_netdev
1. Out of the fields {per_napi_bytes, per_napi_packets} in struct ena_ring,
only rx_ring->per_napi_packets are used to determine if napi did work
for dim.
This commit removes all other uses of these fields.
2. Remove ena_ring->moder_tbl_idx, which is not used by dim.
3. Remove all calls to ena_com_destroy_interrupt_moderation(), since all it
did was to destroy the interrupt moderation table, which is removed as
part of removing old interrupt moderation code.
Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions