Re: [PATCH net-next v3 02/10] devlink: Adding SR-IOV enablement perm config param

2017-10-25 Thread Jiri Pirko
Tue, Oct 24, 2017 at 10:12:34PM CEST, steven.l...@broadcom.com wrote: >Adding DEVLINK_PERM_CONFIG_SRIOV_ENABLED permanent config >parameter. Value is permanent, so becomes the new default >value for this device. > > 0 = Disable SR-IOV > 1 = Enable SR-IOV > >Signed-off-by: Steve Lin >Acked-by: A

RE: [PATCH net-next v3 02/10] devlink: Adding SR-IOV enablement perm config param

2017-10-24 Thread Yuval Mintz
> Adding DEVLINK_PERM_CONFIG_SRIOV_ENABLED permanent config > parameter. Value is permanent, so becomes the new default > value for this device. > > 0 = Disable SR-IOV > 1 = Enable SR-IOV Does this imposes a requirement on the PCIe specifics, E.g., that the device should no longer expose the

[PATCH net-next v3 02/10] devlink: Adding SR-IOV enablement perm config param

2017-10-24 Thread Steve Lin
Adding DEVLINK_PERM_CONFIG_SRIOV_ENABLED permanent config parameter. Value is permanent, so becomes the new default value for this device. 0 = Disable SR-IOV 1 = Enable SR-IOV Signed-off-by: Steve Lin Acked-by: Andy Gospodarek --- include/uapi/linux/devlink.h | 8 +++- net/core/devlin