]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit56f83ef6538265fc2050f75d1b299817e7eec80a
tree70e9b4936d858a30f96d8bb8e9d9ff7869e479af
parent6f5f9c8d80761c5e3982c6f54c68a4bd862e476a
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