mlxsw: resources: Add local_ports_in_{1x, 2x}
authorShalom Toledo <shalomt@mellanox.com>
Thu, 2 May 2019 11:13:08 +0000 (14:13 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 May 2019 05:21:36 +0000 (01:21 -0400)
commit4fa050d29c76e0f304cd96ce91bced8f343698a5
tree01f723b76749fdd570403272a21147419d78353f
parent913e89a44e99d11f73ee6fe98452ed719b557f50
mlxsw: resources: Add local_ports_in_{1x, 2x}

Since the number of local ports in 4x changed between SPC and SPC-2,
firmware expose new resources that the driver can query.

Signed-off-by: Shalom Toledo <shalomt@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/resources.h