mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
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>
This commit is contained in:
parent
71c6e8638c
commit
e818e255a5
4 changed files with 19 additions and 2 deletions
|
|
@ -233,7 +233,9 @@ enum mlx5_ib_query_dev_resp_flags {
|
|||
enum mlx5_ib_tunnel_offloads {
|
||||
MLX5_IB_TUNNELED_OFFLOADS_VXLAN = 1 << 0,
|
||||
MLX5_IB_TUNNELED_OFFLOADS_GRE = 1 << 1,
|
||||
MLX5_IB_TUNNELED_OFFLOADS_GENEVE = 1 << 2
|
||||
MLX5_IB_TUNNELED_OFFLOADS_GENEVE = 1 << 2,
|
||||
MLX5_IB_TUNNELED_OFFLOADS_MPLS_GRE = 1 << 3,
|
||||
MLX5_IB_TUNNELED_OFFLOADS_MPLS_UDP = 1 << 4,
|
||||
};
|
||||
|
||||
struct mlx5_ib_query_device_resp {
|
||||
|
|
|
|||
Loading…
Reference in a new issue