diff options
author | Anjali Singhai Jain <anjali.singhai@intel.com> | 2015-02-27 09:15:28 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-03-07 04:59:46 -0800 |
commit | 04294e38a451b37288d61e52fa07ed087c5cdc02 (patch) | |
tree | c3be5cfe42d60aa876e0f1bf2af3047ec0e727d1 /drivers/net/ethernet/intel/i40evf | |
parent | 4205d379b6ff61472a94efe55b9a103582257ab8 (diff) |
i40e: FD filters flush policy changes
Since GLQF_FDCNT_0 register now has the right offset, use it to simplify our
FD flush flow.
If the filter add error happens to be for SB we just auto disable SB.
If filter error happens to be for ATR, auto disable ATR and mark
the state to FD_FLUSH_REQUESTED. Which gets cleared when flush completes.
If we are entering flush too quickly (< 30 seconds) and we have quite
a few SB rules, its time to disable ATR for good. Since SB + ATR rules
is most likely making the FD table unstable.
ATR can be re-enabled by turning ntuple off (ethtool -K ntuple off)
and will remain off after turning ntuple on till it gets unstable again.
Change-ID: I2154a2e0a5d44851a2f0eb8731e2f1d4a4d1acbc
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40evf')
0 files changed, 0 insertions, 0 deletions