]> git.baikalelectronics.ru Git - kernel.git/commit
net: ena: add intr_moder_rx_interval to struct ena_com_dev and use it
authorArthur Kiyanovski <akiyano@amazon.com>
Mon, 16 Sep 2019 11:31:26 +0000 (14:31 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Sep 2019 20:06:02 +0000 (22:06 +0200)
commit6ffe7c5f7f0ab1ae53392f4c7814a692484b9ae7
tree2fde64d8231e21e4d7b9c2fb700b32aee51d879e
parenta4b5e2a4cb5e0f656ba12bb4f25380f1349b2664
net: ena: add intr_moder_rx_interval to struct ena_com_dev and use it

Add intr_moder_rx_interval to struct ena_com_dev and use it as the
location where the interrupt moderation rx interval is saved, instead
of the interrupt moderation table.

This is done as a first step before removing the old interrupt moderation
code.

Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_com.c
drivers/net/ethernet/amazon/ena/ena_com.h
drivers/net/ethernet/amazon/ena/ena_netdev.c