diff options
author | Nogah Frankel <nogahf@mellanox.com> | 2016-07-21 12:03:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-24 23:11:59 -0700 |
commit | ded821c8d3793efe00195dd7ab633f6412dd8ae0 (patch) | |
tree | db5de3d4820944705c81dabbc581738379d4856d /drivers/net/ethernet/mellanox/mlxsw/core.h | |
parent | 57d316ba2017d824ed0fd95fc98b020c834023a1 (diff) |
mlxsw: pci: Add max span resources to resources query
Add max span resources to resources 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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/core.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/core.h b/drivers/net/ethernet/mellanox/mlxsw/core.h index d57ad0db44bd..d3476ead9982 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/core.h +++ b/drivers/net/ethernet/mellanox/mlxsw/core.h @@ -268,6 +268,8 @@ struct mlxsw_driver { }; struct mlxsw_resources { + u8 max_span_valid:1; + u8 max_span; }; struct mlxsw_resources *mlxsw_core_resources_get(struct mlxsw_core *mlxsw_core); |