Skip to content

Commit 5360fd4

Browse files
author
Saeed Mahameed
committed
net/mlx5e: IPoIB, Only support regular RQ for now
IPoIB doesn't support striding RQ at the moment, for this we need to explicitly choose non striding RQ in IPoIB init, even if the HW supports it. Fixes: 8f493ff ("net/mlx5e: IPoIB, RX steering RSS RQTs and TIRs") Signed-off-by: Saeed Mahameed <[email protected]>
1 parent 20b6a1c commit 5360fd4

File tree

1 file changed

+4
-0
lines changed
  • drivers/net/ethernet/mellanox/mlx5/core

1 file changed

+4
-0
lines changed

drivers/net/ethernet/mellanox/mlx5/core/ipoib.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ static void mlx5i_init(struct mlx5_core_dev *mdev,
6666

6767
mlx5e_build_nic_params(mdev, &priv->channels.params, profile->max_nch(mdev));
6868

69+
/* Override RQ params as IPoIB supports only LINKED LIST RQ for now */
70+
mlx5e_set_rq_type_params(mdev, &priv->channels.params, MLX5_WQ_TYPE_LINKED_LIST);
71+
priv->channels.params.lro_en = false;
72+
6973
mutex_init(&priv->state_lock);
7074

7175
netdev->hw_features |= NETIF_F_SG;

0 commit comments

Comments
 (0)