From 97f9694ad364a9bb19d9f642ececfd271d1214ec Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Tue, 20 Oct 2020 13:45:51 -0700 Subject: gso: remove dependency on tcp proto implementation Type: improvement Signed-off-by: Florin Coras Change-Id: I3af84e968c38df0452746729dcb722d48fa438fb --- src/vnet/tcp/tcp_packet.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vnet/tcp/tcp_packet.h') diff --git a/src/vnet/tcp/tcp_packet.h b/src/vnet/tcp/tcp_packet.h index fcc55ff549e..9ccd8e0ceb3 100644 --- a/src/vnet/tcp/tcp_packet.h +++ b/src/vnet/tcp/tcp_packet.h @@ -172,6 +172,7 @@ typedef struct #define TCP_MAX_WND_SCALE 14 /* See RFC 1323 */ #define TCP_OPTS_ALIGN 4 #define TCP_OPTS_MAX_SACK_BLOCKS 3 +#define TCP_MAX_GSO_SZ 65536 /* Modulo arithmetic for TCP sequence numbers */ #define seq_lt(_s1, _s2) ((i32)((_s1)-(_s2)) < 0) -- cgit 1.2.3-korg