> +enum {
> + MLX4_RAW_QP_MTU = 7,
Is there any special meaning for MTU 7 that should be standardized in
ib_verbs.h?
In other places, the code uses IB_MTU_4096 (5):
> @@ -1042,6 +1054,8 @@ static int __mlx4_ib_modify_qp(struct ib_qp *ibqp,
>
> if (ibqp->qp_type == IB_QPT_GSI || ibqp->qp_type == IB_QPT_SMI)
> context->mtu_msgmax = (IB_MTU_4096 << 5) | 11;
> + else if (ibqp->qp_type == IB_QPT_RAW_PACKET)
> + context->mtu_msgmax = (MLX4_RAW_QP_MTU << 5) |
> MLX4_RAW_QP_MSGMAX;
> else if (ibqp->qp_type == IB_QPT_UD) {
> if (qp->flags & MLX4_IB_QP_LSO)
> context->mtu_msgmax = (IB_MTU_4096 << 5) |
--
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