summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/device.h
diff options
context:
space:
mode:
authorEli Cohen2013-09-11 15:35:25 +0200
committerRoland Dreier2013-10-10 18:23:56 +0200
commitc1868b822515313c72445e70b7d9e47d8815bc52 (patch)
tree36fa91954c1cf738f22ae67939e00131d35c47cb /include/linux/mlx5/device.h
parentIB/mlx5: Fix memory leak in mlx5_ib_create_srq (diff)
downloadkernel-qcow2-linux-c1868b822515313c72445e70b7d9e47d8815bc52.tar.gz
kernel-qcow2-linux-c1868b822515313c72445e70b7d9e47d8815bc52.tar.xz
kernel-qcow2-linux-c1868b822515313c72445e70b7d9e47d8815bc52.zip
mlx5: Remove checksum on command interface commands
Checksum calculations consume CPU resources and can be significant to the rate of resource creation/destruction. Signed-off-by: Eli Cohen <eli@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include/linux/mlx5/device.h')
-rw-r--r--include/linux/mlx5/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mlx5/device.h b/include/linux/mlx5/device.h
index 68029b30c3dc..770e3b448b3b 100644
--- a/include/linux/mlx5/device.h
+++ b/include/linux/mlx5/device.h
@@ -181,7 +181,7 @@ enum {
MLX5_DEV_CAP_FLAG_TLP_HINTS = 1LL << 39,
MLX5_DEV_CAP_FLAG_SIG_HAND_OVER = 1LL << 40,
MLX5_DEV_CAP_FLAG_DCT = 1LL << 41,
- MLX5_DEV_CAP_FLAG_CMDIF_CSUM = 1LL << 46,
+ MLX5_DEV_CAP_FLAG_CMDIF_CSUM = 3LL << 46,
};
enum {