]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Change max vfid
authorNogah Frankel <nogahf@mellanox.com>
Thu, 9 Feb 2017 13:54:45 +0000 (14:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 16:46:40 +0000 (11:46 -0500)
commit845cd04a4254cd2c68bc147228c9a91e4c0bfbd8
treec4d5f8ffdb3fdd541d2f1555b325c7fdd4b95fda
parenteb75680ff6c96211f6ff6c8d37272daa383630e3
mlxsw: spectrum: Change max vfid

A user that wants many bridges will use 1.Q bridge which are scalable.
One can have as many 1.Q bridges as vfids.
This patch sets their number to 1k, which is a reasonably large number.
This change is done here because the next patches will add a new flood
table, and without it, it will increase the overall size of the flood
tables dramatically.

Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.h