]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Address fact that RSC was not setting GSO size for incoming frames
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 31 Jan 2012 02:59:29 +0000 (02:59 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 10 Feb 2012 23:44:19 +0000 (15:44 -0800)
commitd79c82f9403331e7aa302236ee3357011ac4f0a3
treed7ec1ff49a202f2521cef5aeaccd2690deb25de0
parentbda647617f98c30937f209cfc42e8e961227fdfe
ixgbe: Address fact that RSC was not setting GSO size for incoming frames

This patch is meant to address the fact that RSC has not been setting the
gso_size value on the skb.  As a result performance on lossy TCP
connections was negatively impacted.  This change resolves the issue by
setting gso_size to the average size for incoming packets.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c