diff options
author | Maor Gottlieb | 2016-04-29 00:36:34 +0200 |
---|---|---|
committer | David S. Miller | 2016-04-29 22:29:09 +0200 |
commit | a257b94a18f7eb60bbe9b5fd415d208ac71d49ea (patch) | |
tree | 6fef2c04926d318ecd4193e8e2b8e80232dabd92 /drivers/net/ethernet/mellanox/mlx5/core/fs_core.h | |
parent | net/mlx5: Introduce modify flow rule destination (diff) | |
download | kernel-qcow2-linux-a257b94a18f7eb60bbe9b5fd415d208ac71d49ea.tar.gz kernel-qcow2-linux-a257b94a18f7eb60bbe9b5fd415d208ac71d49ea.tar.xz kernel-qcow2-linux-a257b94a18f7eb60bbe9b5fd415d208ac71d49ea.zip |
net/mlx5: Set number of allowed levels in priority
Refactors the flow steering namespace creation,
by changing the name num_fts to num_levels.
When new flow table is created, the driver assign new level
to this flow table therefore the meaning is equivalent.
Since downstream patches will introduce the ability to create more
than one flow table per level, the name num_fts is no
longer accurate.
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
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, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/fs_core.h b/drivers/net/ethernet/mellanox/mlx5/core/fs_core.h index f37a6248a27b..d607e564f454 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/fs_core.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/fs_core.h @@ -107,7 +107,7 @@ struct fs_fte { /* Type of children is mlx5_flow_table/namespace */ struct fs_prio { struct fs_node node; - unsigned int max_ft; + unsigned int num_levels; unsigned int start_level; unsigned int prio; unsigned int num_ft; |