net/mlx5: Simplify fdb chain and prio eswitch defines
authorPaul Blakey <paulb@mellanox.com>
Mon, 11 Nov 2019 23:34:24 +0000 (00:34 +0100)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 13 Nov 2019 21:49:32 +0000 (13:49 -0800)
commit12063c2e4c0e38f36c0e6f0942cd138feed022b3
treef3cfb5fc9941fac8ad201e2a534f97021eea7f48
parent94de879c28d8e6c20bfec308de84703625221712
net/mlx5: Simplify fdb chain and prio eswitch defines

FDB_MAX_CHAIN and FDB_MAX_PRIO were defined differently depending
on if CONFIG_MLX5_ESWITCH is enabled to save space on allocations.

This is a minor space saving, and there is no real need for it.
Simplify things instead, and define them the same in both cases.

Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h