Hi Ram, On 10/18/2017 1:37 PM, Amrani, Ram wrote: > Hi Leon, Noa, > >> @@ -1781,6 +1783,19 @@ static int create_qp_common(struct mlx5_ib_dev *dev, struct ib_pd *pd, >> qp->flags |= MLX5_IB_QP_LSO; >> } >> >> + if (init_attr->create_flags & IB_QP_CREATE_SCATTER_END_PADDING) { >> + if (!MLX5_CAP_GEN(dev->mdev, end_pad)) { >> + mlx5_ib_dbg(dev, "scatter end padding is not supported\n"); >> + err = -EOPNOTSUPP; >> + goto err; >> + } else if (init_attr->qp_type != IB_QPT_RAW_PACKET) { >> + MLX5_SET(qpc, qpc, end_padding_mode, >> + MLX5_WQ_END_PAD_MODE_ALIGN); >> + } else { >> + qp->flags |= MLX5_IB_QP_SCATTER_END_PADDING; >> + } >> + } >> + > What's the feature associated with MLX5_WQ_END_PAD_MODE_ALIGN? > It seems it was there before this patch series and bears a similar name. Right, this series exposes this already existing feature to the user. > Thanks, > Ram -- 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