summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorParav Pandit <parav@nvidia.com>2025-08-13 12:44:17 +0300
committerJakub Kicinski <kuba@kernel.org>2025-08-14 17:35:20 -0700
commit41a6e8ab18642741437da932c2f5762b185e928c (patch)
treeb20dd62fac1175678f833353f118ab7bbf09ef95 /tools/testing/selftests/net/lib/py/utils.py
parent0ebc0bcd0aa0037019aac996c50166c7baf44ff8 (diff)
devlink/port: Check attributes early and constify
Constify the devlink port attributes to indicate they are read only and does not depend on anything else. Therefore, validate it early before setting in the devlink port. Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: Parav Pandit <parav@nvidia.com> Link: https://patch.msgid.link/20250813094417.7269-3-parav@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions