]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf4be75c373993cdc0baa7b8ff77d92f554a8c0e2
treead4df0940a38151b6fc38fa2d79d79698cc87285
parent58732534c569b815a4b70f3bfc9865fbfd84e6b9
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