ixgbe: set max desc to prevent total RSC packet size of 64K
commite76678dd654545c98a5d0bdc66bd41350573c23e
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sun, 17 May 2009 20:57:47 +0000 (17 20:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 May 2009 22:09:43 +0000 (18 15:09 -0700)
tree86e4ff745d686f82353c460542e321ba0b09cbc0
parent82d048186e403f36e083b37ad42aa90abb7dcaac
ixgbe: set max desc to prevent total RSC packet size of 64K

The performance of hardware RSC is greatly reduced if the total for max rsc
descriptors multiplied by the buffer size is greater than 65535.  To
prevent this we need to adjust the max rsc descriptors appropriately.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe.h
drivers/net/ixgbe/ixgbe_main.c