mlx5_core: Copy DIF fields only when input and output space values match
authorSagi Grimberg <sagig@mellanox.com>
Sun, 18 May 2014 15:32:40 +0000 (18:32 +0300)
committerRoland Dreier <roland@purestorage.com>
Tue, 27 May 2014 18:53:02 +0000 (11:53 -0700)
commitc7f44fbda68a6b2d6ceb10e45c711750e779bace
tree3adfb3a9be24d38e0c7523323686c2ee9e3e09f1
parent5c273b16771eaeb3957d365bb3695b92aff037cf
mlx5_core: Copy DIF fields only when input and output space values match

Some DIF implementations (SCSI initiator/target) may want to use different
input/output values for application tag and/or reference tag. So in
case memory/wire domain values don't match HW must not copy them.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx5/qp.c