From: Lendacky, Thomas Date: Thu, 20 Nov 2014 17:04:02 +0000 (-0600) Subject: amd-xgbe: Perform Tx coalescing on a packet basis X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~138^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb79e640fab1fc163e6f04e0cc007c76b6a46f28;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed