sfc: do ARFS expiry work occasionally even without NAPI poll
authorEdward Cree <ecree@solarflare.com>
Fri, 22 Nov 2019 17:57:40 +0000 (17:57 +0000)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Sat, 23 Nov 2019 01:50:55 +0000 (17:50 -0800)
commit6fbc05e59163e66795a2bbdb4068abd7f7ae3510
treeb80da262c1bf159e4325f574a1c76902669ad468
parentca70bd423f10b004f1bf7b2424d34025a9408e54
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>
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/efx.h
drivers/net/ethernet/sfc/net_driver.h