]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, Increase number of FTEs in FDB in switchdev mode
authorMark Bloch <markb@mellanox.com>
Tue, 23 Jan 2018 11:19:12 +0000 (11:19 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 23 Feb 2018 20:36:38 +0000 (12:36 -0800)
commitd3df4862a28d7591a213c01c2d1fc1b0ccdf6a3f
tree9dc83479a12527dc4935f53b7152e8af42545108
parent3cd217982177dd0d43ea50521d773a5112c69883
net/mlx5: E-Switch, Increase number of FTEs in FDB in switchdev mode

The max FTE number should be the max number of SQs that can be opened.
Ethernet representors open one SQ each. Once we add IB representor this
will increase (depends on the user). For now lets start with 31
per IB representor and if needed increase in the future.

This increase only affects the number of FTEs in the slow path FDB,
offloaded rules (done via TC on the fast path portion of the FDB)
aren't affected.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c