]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5: E-Switch, don't use hardcoded values for FDB prios
authorMark Bloch <markb@mellanox.com>
Thu, 28 Mar 2019 13:27:31 +0000 (15:27 +0200)
committerLeon Romanovsky <leonro@mellanox.com>
Wed, 10 Apr 2019 06:28:41 +0000 (09:28 +0300)
commitb6d9ccb1125049941590ea895c38e1167badba5f
tree24c782cc525931f3f270d32cc08320582a85ece0
parentaef6c443fe84d09cd4a272bc68837b58b584dc6f
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>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
include/linux/mlx5/fs.h