On Thu, Dec 19, 2019 at 03:48:47PM +0200, Leon Romanovsky wrote: > From: Eugene Crosser <evgenii.cherkashin@xxxxxxxxxxxxxxxx> > > 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. > > Signed-off-by: Eugene Crosser <evgenii.cherkashin@xxxxxxxxxxxxxxxx> > Reviewed-by: Jack Wang <jinpu.wang@xxxxxxxxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> > --- > drivers/infiniband/hw/mlx4/cq.c | 18 +++++++----------- > include/linux/mlx4/cq.h | 5 +++++ > 2 files changed, 12 insertions(+), 11 deletions(-) Applied to for-next, thanks Jason