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)
commitcd3d07e7db69456beaeb90529270a95c7692f4b3
tree9dc83479a12527dc4935f53b7152e8af42545108
parent57cbd893c4c575a24594fa6c0835247506ce26e2
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