]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
amd-xgbe: Update TSO packet statistics accuracy
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Fri, 18 Aug 2017 14:02:49 +0000 (09:02 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Aug 2017 23:30:16 +0000 (16:30 -0700)
commit1b631424e8244722419ebf6ba1fa5a7d72e675c2
tree4ab29f6e173c01d5f52cf276e4c07f5ff435ffc8
parent25ff96a9dc9c6a5a21778c36cb1e7175128d2071
amd-xgbe: Update TSO packet statistics accuracy

When transmitting a TSO packet, the driver only increments the TSO packet
statistic by one rather than the number of total packets that were sent.
Update the driver to record the total number of packets that resulted from
TSO transmit.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-dev.c