diff options
| author | Vasundhara Volam <vasundhara-v.volam@broadcom.com> | 2019-01-28 15:30:23 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-01-30 09:13:09 +0300 |
| commit | ffd19b9a490a6b022b58bada054ee130fff06a1c (patch) | |
| tree | a3b6149fec14acf5b64056d75ea4a39b5016b2ef /include/uapi/linux/devlink.h | |
| parent | 9c54873b4e2ee22507627b1adac9e3a8407741bd (diff) | |
| download | linux-ffd19b9a490a6b022b58bada054ee130fff06a1c.tar.xz | |
devlink: Add support for driverinit get value for devlink_port
Add support for "driverinit" configuration mode value for devlink_port
configuration parameters. Add devlink_port_param_driverinit_value_get()
function to help the driver get the value from devlink_port.
Also, move the common code to __devlink_param_driverinit_value_get()
to be used by both device and port params.
v7->v8:
-Add the missing devlink_port_param_driverinit_value_get() declaration.
-Also, order devlink_port_param_driverinit_value_get() after
devlink_param_driverinit_value_get/set() calls
Cc: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/devlink.h')
0 files changed, 0 insertions, 0 deletions
