You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
ipv4: gre: add GRO capability
Add GRO capability to IPv4 GRE tunnels, using the gro_cells infrastructure. Tested using IPv4 and IPv6 TCP traffic inside this tunnel, and checking GRO is building large packets. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
c9e6bc644e
commit
60769a5dcd
@@ -2,6 +2,7 @@
|
||||
#define __NET_IPIP_H 1
|
||||
|
||||
#include <linux/if_tunnel.h>
|
||||
#include <net/gro_cells.h>
|
||||
#include <net/ip.h>
|
||||
|
||||
/* Keep error state on tunnel for 30 sec */
|
||||
@@ -36,6 +37,8 @@ struct ip_tunnel {
|
||||
#endif
|
||||
struct ip_tunnel_prl_entry __rcu *prl; /* potential router list */
|
||||
unsigned int prl_count; /* # of entries in PRL */
|
||||
|
||||
struct gro_cells gro_cells;
|
||||
};
|
||||
|
||||
struct ip_tunnel_prl_entry {
|
||||
|
||||
Reference in New Issue
Block a user