diff options
author | Erez Shitrit <erezsh@mellanox.com> | 2016-02-21 16:27:17 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-01 10:57:15 -0500 |
commit | f031396531fe2b1a6ffb4fa5eceb9c1fa276869a (patch) | |
tree | 7680648d7dd46f92af2317804c898aa96ad111b8 /drivers/net/mdio.c | |
parent | 1015c2e8ca2b94d8964f8ab30d925b6f678fd9d2 (diff) |
IB/mlx5: Implement UD QP offloads for IPoIB in the TX flow
In order to support LSO and CSUM in the TX flow the driver does the
following:
* LSO bit for the enum mlx5_ib_qp_flags was added, indicates QP that
supports LSO offloads.
* Enables the special offload when the QP is created, and enable the
special work request id (IB_WR_LSO) when comes.
* Calculates the size of the WQE according to the new WQE format that
support these offloads.
* Handles the new WQE format when arrived, sets the relevant
fields, and copies the needed data.
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>
Diffstat (limited to 'drivers/net/mdio.c')
0 files changed, 0 insertions, 0 deletions