igb: update handling of RCTL for smaller buffer sizes
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 10 Dec 2008 09:08:59 +0000 (01:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Dec 2008 09:08:59 +0000 (01:08 -0800)
commitb4557be23dc959f38eed21d359ec7164e42bcbd6
tree31fbd133f8df8ea7a187f0a6a36d61b04dac36fb
parente97fd7c6d51d8bf32ce981b853d987cfc6bdfb7f
igb: update handling of RCTL for smaller buffer sizes

As we begin to move into virtualization the use of a global value for
buffer sizes becomes undesirable.  This change makes it so only 256 and 512
byte buffers require use of the RCTL register.

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/igb/igb_main.c