sfc: do ARFS expiry work occasionally even without NAPI poll
If there's no traffic on a channel, its ARFS expiry work will never get scheduled by efx_poll() as that isn't being run. So make efx_filter_rfs_expire() reschedule itself to run after 30 seconds. Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
This commit is contained in:

committed by
Jakub Kicinski

parent
ca70bd423f
commit
6fbc05e591
@@ -501,7 +501,7 @@ struct efx_channel {
|
||||
unsigned int rfs_expire_index;
|
||||
unsigned int n_rfs_succeeded;
|
||||
unsigned int n_rfs_failed;
|
||||
struct work_struct filter_work;
|
||||
struct delayed_work filter_work;
|
||||
#define RPS_FLOW_ID_INVALID 0xFFFFFFFF
|
||||
u32 *rps_flow_id;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user