mlxsw: resources: Add Spectrum-2 maximum large key ID resource
authorIdo Schimmel <idosch@mellanox.com>
Wed, 25 Jul 2018 06:23:53 +0000 (09:23 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Jul 2018 23:46:01 +0000 (16:46 -0700)
commit541e249cdcc4d305c39a3cbc6bb6fe0eaaa6cf07
treee1351a6f28b55b6deef5c8c6155e9f15adb86869
parent8c0d1cdd052a4469cf7a53553299bd38596947dc
mlxsw: resources: Add Spectrum-2 maximum large key ID resource

Add a resource to make sure we do not exceed the maximum number of
supported large key IDs in a region.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/resources.h