Re: [PATCH libibverbs] Fix create/destroy flow API

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

 



On Fri, Sep 04, 2015 at 05:17:38PM -0400, Doug Ledford wrote:
> +		/*
> +		 * In order to maintain backward/forward binary compatibility
> +		 * with libmlx4-1.0.6, which has the original version of the
> +		 * flow steering patches, we need to set the two
> +		 * ABI_compat_placeholder entries to match the driver
> +		 * set flow entries.  This is because, in the specific instance
> +		 * of using libmlx4-1.0.6 with the fixed version of
> +		 * libibvberbs, the ibv_create_flow inline function already
> +		 * compiled into libmlx4-1.0.6 will be loooking in the
> +		 * ABI_placeholder spots for the function pointer to the
> +		 * create and destroy flow verbs.
>  		 */

This isn't quite the right comment, it has very little to do with mlx,
ibv_create_flow is the user entry point, the above applies to
everything linked to ibverbs.

My suggestion was to not change the ibverbs->user ABI at all and just
mangle the driver side, ie move the ABI_placeholder to what was drv_
instead of lib_.

Can't see anything wrong with it this way, off hand, other than the
comment.

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