lkml.org 
[lkml]   [2021]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH V4 05/18] iommu/ioasid: Redefine IOASID set and allocation APIs
    On Wed, May 26, 2021 at 12:59:05PM -0600, Alex Williamson wrote:

    > A driver provided sysfs attribute would obviously fill the short
    > term gap, long term maybe this would be standardized via netlink. It
    > seems a bit analogous to setting the MAC address for a VF on an SR-IOV
    > NIC or VF namespace configuration for an SR-IOV NVMe device. Thanks,

    We have been doing a lot of work in netlink/devlink to program the VF
    settings before starting the VF driver

    I've long thought it would be good to standardize a VF lifecycle in
    Linux eg VFs start their life in some 'unconfigured' state and drivers
    don't bind, then userspace can use the PF to perform configuration,
    finally the driver can start on a configured VF

    We are already doing this model for the mlx5 'sub function' interfaces
    which have alot of analogs to both VFs and Intel's SIOV ADIs. It seems
    to be working.

    Jason

    \
     
     \ /
      Last update: 2021-05-26 21:14    [W:2.281 / U:0.280 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site