From 2307fa91e011e9c7ead83dfe5e97ee615803a72b Mon Sep 17 00:00:00 2001 From: Steven Smith Date: Tue, 30 Jun 2009 12:55:48 +0100 Subject: [PATCH] [NETBACK] Try to pull a minimum of 72 bytes into the skb data area when receiving a packet into netback. The previous number, 64, tended to place a fragment boundary in the middle of the TCP header options and led to unnecessary fragmentation in Windows <-> Windows networking. Signed-off-by: Steven Smith --- drivers/xen/netback/netback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/xen/netback/netback.c b/drivers/xen/netback/netback.c index d6ccd0a4..c4fa5218 100644 --- a/drivers/xen/netback/netback.c +++ b/drivers/xen/netback/netback.c @@ -105,7 +105,7 @@ static inline int netif_page_index(struct page *pg) return idx; } -#define PKT_PROT_LEN 64 +#define PKT_PROT_LEN 72 static struct pending_tx_info { netif_tx_request_t req; -- 2.39.5