mlxsw: pci: Add max router interface resource
authorNogah Frankel <nogahf@mellanox.com>
Tue, 20 Sep 2016 09:16:56 +0000 (11:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Sep 2016 05:00:59 +0000 (01:00 -0400)
commit274df7fb77fffd243336c6affa2f9469e8f11122
tree119138c01c26cff7d09c55929f23fe2345c334cd
parente44d49cbbc5fb1a310b71212acc4e1f378a8fd91
mlxsw: pci: Add max router interface resource

Add the max number of rif (router interfaces) 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