hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c
....@@ -69,6 +69,10 @@
6969 params->lro_en = false;
7070 params->hard_mtu = MLX5_IB_GRH_BYTES + MLX5_IPOIB_HARD_LEN;
7171 params->tunneled_offload_en = false;
72
+
73
+ /* CQE compression is not supported for IPoIB */
74
+ params->rx_cqe_compress_def = false;
75
+ MLX5E_SET_PFLAG(params, MLX5E_PFLAG_RX_CQE_COMPRESS, params->rx_cqe_compress_def);
7276 }
7377
7478 /* Called directly after IPoIB netdevice was created to initialize SW structs */