]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb80096fb13fd6c811841bd9ec225ae30b6d4987a
tree32dbf61aef621214c0162b326c8e61cb27176ec0
parent8fab5cc3b7fa9322e80ce3766a53d5dc96ece831
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