On 01-Jan-19 21:17, Leon Romanovsky wrote: > On Tue, Jan 01, 2019 at 11:30:24AM +0200, Gal Pressman wrote: >> Drivers that do not provide kernel verbs support should communicate that >> to the ULPs before they try to use the device and fail. >> This patch allows drivers to indicate whether the device provides >> support for kernel API usage with the 'kverbs_provider' flag and makes >> ib clients not add unsupported devices. > > General comment, if we decide to proceed this path, the implementation > shouldn't touch ULPs and drivers and needs to be implemented in IB/core > only. > > Thanks Hi Leon, How would that work? Each ULP should decide whether it wants to add the device or not, shouldn't that be coded in the ULP? > >> >> No functional changes were introduced in this patch, all devices are >> marked as kernel providers. Downstream patch will adjust relevant >> drivers.