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)
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

Simple merge