]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit74f7b3fa5cce18cd354fe3e7b7a890d3ecdd52a7
tree5167d1dd8df3d461cc7e0d1f5e9717b9eb765e0b
parent643093c89e6099149bd743731a7ec53bbc08ad26
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