]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit82f6886611ee0edb5a3a5e37e568cc4abcc00c00
treec0b83256f89645abd69d5d450d91c1e52bff1ec0
parent9a8b86b989120ce060f8e2a128141aa7f79bc372
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