]> git.baikalelectronics.ru Git - kernel.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)
commit6863b485df914383087aa64b5884d7f3fcc6019d
treeac267f7b2c22522309ff712541745d764788e85a
parentd0984ebd090aa439e048d2182315592ce474bfb4
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