devlink: Prepare code to fill multiple port function attributes
authorParav Pandit <parav@nvidia.com>
Sat, 12 Dec 2020 06:12:12 +0000 (22:12 -0800)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 22 Jan 2021 19:32:06 +0000 (11:32 -0800)
commit1230d94820c9cf74776eaac4ee45081e33ea1a30
tree86e2857feec684062caa83fc68b44e185be6fc12
parent7b8fc0103bb51d1d3e1fb5fd67958612e709f883
devlink: Prepare code to fill multiple port function attributes

Prepare code to fill zero or more port function optional attributes.
Subsequent patch makes use of this to fill more port function
attributes.

Signed-off-by: Parav Pandit <parav@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Vu Pham <vuhuong@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
net/core/devlink.c