summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorCosmin Ratiu <cratiu@nvidia.com>2026-07-07 16:08:57 +0300
committerJakub Kicinski <kuba@kernel.org>2026-07-21 06:57:39 -0700
commit13ae76a6a3e6f1b6d5a2505192288f9f58c903fc (patch)
tree3be9fad86f46fc7bfc8bad8607c61a0397cbd943 /tools/perf/scripts/python
parent1e6e0cec0dab96f5968a29c4d363da05200171e4 (diff)
net/mlx5e: Return errors from profile->enable
profile->enable is called before enabling an mlx5 netdevice and currently doesn't return errors. Code called from it has to either: 1. eat errors and keep going, leaving a netdevice initialized with missing functionality or 2. manually clean up things that other parts of the init flow might have set up. Option 1 might be useful in some cases for optional functionality but option 2 doesn't make for good design. Add a 3rd option for code which wants to propagate errors from profile->enable and fail netdev init. This change is a noop for now, the first 'user' of this option 3 will be in the next patch. Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/20260707130858.969928-15-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions