OpenCloudOS-Kernel/drivers/infiniband/hw
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
..
bnxt_re RDMA/bnxt_re: Report more number of completion vectors 2020-01-03 15:45:31 -04:00
cxgb4 RDMA subsystem updates for 5.5 2019-11-27 10:17:28 -08:00
efa treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
hfi1 treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
hns RDMA/hns: Simplify the calculation and usage of wqe idx for post verbs 2020-01-03 15:48:48 -04:00
i40iw IB/umem: remove the dmasync argument to ib_umem_get 2019-11-17 10:37:00 -04:00
mlx4 RDMA/mlx4: Redo TX checksum offload in line with docs 2020-01-03 16:37:58 -04:00
mlx5 IB/mlx5: Fix outstanding_pi index for GSI qps 2020-01-03 15:56:41 -04:00
mthca IB/umem: remove the dmasync argument to ib_umem_get 2019-11-17 10:37:00 -04:00
ocrdma IB/umem: remove the dmasync argument to ib_umem_get 2019-11-17 10:37:00 -04:00
qedr RDMA/qedr: Add kernel capability flags for dpm enabled mode 2020-01-03 12:37:00 -04:00
qib RDMA/qib: Validate ->show()/store() callbacks before calling them 2019-11-14 11:49:15 -04:00
usnic mm/gup: add make_dirty arg to put_user_pages_dirty_lock() 2019-09-24 15:54:08 -07:00
vmw_pvrdma IB/umem: remove the dmasync argument to ib_umem_get 2019-11-17 10:37:00 -04:00
Makefile RDMA/iw_cxgb3: Remove the iw_cxgb3 module from kernel 2019-10-04 15:08:59 -03:00