linux/drivers/net/ethernet/mellanox
Jiri Pirko c1a3831121 mlxsw: Convert resources into array
Since the number of resources is going to get much bigger, ease up the
addition by simly defining IDs. Convert the existing structure members
to a set array, one for validity, one for values. Introduce a set of
getters and setters for easy access.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-10-23 17:21:29 -04:00
..
mlx4 ethernet/mellanox: use core min/max MTU checking 2016-10-18 11:34:19 -04:00
mlx5/core ethernet/mellanox: use core min/max MTU checking 2016-10-18 11:34:19 -04:00
mlxsw mlxsw: Convert resources into array 2016-10-23 17:21:29 -04:00
Kconfig mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00
Makefile mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00