OSDN Git Service

mlx5_core: Fix signature handover operation for interleaved buffers
authorSagi Grimberg <sagig@mellanox.com>
Sun, 18 May 2014 15:32:38 +0000 (18:32 +0300)
committerRoland Dreier <roland@purestorage.com>
Tue, 27 May 2014 18:52:54 +0000 (11:52 -0700)
commit8524867b9c3d11e38de084f47e2128f43e74610a
treeaf2c26d8bd1ad3e9cdc1ca2728231374d970d51f
parentd6d211db37e75de2ddc3a4f979038c40df7cc79c
mlx5_core: Fix signature handover operation for interleaved buffers

When the data and protection are interleaved in the memory domain, no
need to expand the mkey total length.

At the moment no Linux user works (iSER initiator & target) in
interleaved mode. This may change in the future as for SCSI
pass-through devices there is no real point in target performing
de-interleaving and re-interleaving of the protection data in the PT
stage. Regardless, signature verbs support this mode.

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