• B
    sfc: Generalise filter spec initialisation · c39d35eb
    Ben Hutchings 提交于
    Move search_depth arrays into per-table state.
    
    Define initialisation function efx_filter_init_rx() which sets
    everything apart from the match fields.
    
    Define efx_filter_set_{ipv4_local,ipv4_full,eth_local}() to set the
    match fields.  This allows some simplification of callers and later
    support for additional protocols and more flexible matching using
    multiple calls to these functions.
    Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
    c39d35eb
filter.c 16.5 KB