summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAmit Cohen <amcohen@nvidia.com>2024-09-30 18:12:50 +0300
committerJakub Kicinski <kuba@kernel.org>2024-10-04 02:43:44 +0300
commitbe4e3235445725546f25f09ace04a4237c72e071 (patch)
tree0899195a9479373beba09069b712ebfc362f0a1b /include
parent25ba2a5adab2f4e660be631b50f64b7ea218af33 (diff)
downloadlinux-be4e3235445725546f25f09ace04a4237c72e071.tar.xz
selftests: mlxsw: rtnetlink: Use devlink_reload() API
The test runs "devlink reload" explicitly. Instead, it is better to use devlink_reload() which waits for udev events to be processed. Do not sleep after reload, as devlink_reload() blocks until all the netdevs are renamed. Signed-off-by: Amit Cohen <amcohen@nvidia.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Petr Machata <petrm@nvidia.com> Link: https://patch.msgid.link/844509e3057b65277a7181a23c95b71ec95e8a56.1727706741.git.petrm@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions