OpenCloudOS-Kernel/drivers/infiniband
Eugene Crosser 3593f69c55 RDMA/mlx4: Redo TX checksum offload in line with docs
Ingress checksum offload was not working for IPv6 frames because the
conditional expression that checks validation status passed from the
hardware was not matching the algorithm described in the documentation.

This patch defines L4_CSUM flag (which falls inside the badfcs_enc field
in the existing definition of the CQE layout) and replaces the conditional
expression with the one defined in the "ConnectX(r) Family Programmer's
Manual" document.

Link: https://lore.kernel.org/r/20191219134847.413582-1-leon@kernel.org
Signed-off-by: Eugene Crosser <evgenii.cherkashin@profitbricks.com>
Reviewed-by: Jack Wang <jinpu.wang@profitbricks.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2020-01-03 16:37:58 -04:00
..
core RDMA/cm: Use RCU synchronization mechanism to protect cm_id_private xa_load() 2020-01-03 16:29:44 -04:00
hw RDMA/mlx4: Redo TX checksum offload in line with docs 2020-01-03 16:37:58 -04:00
sw RDMA/siw: Simplify QP representation 2020-01-03 15:54:09 -04:00
ulp RDMA/srpt: Remove unnecessary assertion in srpt_queue_response 2020-01-03 16:11:47 -04:00
Kconfig RDMA/iw_cxgb3: Remove the iw_cxgb3 module from kernel 2019-10-04 15:08:59 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00