• Edward Cree's avatar
    sfc: suppress MCDI errors from ARFS · 0aa6608d
    Edward Cree authored
    In high connection count usage, the NIC's filter table may be filled with
     sufficiently many ARFS filters that further insertions fail.  As this
     does not represent a correctness issue, do not log the resulting MCDI
     errors.  Add a debug-level message under the (by default disabled)
     rx_status category instead; and take the opportunity to do a little extra
     expiry work.
    
    Since there are now multiple workitems able to call __efx_filter_rfs_expire
     on a given channel, it is possible for them to race and thus pass quotas
     which, combined, exceed rfs_filter_count.  Thus, don't WARN_ON if we loop
     all the way around the table with quota left over.
    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>
    0aa6608d
ef10.c 202 KB