On Wed, 2020-12-16 at 08:50 +0200, Leon Romanovsky wrote: > On Tue, Dec 15, 2020 at 01:28:05PM -0800, Jakub Kicinski wrote: > > On Tue, 15 Dec 2020 12:35:20 -0800 Saeed Mahameed wrote: > > > > I think the big thing we really should do if we are going to go > > > > this > > > > route is to look at standardizing what the flavours are that > > > > get > > > > created by the parent netdevice. Otherwise we are just creating > > > > the > > > > same mess we had with SRIOV all over again and muddying the > > > > waters of > > > > mediated devices. > > > > > > yes in the near future we will be working on auxbus interfaces > > > for > > > auto-probing and user flavor selection, this is a must have > > > feature for > > > us. > > > > Can you elaborate? I thought config would be via devlink. > > Yes, everything continues to be done through devlink. > > One of the immediate features is an ability to disable/enable > creation > of specific SF types. > > For example, if user doesn't want RDMA, the SF RDMA won't be created. > Devlink is an option too, we still don't have our mind set on a specific API, we are considering both as a valuable solutions since devlink make sense as a go to interface for everything SF, but on the other hand, auto-probing and device instantiating is done at the auxbus level, so it also make sense to have some sort of "device type" user selection api in the auxbus, anyway this discussion is for a future patch.