On 9/13/2017 9:38 PM, Jason Gunthorpe wrote:
On Tue, Sep 12, 2017 at 06:13:40PM +0300, Yishai Hadas wrote:
On 9/11/2017 7:42 PM, Jason Gunthorpe wrote:
On Mon, Sep 11, 2017 at 02:43:04PM +0300, Yishai Hadas wrote:
MLX5DV_CONTEXT_FLAGS_CQE_V1 = (1 << 0),
- MLX5DV_CONTEXT_FLAGS_MPW = (1 << 1),
+ MLX5DV_CONTEXT_FLAGS_MPW = (1 << 1), /* Obsoleted */
+ MLX5DV_CONTEXT_FLAGS_MPW_ALLOWED = (1 << 2),
The bug was fixed in kernel 4.14 and now the feature is supported, the
legacy value 1 on resp.support_multi_pkt_send_wqe is not reported from
kernel any more as we can't rely on, and a new bit MLX5_ALLOW_MPW (1 << 1)
was introduced to indicate that feature is supported.
That is very messy.. At least delete the MLX5DV_CONTEXT_FLAGS_MPW
constant to create a compile failure for this break.
PR was updated as you suggested, series was merged.
--
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