diff options
author | Eric Dumazet <edumazet@google.com> | 2014-01-07 02:03:07 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-07 05:28:34 +0400 |
commit | 438e38fadca2f6e57eeecc08326c8a95758594d4 (patch) | |
tree | 8c71bf332c0827545b2ece7471c09a4489cba5dc /include/net/gre.h | |
parent | 0e5959346cb859851e99ed87bd07f76ed5bb3a37 (diff) | |
download | linux-438e38fadca2f6e57eeecc08326c8a95758594d4.tar.xz |
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.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/gre.h b/include/net/gre.h index dcd9ae3270d3..70046a0b0b89 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); |