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)
commit15619e722b16aaa40f942b93631aa92581a7b393
tree2fde64d8231e21e4d7b9c2fb700b32aee51d879e
parent1b8da10370d4accc33068dea48151ac957fa4dc5
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