Re: [PATCH v6 00/20] Add VFIO mediated device support and DEV-MSI support for the idxd driver

Jason Gunthorpe
2021-06-07T18:28:12Z

On Mon, Jun 07, 2021 at 06:22:08AM +0000, Tian, Kevin wrote:
>
> btw I'm not clear what the netlink interface will finally be, especially
> about whether any generic cmd should be defined cross devices given
> that subdevice management still has large generality. Jason, do you have
> an example somewhere which we can take a look regarding to mlx
> netlink design?

Start here:

https://lore.kernel.org/netdev/20210120090531.49553-1-saeed@kernel.org/

devlink is some more generic way to control PCI/etc devices as some side
band to their usual uAPI interfaces like netlink/rdma/etc

Jason