Searched hist:"26232872 b1e957eb4ad10b07ae9e1cd2999848d2" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/infiniband/ulp/isert/ |
H A D | ib_isert.c | diff 26232872b1e957eb4ad10b07ae9e1cd2999848d2 Thu May 31 10:05:26 CEST 2018 Max Gurtovoy <maxg@mellanox.com> IB/isert: use T10-PI check mask definitions from core layer
No reason to use hard-coded protection information checks in ib_isert driver. Use check masks from RDMA core driver. Also, while we here, reduce the number of instructions made for setting the check mask (no need to do bitwise or with 0 since we zero the mask in the beginning of the function).
Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Max Gurtovoy <maxg@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
|