diff options
| author | Petr Machata <[email protected]> | 2018-11-22 23:28:25 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-11-23 18:02:23 -0800 |
| commit | a93e3b17227ed8b0db7e44d0302b4da7d07f9a35 (patch) | |
| tree | 668db99bc01b59b8a3da2d19003f0a5843aaa0ae /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | ec394af5ea1d8ee62681815d167115ac618bcb42 (diff) | |
switchdev: Add a blocking notifier chain
In general one can't assume that a switchdev notifier is called in a
non-atomic context, and correspondingly, the switchdev notifier chain is
an atomic one.
However, port object addition and deletion messages are delivered from a
process context. Even the MDB addition messages, whose delivery is
scheduled from atomic context, are queued and the delivery itself takes
place in blocking context. For VLAN messages in particular, keeping the
blocking nature is important for error reporting.
Therefore introduce a blocking notifier chain and related service
functions to distribute the notifications for which a blocking context
can be assumed.
Signed-off-by: Petr Machata <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions