summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/driver.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/driver.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/driver.h')
-rw-r--r--include/linux/mlx5/driver.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h
index 8888381fc150..2cfc4309d45f 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;