diff options
author | Maor Gottlieb <maorg@mellanox.com> | 2017-10-19 08:25:55 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-10-25 14:19:31 -0400 |
commit | f95ef6cbae61fa1dd563f5c0f6a0e5b512fda5ba (patch) | |
tree | 1f7b66138e9899090f00f5bada5a555e4f9db51b /drivers/infiniband/hw/vmw_pvrdma | |
parent | 4d350f1f89ee8ea84be1ef09717bf392fa5a3b45 (diff) |
IB/mlx5: Add tunneling offloads support
The device can support receive Stateless Offloads for the inner
packet's fields only when the packet is processed by TIR which is
enabled to support tunneling. Otherwise, the device treats the
packet as an ordinary non-tunneling packet and receive offloads
can be done only for the outer packet's field.
In order to enable receive Stateless Offloading support for incoming
tunneling traffic the TIR should be created with tunneled_offload_en.
Tunneling offloads is supported only be raw ethernet QP.
This patch includes:
* New QP creation flag for tunneling offloads.
* Reports device capabilities.
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/vmw_pvrdma')
0 files changed, 0 insertions, 0 deletions