]> git.baikalelectronics.ru Git - kernel.git/commit
net: qualcomm: rmnet: Add support for ethtool private stats
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Wed, 16 May 2018 00:52:01 +0000 (18:52 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2018 18:23:04 +0000 (14:23 -0400)
commit26092a1ff579905ae363a1a1b4205c977c54e8fd
tree87d815213abee6b76ad33e002953f972ec856ec6
parent45a0c3fe7a9f6ac42f8028ff89fb6a9b6e2e2b40
net: qualcomm: rmnet: Add support for ethtool private stats

Add ethtool private stats handler to debug the handling of packets
with checksum offload header / trailer. This allows to keep track of
the number of packets for which hardware computes the checksum and
counts and reasons where checksum computation was skipped in hardware
and was done in the network stack.

Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h
drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c
drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c