]> git.baikalelectronics.ru Git - kernel.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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 8 Oct 2015 22:24:28 +0000 (15:24 -0700)
commit036421c393f1ebd1f51ade3e366c24ee72188036
tree932ad55f404537b4b7ed62683cc2fb90af1ba5db
parentccd6b1201889a3366bd07d8b08df3ba8b11cd82c
i40e: Fix for extra Flow Director filter in table after error

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>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40e/i40e_txrx.c