From: t_jeang Date: Tue, 6 Jan 2009 12:06:02 +0000 (+0000) Subject: [NETBACK] Try to pull a minimum of 72 bytes into the skb data area X-Git-Tag: netback-handle-small-tso-with-no-segmentation X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=4f8166809cf7cc93b04f850cde44da4dcf454121;p=xenclient%2Fkernel.git [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 --- diff --git a/drivers/xen/netback/netback.c b/drivers/xen/netback/netback.c index 526f0fe1..7fcca69e 100644 --- a/drivers/xen/netback/netback.c +++ b/drivers/xen/netback/netback.c @@ -106,7 +106,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;