Re: [PATCH RFC 1/2] RDMA: Add indication for in kernel API support to IB device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 02, 2019 at 10:40:50AM +0200, Gal Pressman wrote:
> 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?

The core code should not call registered client callbacks for non
verbs device at all.

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux