]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ixgbe: consolidate all setting of MRQC into one function
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 19 Aug 2010 13:35:41 +0000 (13:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Aug 2010 23:40:50 +0000 (16:40 -0700)
commit05abb126c148b081ee9da5a611960e2a80205ea2
treeac267f7b2c22522309ff712541745d764788e85a
parent43e69bf0f0df2691001dbd055ab8d4f795d1900c
ixgbe: consolidate all setting of MRQC into one function

This change simplifies the configuration of MRQC by consolidating the
setting of it into one function. As such the register is no longer set in
multiple places which should make any future changes easier to work with.
In addition we can combine RSS related register writes into the call since
enabling all of those bits without enabling RSS itself in MRQC should have
no effect.

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_main.c