mlxsw: pci: Add some miscellaneous resources
authorNogah Frankel <nogahf@mellanox.com>
Tue, 20 Sep 2016 09:16:55 +0000 (11:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Sep 2016 05:00:59 +0000 (01:00 -0400)
commite44d49cbbc5fb1a310b71212acc4e1f378a8fd91
tree5ef54199b5feb63bbfdeb961024bae2d2042d3ef
parent9497c042bfa9012cdefaddd8588b031bfae59a7c
mlxsw: pci: Add some miscellaneous resources

Add max system ports, max regions and max vlan groups to resource query.

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