diff options
author | Maor Gottlieb <maorg@mellanox.com> | 2020-05-04 08:30:10 +0300 |
---|---|---|
committer | Leon Romanovsky <leonro@mellanox.com> | 2020-05-13 18:56:31 +0300 |
commit | 9254f8ed15b6dcc9b04b9ad32863a7518cc5a5b1 (patch) | |
tree | 2beb974b382c954a6f972e9e4035bdcd474fde58 /drivers/net/ethernet/mellanox/mlx5/core/fs_core.h | |
parent | 14c129e30152f7d74c8b25ec06ae742f4291e166 (diff) | |
download | linux-9254f8ed15b6dcc9b04b9ad32863a7518cc5a5b1.tar.bz2 |
net/mlx5: Add support in forward to namespace
Currently, fs_core supports rule of forward the traffic
to continue matching in the next priority, now we add support
to forward the traffic matching in the next namespace.
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Mark Zhang <markz@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/fs_core.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/fs_core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/fs_core.h b/drivers/net/ethernet/mellanox/mlx5/core/fs_core.h index 508108c58dae..825b662f809b 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/fs_core.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/fs_core.h @@ -138,6 +138,7 @@ struct fs_node { struct mlx5_flow_rule { struct fs_node node; + struct mlx5_flow_table *ft; struct mlx5_flow_destination dest_attr; /* next_ft should be accessed under chain_lock and only of * destination type is FWD_NEXT_fT. @@ -175,6 +176,7 @@ struct mlx5_flow_table { u32 flags; struct rhltable fgs_hash; enum mlx5_flow_table_miss_action def_miss_action; + struct mlx5_flow_namespace *ns; }; struct mlx5_ft_underlay_qp { |