|
@@ -806,6 +806,10 @@ static int mlx4_en_config_rss_qp(struct mlx4_en_priv *priv, int qpn,
|
|
|
qpn, ring->cqn, context);
|
|
|
context->db_rec_addr = cpu_to_be64(ring->wqres.db.dma);
|
|
|
|
|
|
+ /* Cancel FCS removal if FW allows */
|
|
|
+ if (mdev->dev->caps.flags & MLX4_DEV_CAP_FLAG_FCS_KEEP)
|
|
|
+ context->param3 |= cpu_to_be32(1 << 29);
|
|
|
+
|
|
|
err = mlx4_qp_to_ready(mdev->dev, &ring->wqres.mtt, context, qp, state);
|
|
|
if (err) {
|
|
|
mlx4_qp_remove(mdev->dev, qp);
|