RE: [PATCH 3/7] devlink: Adding high level dev perm config params

2017-10-19 Thread Yuval Mintz
> 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_NPA

[PATCH 3/7] devlink: Adding high level dev perm config params

2017-10-17 Thread Steve Lin
Extending DEVLINK_ATTR_PERM_CFG (permanent/NVRAM device configuration) to include some high level device configuration settings: DEVLINK_ATTR_PERM_CFG_DCBX_MODE: Data Center Bridging Exchange (DCBX) protocol mode; use enum devlink_dcbx_mode. DEVLINK_ATTR_PERM_CFG_RDMA_ENABLED: 1 to enable RDMA, 0