]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: check conflicting ntuple/sideband rules when re-enabling ATR
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 7 Sep 2016 01:05:10 +0000 (18:05 -0700)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 8 Mar 2017 00:39:35 +0000 (19:39 -0500)
commit2fbe6c4bb6605f26b49d74657810de2224180041
treee378956ffa9bc446d2a4ad763b25e3ef7b6fba85
parentbbb65b6653686ed72a04c2566a54f9f4ada6da5e
i40e: check conflicting ntuple/sideband rules when re-enabling ATR

Orabug: 24568124

In i40e_fdir_check_and_reenable(), the driver performs some checks to
determine whether it is safe to re-enable FD Sideband and FD ATR
support. The current check will only determine if there is available
space in the flow director table. However, this ignores the fact that
ATR should be disabled when there are TCP/IPv4 sideband rules in effect.
Add the missing check, and update the info message printed when
I40E_DEBUG_FD is enabled.

Change-ID: Ibb9c63e5be95d63c53a498fdd5dbf69f54a00e08
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit a3417d287fb02e7bd24c6b1068fe6f9b52a259a6)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_main.c