mlxsw: pci: Add some miscellaneous resources
authorNogah Frankel <[email protected]>
Tue, 20 Sep 2016 09:16:55 +0000 (11:16 +0200)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/mellanox/mlxsw/core.h
drivers/net/ethernet/mellanox/mlxsw/pci.c
drivers/net/ethernet/mellanox/mlxsw/spectrum.c