net: ena: enable the interrupt_moderation in driver_supported_features
authorArthur Kiyanovski <akiyano@amazon.com>
Mon, 16 Sep 2019 11:31:29 +0000 (14:31 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Sep 2019 20:06:02 +0000 (22:06 +0200)
commitbd21b0cc3a63d1c658b230db084b0f392b78cab2
treeba86b0f198db87c0f47a1f02ffc6daabfac60e06
parentb3db86dc4b82ffc63e33c78dafc09d5c78ac4fe4
net: ena: enable the interrupt_moderation in driver_supported_features

Add driver_supported_features to host_host info which is a new API used to
communicate to the device which features are supported by the driver.

Add the interrupt_moderation bit to host_info->driver_supported_features
and enable it to signal the device that this driver supports interrupt
moderation properly.

Reserved bits are for features implemented in the future

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