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

From: Jason Gunthorpe
Date: Mon Jun 07 2021 - 14:28:12 EST


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@xxxxxxxxxx/

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