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

Steve Wise
2016-03-01T15:45:40Z

> -----Original Message-----
> From: Sagi Grimberg [mailto:sagig-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org]
> Sent: Tuesday, March 01, 2016 3:03 AM
> To: Christoph Hellwig; linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> Cc: swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org; sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org; bart.vanassche-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org; target-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> Subject: Re: [PATCH 3/9] IB/core: add a helper to check for READ WITH INVALIDATE support
>
>
> > +/*
> > + * Check if the device supports READ W/ INVALIDATE.
> > + */
> > +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()

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html