summaryrefslogtreecommitdiffstats
path: root/include/net/gre.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2014-01-06 14:03:07 -0800
committerDavid S. Miller <davem@davemloft.net>2014-01-06 20:28:34 -0500
commit438e38fadca2f6e57eeecc08326c8a95758594d4 (patch)
tree8c71bf332c0827545b2ece7471c09a4489cba5dc /include/net/gre.h
parent0e5959346cb859851e99ed87bd07f76ed5bb3a37 (diff)
downloadop-kernel-dev-438e38fadca2f6e57eeecc08326c8a95758594d4.zip
op-kernel-dev-438e38fadca2f6e57eeecc08326c8a95758594d4.tar.gz
gre_offload: statically build GRE offloading support
GRO/GSO layers can be enabled on a node, even if said node is only forwarding packets. This patch permits GSO (and upcoming GRO) support for GRE encapsulated packets, even if the host has no GRE tunnel setup. Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: H.K. Jerry Chu <hkchu@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/gre.h')
-rw-r--r--include/net/gre.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/gre.h b/include/net/gre.h
index dcd9ae3..70046a0 100644
--- a/include/net/gre.h
+++ b/include/net/gre.h
@@ -33,9 +33,6 @@ struct gre_cisco_protocol {
int gre_cisco_register(struct gre_cisco_protocol *proto);
int gre_cisco_unregister(struct gre_cisco_protocol *proto);
-int gre_offload_init(void);
-void gre_offload_exit(void);
-
void gre_build_header(struct sk_buff *skb, const struct tnl_ptk_info *tpi,
int hdr_len);
OpenPOWER on IntegriCloud