mlxsw: resources: Add multicast ERIF list entries resource
authorYotam Gigi <yotamg@mellanox.com>
Tue, 19 Sep 2017 08:00:15 +0000 (10:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Sep 2017 21:21:40 +0000 (14:21 -0700)
commit771ced742a4f02ac248ad679325bd434843d78d0
tree85c709168797f460e285feb8e7a5186a5138df5d
parent5080c7e91701744ef1a5d7aab51f568f889bfddb
mlxsw: resources: Add multicast ERIF list entries resource

The multicast ERIF list entries resource indicates the number of entries
that can be put in one rigr2 register operation. While the register can
hold up to MLXSW_REG_RIGR2_MAX_ERIFS ( = 32) ERIF entries, the actual
number allowed by firmware is indicated with this resource.

Signed-off-by: Yotam Gigi <yotamg@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/resources.h