]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: fix flags relating to perfect filters to support coexistence
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 20 May 2011 07:36:17 +0000 (07:36 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 24 Jun 2011 05:43:53 +0000 (22:43 -0700)
commita057f0a7791e634e7618090c742057227e2e1a19
tree41beb67301a9d5a317c5e51b292f503d3a7291ec
parent430ff4396655630ddcf2d3b951c8ac99595e3539
ixgbe: fix flags relating to perfect filters to support coexistence

I am removing the requirement that Ntuple filters have the same
number of queues and requirements as ATR.  As a result this change will
make it so that all the Ntuple flag does is disable ATR for now.

This change fixes an issue in which we were incorrectly re-enabling ATR
when we exited perfect filter mode.  This was due to the fact that the
logic assumed RSS and DCB were mutually exclusive which is no longer the
case.

To correct this we just need to add a check to guarantee DCB is disabled
before re-enabling ATR.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_dcb_nl.c
drivers/net/ixgbe/ixgbe_ethtool.c
drivers/net/ixgbe/ixgbe_main.c