summaryrefslogtreecommitdiff
path: root/net/ipv4/datagram.c
diff options
context:
space:
mode:
authorMax Gurtovoy <maxg@mellanox.com>2018-05-31 11:05:26 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-06-04 09:19:24 -0600
commit26232872b1e957eb4ad10b07ae9e1cd2999848d2 (patch)
tree7f6674cc6d1b93f46b3d13a49a5bbe5522cdea9e /net/ipv4/datagram.c
parentc6c2c03a665af99785341eb0481f4170942890d2 (diff)
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>
Diffstat (limited to 'net/ipv4/datagram.c')
0 files changed, 0 insertions, 0 deletions