commit | eb79e640fab1fc163e6f04e0cc007c76b6a46f28 | [log] [tgz] |
---|---|---|
author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | Thu Nov 20 11:04:02 2014 -0600 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 21 15:19:11 2014 -0500 |
tree | 99b763c03dff5894a397261af57cfc4b6a6a85c3 | |
parent | 16978eb7bc2f6ecba71916a673a7840d17943b71 [diff] |
amd-xgbe: Perform Tx coalescing on a packet basis The current form of Tx coalescing works on a descriptor basis instead of on a packet basis and doesn't take into account TSO packets. Update the Tx coalescing support to work on a packet basis, taking into account the number of packets associated with a TSO transmit. Also, only activate the Tx timer if a timer value is set. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>