diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-02-10 11:01:29 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-02-13 09:49:14 +0000 |
commit | a72e17b4523223015d3b3fd79bac2b065d6d09a9 (patch) | |
tree | a142fdcdaea197cb50ca360623e260043bf21713 /net/devlink/devl_internal.h | |
parent | fbcf938150ecd686c6a6195573957db25b43a182 (diff) |
devlink: convert param list to xarray
Loose the linked list for params and use xarray instead.
Note that this is required to be eventually possible to call
devl_param_driverinit_value_get() without holding instance lock.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/devlink/devl_internal.h')
-rw-r--r-- | net/devlink/devl_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/devlink/devl_internal.h b/net/devlink/devl_internal.h index 5c117e8d4377..2f4820e40d27 100644 --- a/net/devlink/devl_internal.h +++ b/net/devlink/devl_internal.h @@ -29,7 +29,7 @@ struct devlink { struct list_head sb_list; struct list_head dpipe_table_list; struct list_head resource_list; - struct list_head param_list; + struct xarray params; struct list_head region_list; struct list_head reporter_list; struct devlink_dpipe_headers *dpipe_headers; |