mlxsw: spectrum: Add another partition to KVD linear
authorIdo Schimmel <idosch@mellanox.com>
Sun, 22 Oct 2017 21:11:50 +0000 (23:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Oct 2017 04:23:06 +0000 (05:23 +0100)
commit330e2cc65d5f2c0545230e00f8f50b35a3e5995b
tree5167d1dd8df3d461cc7e0d1f5e9717b9eb765e0b
parentf11fbaf8b5a83608523b88cf62682914cf521546
mlxsw: spectrum: Add another partition to KVD linear

The KVD linear is currently partitioned into two partitions. One for
single entries and another for groups of 32 entries.

Add another partition consisting of groups of 512 entries which will
allow us to more accurately represent the nexthop weights in non-equal
cost multi-path routing.

Signed-off-by: Ido Schimmel <idosch@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_kvdl.c