devlink: Add enable_sriov boolean generic parameter
enable_sriov - Enables Single-Root Input/Output Virtualization(SR-IOV) characteristic of the device. Reviewed-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
dfb3c0821a
commit
f567bcdae2
@@ -2615,7 +2615,11 @@ static const struct devlink_param devlink_param_generic[] = {
|
||||
.name = DEVLINK_PARAM_GENERIC_MAX_MACS_NAME,
|
||||
.type = DEVLINK_PARAM_GENERIC_MAX_MACS_TYPE,
|
||||
},
|
||||
|
||||
{
|
||||
.id = DEVLINK_PARAM_GENERIC_ID_ENABLE_SRIOV,
|
||||
.name = DEVLINK_PARAM_GENERIC_ENABLE_SRIOV_NAME,
|
||||
.type = DEVLINK_PARAM_GENERIC_ENABLE_SRIOV_TYPE,
|
||||
},
|
||||
};
|
||||
|
||||
static int devlink_param_generic_verify(const struct devlink_param *param)
|
||||
|
Reference in New Issue
Block a user