Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension

From: Yunsheng Lin
Date: Wed Jun 09 2021 - 07:17:02 EST


On 2021/6/9 17:52, Parav Pandit wrote:
>
>> From: Yunsheng Lin <linyunsheng@xxxxxxxxxx>
>> Sent: Tuesday, June 8, 2021 5:41 PM
>
>>
>> Is there any reason why VF use its own devlink instance?
> Because devlink instance gives the ability for the VF and SF to control itself.
> (a) device parameters (devlink dev param show)
> (b) resources of the device
> (c) health reporters
> (d) reload in net ns
>
> There knobs (a) to (c) etc are not for the hypervisor to control. These are mainly for the VF/SF users to manage its own device.

Do we need to disable user from changing the net ns in a container?

>