summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/mlx5_ifc.h
diff options
context:
space:
mode:
authorShahar Klein2018-03-22 11:32:12 +0100
committerSaeed Mahameed2018-05-17 23:17:34 +0200
commitb17f7fc10facca9e1b2b9cef39af0a8179796c14 (patch)
treeb3a5fc642835364f515c91be5e91293e27506591 /include/linux/mlx5/mlx5_ifc.h
parentnet/mlx5: Properly handle a vport destination when setting FTE (diff)
downloadkernel-qcow2-linux-b17f7fc10facca9e1b2b9cef39af0a8179796c14.tar.gz
kernel-qcow2-linux-b17f7fc10facca9e1b2b9cef39af0a8179796c14.tar.xz
kernel-qcow2-linux-b17f7fc10facca9e1b2b9cef39af0a8179796c14.zip
net/mlx5: Add destination e-switch owner
The destination e-switch owner allows a rule in namespace of one e-switch owner to point to a vport that is natively associated with another e-switch owner. Signed-off-by: Shahar Klein <shahark@mellanox.com> Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include/linux/mlx5/mlx5_ifc.h')
-rw-r--r--include/linux/mlx5/mlx5_ifc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index ef15f751a984..3d17709bc30c 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -1148,8 +1148,9 @@ enum mlx5_flow_destination_type {
struct mlx5_ifc_dest_format_struct_bits {
u8 destination_type[0x8];
u8 destination_id[0x18];
-
- u8 reserved_at_20[0x20];
+ u8 destination_eswitch_owner_vhca_id_valid[0x1];
+ u8 reserved_at_21[0xf];
+ u8 destination_eswitch_owner_vhca_id[0x10];
};
struct mlx5_ifc_flow_counter_list_bits {