RE: [RFC ABI 8/8] IB/core: Implement device_create with the new ABI

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

 



> > > +	filp = ib_uverbs_alloc_event_file(file, ib_dev, 1);
> > > +	if (IS_ERR(filp)) {
> > > +		ret = PTR_ERR(filp);
> > > +		goto err_fd;
> > > +	}
> >
> > I was considering events being reported directly on the file that's
> > already opened.  Any objects opened through a file would report
> > their events on that file, with possibly a way to redirect events to
> > a different file (similar to rdma_migrate_id processing).
> 
> Is this code then just an optional compat for libibverbs 1.0?

It can work for compat, but migrate id had other use cases, which might be applicable in other situations.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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