IB/mlx5: Define interface bits for IPoIB offloads
authorErez Shitrit <erezsh@mellanox.com>
Sun, 21 Feb 2016 14:27:16 +0000 (16:27 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 1 Mar 2016 15:57:15 +0000 (10:57 -0500)
commit1015c2e8ca2b94d8964f8ab30d925b6f678fd9d2
treead4df0940a38151b6fc38fa2d79d79698cc87285
parent3efd9a11212d500e36c2837db853178cdaa86d5a
IB/mlx5: Define interface bits for IPoIB offloads

The HW can supply several offloads for UD QP, added  offloads for
checksumming for both TX and RX and LSO for TX.
Two new bits were added in order to expose and enable these offloads:
1. HCA capability bit: declares the support for IPoIB basic offloads.
2. QPC bit which will be used in the QP creation flow, which set these
abilities in the QP.

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>
include/linux/mlx5/mlx5_ifc.h