linux-xiaomi-chiron/include/linux/mlx4
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
..
cmd.h net/mlx4: Spoofcheck and zero MAC can't coexist 2017-02-23 10:57:56 -05:00
cq.h RDMA/mlx4: Redo TX checksum offload in line with docs 2020-01-03 16:37:58 -04:00
device.h {net, IB}/mlx4: Initialize CQ buffers in the driver when possible 2018-11-22 11:38:36 -08:00
doorbell.h
driver.h net/mlx4: && vs & typo 2017-03-01 09:50:58 -08:00
qp.h net/mlx4: Fix the check in attaching steering rules 2017-06-04 23:10:05 -04:00
srq.h