diff options
author | Vlad Buslov <[email protected]> | 2019-08-26 16:45:00 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-08-26 14:17:43 -0700 |
commit | a449a3e77a85fc8b31fef7238451dc87af8ff1af (patch) | |
tree | 4e009d7b84bec395c536bcd244f8543ccd33de40 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 401192113730947572d280ec465555ab9ff5a597 (diff) |
net: sched: notify classifier on successful offload add/delete
To remove dependency on rtnl lock, extend classifier ops with new
ops->hw_add() and ops->hw_del() callbacks. Call them from cls API while
holding cb_lock every time filter if successfully added to or deleted from
hardware.
Implement the new API in flower classifier. Use it to manage hw_filters
list under cb_lock protection, instead of relying on rtnl lock to
synchronize with concurrent fl_reoffload() call.
Signed-off-by: Vlad Buslov <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions