Skip to content

Commit

Permalink
net/sfc/base: handle manual and auto filter clashes in EF10
Browse files Browse the repository at this point in the history
[ upstream commit 585c22e ]

Make user filters a priority in EF10 datapath. When a manual
filter with a specification that is equal to an existing auto
filter is inserted, the manual filter:
- replaces auto filter if the specification is exclusive;
- is inserted along existing auto filter otherwise;

In the first case the auto filter that was replaced is saved.
This saved filter can be updated on filter reconfiguration and
is restored on the manual filter removal.

Fixes: e7cd430 ("net/sfc/base: import SFN7xxx family support")

Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
  • Loading branch information
ol-igorrom authored and kevintraynor committed May 27, 2020
1 parent 51e10ec commit 55239b5
Show file tree
Hide file tree
Showing 5 changed files with 434 additions and 128 deletions.

0 comments on commit 55239b5

Please sign in to comment.