Re: [PATCH 10/20] RDMA/mlx5: Introduce and implement new IB_WR_REG_MR_INTEGRITY work request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




+    if (!prot || (data_key == prot_key && data_va == prot_va &&
+              data_len == prot_len)) {

Worth explaining in a comment that this is either insert/strip or
interleaved case..

there is an explanation that you wrote (I think it's good enough):

              /**
                  * Source domain doesn't contain signature information
                  * or data and protection are interleaved in memory.
                  * So need construct:
                  *                  ------------------
                  *                 |     data_klm     |
                  *                  ------------------
                  *                 |       BSF        |
                  *                  ------------------
                  **/

Right :-)



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux