On Mon, Jun 08, 2015 at 05:12:08PM +0300, Matan Barak wrote:
> +unsigned long roce_gid_type_mask_support(struct ib_device *ib_dev, u8 port);
> +
What is all this gid_type_mask stuff about? rocev2?
> +unsigned long roce_gid_type_mask_support(struct ib_device *ib_dev, u8 port)
> +{
> + return !!rdma_protocol_roce(ib_dev, port);
> +}
Just return bool and drop the !!
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html