IB/mlx5: Add support for CSUM in RX flow
authorErez Shitrit <erezsh@mellanox.com>
Sun, 21 Feb 2016 14:27:18 +0000 (16:27 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 1 Mar 2016 15:57:15 +0000 (10:57 -0500)
commitc7ce833b364bc19ef51b3c973c94a863e4af0e06
treec0b83256f89645abd69d5d450d91c1e52bff1ec0
parentf031396531fe2b1a6ffb4fa5eceb9c1fa276869a
IB/mlx5: Add support for CSUM in RX flow

The driver checks the csum from the HW when completion arrived and marks
it in the wc->wc_flags field for the ulp drivers.
These is for packets from type IB_WC_RECV only.

Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/cq.c