]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: Fix for extra Flow Director filter in table after error
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Thu, 27 Aug 2015 15:42:38 +0000 (11:42 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 16:32:25 +0000 (08:32 -0800)
commit6ec0f2d7566967ccb13c09d7a557e315118adb5f
tree3277a4aaec51df653364b48800ef838b070bdbca
parentfb16e2b9354d956b015f495463598a10e7bee418
i40e: Fix for extra Flow Director filter in table after error

Orabug: 22342532

This patch fixes a problem where the PF's fdir filter table would have an
entry that the hw was unable to add. This notification happens in the hot
path, so instead of trying to fix it then, we note the location in the
failure case and delete it during regular fdir subtask callback. Without
this patch, a case can occur where an invalid entry gets replayed and a
valid one is not.

Change-ID: I67831c183b5d0309876de807cc434809b74c9cb7
Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 3487b6c30c0dd2204dc31e14330097dff02d9a58)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40e/i40e_txrx.c