diff options
author | Shahar Klein <shahark@mellanox.com> | 2018-03-22 13:32:12 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-05-18 00:17:34 +0300 |
commit | b17f7fc10facca9e1b2b9cef39af0a8179796c14 (patch) | |
tree | b3a5fc642835364f515c91be5e91293e27506591 /include/linux/mlx5/fs.h | |
parent | 65360e5451121e493944776a7e33d1345c8483e6 (diff) | |
download | linux-b17f7fc10facca9e1b2b9cef39af0a8179796c14.tar.xz |
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/fs.h')
-rw-r--r-- | include/linux/mlx5/fs.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/mlx5/fs.h b/include/linux/mlx5/fs.h index 47aecc4fa8c2..9f4d32e41c06 100644 --- a/include/linux/mlx5/fs.h +++ b/include/linux/mlx5/fs.h @@ -90,8 +90,12 @@ struct mlx5_flow_destination { union { u32 tir_num; struct mlx5_flow_table *ft; - u32 vport_num; struct mlx5_fc *counter; + struct { + u16 num; + u16 vhca_id; + bool vhca_id_valid; + } vport; }; }; |