IB/mlx5: Expose MPLS related tunneling offloads
authorAriel Levkovich <lariel@mellanox.com>
Sun, 13 May 2018 11:33:35 +0000 (14:33 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 17 May 2018 03:32:55 +0000 (21:32 -0600)
commite818e255a58d64e86c8c93e3aa52498b1a3d1760
treec5a16e86fbe0603337cc1815d3911111b51916d0
parent71c6e8638ce3baf9ec16d64d263aab74beac912d
IB/mlx5: Expose MPLS related tunneling offloads

This patch reports the device's capbilities to offload
encapsulated MPLS tunnel protocols to user-space:
- Capability to offload MPLS over GRE.
- Capability to offload MPLS over UDP.

Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Ariel Levkovich <lariel@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/main.c
include/linux/mlx5/device.h
include/linux/mlx5/mlx5_ifc.h
include/uapi/rdma/mlx5-abi.h