mlxsw: pci: Add max virtual routers resource
authorNogah Frankel <nogahf@mellanox.com>
Tue, 20 Sep 2016 09:16:53 +0000 (11:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Sep 2016 05:00:59 +0000 (01:00 -0400)
commitb8a09f0a0938acee81c386e3c27e7aca78b087eb
treed11115c47c1b19f8cd4c259d47f99db6db98b2e0
parent403547d38d0b99f589a0d87f3a5f352895e54aae
mlxsw: pci: Add max virtual routers resource

Add the max number of virtual routers 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