diff options
| author | Petr Machata <[email protected]> | 2023-07-19 13:01:17 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-07-21 08:54:03 +0100 |
| commit | f2e2857b352277a451e2f91409e461fa7ebf2d15 (patch) | |
| tree | db98dfde14c11947b60dc2a7b0d699843f9ab89c /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 989280d6ea70b2d91b8b0e20ac11a6529a37ac08 (diff) | |
net: switchdev: Add a helper to replay objects on a bridge port
When a front panel joins a bridge via another netdevice (typically a LAG),
the driver needs to learn about the objects configured on the bridge port.
When the bridge port is offloaded by the driver for the first time, this
can be achieved by passing a notifier to switchdev_bridge_port_offload().
The notifier is then invoked for the individual objects (such as VLANs)
configured on the bridge, and can look for the interesting ones.
Calling switchdev_bridge_port_offload() when the second port joins the
bridge lower is unnecessary, but the replay is still needed. To that end,
add a new function, switchdev_bridge_port_replay(), which does only the
replay part of the _offload() function in exactly the same way as that
function.
Cc: Jiri Pirko <[email protected]>
Cc: Ivan Vecera <[email protected]>
Cc: Roopa Prabhu <[email protected]>
Cc: Nikolay Aleksandrov <[email protected]>
Cc: [email protected]
Signed-off-by: Petr Machata <[email protected]>
Reviewed-by: Danielle Ratson <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions