aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-08-23 20:42:10 -0700
committerDavid S. Miller <davem@davemloft.net>2017-08-23 20:42:10 -0700
commitae99e188928e01dfa0fa45d2e1431ad33a0eaad9 (patch)
tree1b27593712dd7a12cfe32fa24400a5005f9afb8e /include
parentipv4: do metrics match when looking up and deleting a route (diff)
parentnet: mvpp2: software tso support (diff)
downloadlinux-ae99e188928e01dfa0fa45d2e1431ad33a0eaad9.tar.gz
linux-ae99e188928e01dfa0fa45d2e1431ad33a0eaad9.zip
Merge branch 'mvpp2-software-TSO-support'
Antoine Tenart says: ==================== net: mvpp2: software TSO support This series adds the s/w TSO support in the PPv2 driver, in addition to two cosmetic commits. As stated in patch 3/3: Using iperf and 10G ports, using TSO shows a significant performance improvement by a factor 2 to reach around 9.5Gbps in TX; as well as a significant CPU usage drop (from 25% to 15%). ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/tso.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/tso.h b/include/net/tso.h
index b7be852bfe9d..9a56c39e6d0a 100644
--- a/include/net/tso.h
+++ b/include/net/tso.h
@@ -3,6 +3,8 @@
#include <net/ip.h>
+#define TSO_HEADER_SIZE 128
+
struct tso_t {
int next_frag_idx;
void *data;