net: ena: add reset reason for each device FLR
authorNetanel Belgazal <netanel@amazon.com>
Fri, 23 Jun 2017 08:21:53 +0000 (11:21 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Jun 2017 18:15:09 +0000 (14:15 -0400)
commite2eed0e307f671e37f3829dfec5dbb1fba826a15
treebbbb2a031578cfa8855498c8f794d5e8e205ef8f
parent917501109cf4ea4c47991f593111338811369bf5
net: ena: add reset reason for each device FLR

For each device reset, log to the device what is the cause
the reset occur.

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