net: ena: add good checksum counter
authorSameeh Jubran <sameehj@amazon.com>
Mon, 3 Jun 2019 14:43:28 +0000 (17:43 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Jun 2019 20:30:38 +0000 (13:30 -0700)
commitd2eecc6ee8c92053797513e34931334dd0e85e18
tree70e9b4936d858a30f96d8bb8e9d9ff7869e479af
parentd91860989dd4bce582ed6c3647a0d41d6fd895b3
net: ena: add good checksum counter

Add a new statistics to ETHTOOL to specify if the device calculated
and validated the Rx csum.

Signed-off-by: Evgeny Shmeilin <evgeny@annapurnaLabs.com>
Signed-off-by: Sameeh Jubran <sameehj@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_ethtool.c
drivers/net/ethernet/amazon/ena/ena_netdev.c
drivers/net/ethernet/amazon/ena/ena_netdev.h