aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorShay Drory <[email protected]>2024-04-09 22:08:09 +0300
committerJakub Kicinski <[email protected]>2024-04-10 19:48:13 -0700
commit0553e753ea9ee724acaf6b3dfc7354702af83567 (patch)
tree87bc8d228a05c634cd638b78704105c730b7d3f4 /scripts/generate_rust_analyzer.py
parent65acf6e0501ac8880a4f73980d01b5d27648b956 (diff)
net/mlx5: E-switch, store eswitch pointer before registering devlink_param
Next patch will move devlink register to be first. Therefore, whenever mlx5 will register a param, the user will be notified. In order to notify the user, devlink is using the get() callback of the param. Hence, resources that are being used by the get() callback must be set before the devlink param is registered. Therefore, store eswitch pointer inside mdev before registering the param. Signed-off-by: Shay Drory <[email protected]> Reviewed-by: Moshe Shemesh <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions