Re: [PATCH 3/9] IB/core: add a helper to check for READ WITH INVALIDATE support

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

 



On Thu, Mar 03, 2016 at 10:53:01AM -0700, Jason Gunthorpe wrote:
> > I looked at the naming and I think a rdma_device_* or rdma_dev_* is
> > simplify wrong - per the official decree we can support different
> > protocols on different ports, and that's why we also pass the port_num
> > to this function.  How about rdma_cap_read_inv?
> 
> We can't support different protocols on different ports. The ports
> hung off a struct device must be similar. The rules might be bent a
> bit for rocee/ib sharing (not a great idea, IMHO) but certainly iwap
> and !iwarp cannot share a struct device.

That's how I would like to see it.  But the way how all the cap checks
are done on a per port basis implies something different.

And for this series I'm not going to changes this.  In the long run
I'd be much happier if this nonsense of passing a port number to
the capability checks would go away.
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux