Skip to content
Commit 8490e75c authored by Edward Cree's avatar Edward Cree Committed by Jakub Kicinski
Browse files

sfc: change ARFS expiry mechanism



The old rfs_filters_added method for determining the quota could potentially
 allow the NIC to become filled with old filters, which never get tested for
 expiry.  Instead, explicitly make expiry check work depend on the number of
 filters installed, and don't count checking slots without filters in as
 doing work.  This guarantees that each filter will be checked for expiry at
 least once every thirty seconds (assuming the channel to which it belongs is
 NAPI polling actively) regardless of fill level.

Signed-off-by: default avatarEdward Cree <ecree@solarflare.com>
Tested-by: default avatarDavid Ahern <dahern@digitalocean.com>
Signed-off-by: default avatarJakub Kicinski <jakub.kicinski@netronome.com>
parent c4f2cbd3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment