mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-25 00:52:45 -04:00
net/mlx5: E-Switch, don't use hardcoded values for FDB prios
When creating the FDB prios, use the enum values already defined and not the hardcoded values. Signed-off-by: Mark Bloch <markb@mellanox.com> Reviewed-by: Maor Gottlieb <maorg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
This commit is contained in:
committed by
Leon Romanovsky
parent
aef6c443fe
commit
b6d9ccb112
@@ -75,6 +75,11 @@ enum mlx5_flow_namespace_type {
|
||||
MLX5_FLOW_NAMESPACE_EGRESS,
|
||||
};
|
||||
|
||||
enum {
|
||||
FDB_FAST_PATH,
|
||||
FDB_SLOW_PATH,
|
||||
};
|
||||
|
||||
struct mlx5_flow_table;
|
||||
struct mlx5_flow_group;
|
||||
struct mlx5_flow_namespace;
|
||||
|
||||
Reference in New Issue
Block a user