net: ena: add hardware hints capability to the driver
authorNetanel Belgazal <netanel@amazon.com>
Fri, 23 Jun 2017 08:21:51 +0000 (11:21 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Jun 2017 18:15:08 +0000 (14:15 -0400)
commit82ef30f13be0b4fea70a9c6215f7cff40bb3be63
tree32dbf61aef621214c0162b326c8e61cb27176ec0
parentd1497638b6fedccaef875a5d9f09b3fe4ffbd22d
net: ena: add hardware hints capability to the driver

With this patch, ENA device can update the ena driver about
the desired timeout values:
These values are part of the "hardware hints" which are transmitted
to the driver as Asynchronous event through ENA async
event notification queue.

In case the ENA device does not support this capability,
the driver will use its own default values.

Signed-off-by: Netanel Belgazal <netanel@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_com.c
drivers/net/ethernet/amazon/ena/ena_com.h
drivers/net/ethernet/amazon/ena/ena_netdev.c
drivers/net/ethernet/amazon/ena/ena_netdev.h
drivers/net/ethernet/amazon/ena/ena_regs_defs.h