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 Tue, Mar 01, 2016 at 09:45:40AM -0600, Steve Wise wrote:
> > > +static inline bool rdma_has_read_invalidate(struct ib_device *dev, u32 port_num)
> > 
> > Is rdma_device_sup_read_inv() a better name?
> 
> or rdma_dev_supports_read_inv()

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?
--
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