diff options
author | 2022-03-14 23:00:09 -0700 | |
---|---|---|
committer | 2022-03-16 12:56:45 -0700 | |
commit | 706217c1ceb516c96283a1557a31fe003d0c8052 (patch) | |
tree | 765804a5cfb6868ff577cd56e44b1a6c823f3d72 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | devlink: hold the instance lock in port_split / port_unsplit callbacks (diff) | |
download | linux-dev-706217c1ceb516c96283a1557a31fe003d0c8052.tar.xz linux-dev-706217c1ceb516c96283a1557a31fe003d0c8052.zip |
devlink: pass devlink_port to port_split / port_unsplit callbacks
Now that devlink ports are protected by the instance lock
it seems natural to pass devlink_port as an argument to
the port_split / port_unsplit callbacks.
This should save the drivers from doing a lookup.
In theory drivers may have supported unsplitting ports
which were not registered prior to this change.
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Tested-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions