]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: profile: Add KVD resources to profile config
authorNogah Frankel <nogahf@mellanox.com>
Tue, 20 Sep 2016 09:16:52 +0000 (11:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Sep 2016 05:00:58 +0000 (01:00 -0400)
commitc818f2303930574b8d020678999c5e2ecb480674
tree298be6ba542485a6777dc38cfa0085e015d877f6
parent55e1741edcf23abdbca1e4ca5c41d08dc02dc68a
mlxsw: profile: Add KVD resources to profile config

Use resources from resource query to determine values for
the profile configuration.
Add KVD determined section sizes to the resources struct.
Change the profile struct and value to match this changes.

Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Reviewed-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/core.h
drivers/net/ethernet/mellanox/mlxsw/pci.c
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/spectrum.h