diff options
author | Eli Cohen <eli@mellanox.com> | 2013-09-11 16:35:25 +0300 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2013-10-10 09:23:56 -0700 |
commit | c1868b822515313c72445e70b7d9e47d8815bc52 (patch) | |
tree | 36fa91954c1cf738f22ae67939e00131d35c47cb /include/linux/mlx5/driver.h | |
parent | 56e1ab0f13509ff9ceaab2fb668c80e6722e1c94 (diff) | |
download | op-kernel-dev-c1868b822515313c72445e70b7d9e47d8815bc52.zip op-kernel-dev-c1868b822515313c72445e70b7d9e47d8815bc52.tar.gz |
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/driver.h')
-rw-r--r-- | include/linux/mlx5/driver.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h index 8888381..2cfc430 100644 --- a/include/linux/mlx5/driver.h +++ b/include/linux/mlx5/driver.h @@ -747,8 +747,7 @@ static inline u32 mlx5_idx_to_mkey(u32 mkey_idx) enum { MLX5_PROF_MASK_QP_SIZE = (u64)1 << 0, - MLX5_PROF_MASK_CMDIF_CSUM = (u64)1 << 1, - MLX5_PROF_MASK_MR_CACHE = (u64)1 << 2, + MLX5_PROF_MASK_MR_CACHE = (u64)1 << 1, }; enum { @@ -758,7 +757,6 @@ enum { struct mlx5_profile { u64 mask; u32 log_max_qp; - int cmdif_csum; struct { int size; int limit; |