> DEVLINK_ATTR_PERM_CFG_MULTIFUNC_MODE: Configure multi-function
> mode; use devlink_multifunc_mode.
...
> +enum devlink_multifunc_mode {
> +     DEVLINK_MULTIFUNC_MODE_ALLOWED,         /* Ext switch
> activates MF */
> +     DEVLINK_MULTIFUNC_MODE_FORCE_SINGFUNC,
> +     DEVLINK_MULTIFUNC_MODE_NPAR10,          /* NPAR 1.0
> */
> +     DEVLINK_MULTIFUNC_MODE_NPAR15,          /* NPAR 1.5
> */
> +     DEVLINK_MULTIFUNC_MODE_NPAR20,          /* NPAR 2.0
> */
> +};

... And when someone would invent a new partitioning scheme, what then?
You'd extend the 'generic' modes?
It's not very generic.

> DEVLINK_ATTR_PERM_CFG_SECURE_NIC_ENABLED: 1 to enable Secure NIC
> functionality, 0 to disable.

What does it mean? Is there some spec explaining it?

Reply via email to