linux_dsm_epyc7002/drivers/net/ethernet/mellanox/mlxsw
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
..
cmd.h mlxsw: cmd: Push resource query defines to cmd.h 2016-10-23 17:21:29 -04:00
core_hwmon.c mlxsw: core: remove an unnecessary condition 2016-01-06 15:07:47 -05:00
core.c mlxsw: Convert resources into array 2016-10-23 17:21:29 -04:00
core.h mlxsw: Convert resources into array 2016-10-23 17:21:29 -04:00
emad.h mlxsw: Add interface to access registers and process events 2015-07-30 00:05:00 -07:00
item.h mlxsw: item: Make char *buf arg constant for getters 2016-10-23 17:21:28 -04:00
Kconfig mlxsw: spectrum: Introduce support for Data Center Bridging (DCB) 2016-04-06 17:24:18 -04:00
Makefile mlxsw: Introduce simplistic KVD linear area manager 2016-07-05 09:06:30 -07:00
pci.c mlxsw: Convert resources into array 2016-10-23 17:21:29 -04:00
pci.h mlxsw: pci: Implement reset done check 2016-03-13 22:30:01 -04:00
port.h mlxsw: spectrum: Add missing flood to router port 2016-08-24 09:39:03 -07:00
reg.h mlxsw: reg: Generare register names automatically 2016-10-23 17:21:29 -04:00
resources.h mlxsw: Convert resources into array 2016-10-23 17:21:29 -04:00
spectrum_buffers.c mlxsw: spectrum: Fix sparse warnings 2016-09-20 04:32:50 -04:00
spectrum_dcb.c mlxsw: spectrum: Do not override PAUSE settings 2016-08-08 12:57:27 -07:00
spectrum_kvdl.c mlxsw: Introduce simplistic KVD linear area manager 2016-07-05 09:06:30 -07:00
spectrum_router.c mlxsw: Convert resources into array 2016-10-23 17:21:29 -04:00
spectrum_switchdev.c mlxsw: Convert resources into array 2016-10-23 17:21:29 -04:00
spectrum.c mlxsw: Convert resources into array 2016-10-23 17:21:29 -04:00
spectrum.h mlxsw: Convert resources into array 2016-10-23 17:21:29 -04:00
switchx2.c mlxsw: item: Make char *buf arg constant for getters 2016-10-23 17:21:28 -04:00
trap.h mlxsw: spectrum: Trap loop-backed packets 2016-08-17 19:18:27 -04:00
txheader.h mlxsw: spectrum: Add initial support for Spectrum ASIC 2015-10-16 07:15:23 -07:00