Skip to content
Snippets Groups Projects
Commit c39d35eb authored by Ben Hutchings's avatar Ben Hutchings
Browse files

sfc: Generalise filter spec initialisation


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: default avatarBen Hutchings <bhutchings@solarflare.com>
parent 8891681a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment