linux/drivers/net/dsa
Colin Foster 2f187bfa6f net: ethernet: ocelot: remove the need for num_stats initializer
There is a desire to share the oclot_stats_layout struct outside of the
current vsc7514 driver. In order to do so, the length of the array needs to
be known at compile time, and defined in the struct ocelot and struct
felix_info.

Since the array is defined in a .c file and would be declared in the header
file via:
extern struct ocelot_stat_layout[];
the size of the array will not be known at compile time to outside modules.

To fix this, remove the need for defining the number of stats at compile
time and allow this number to be determined at initialization.

Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-04-30 13:38:49 +01:00
..
b53 net: dsa: pass extack to dsa_switch_ops :: port_mirror_add() 2022-03-17 17:42:47 -07:00
hirschmann net: dsa: Use netif_rx(). 2022-03-04 12:02:19 +00:00
microchip net: dsa: ksz9477: move get_stats64 to ksz_common.c 2022-04-27 15:38:01 -07:00
mv88e6xxx net: dsa: mv88e6xxx: Single chip mode detection for MV88E6*41 2022-04-28 18:38:09 -07:00
ocelot net: ethernet: ocelot: remove the need for num_stats initializer 2022-04-30 13:38:49 +01:00
qca Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-02-10 17:29:56 -08:00
realtek net: dsa: realtek: remove realtek,rtl8367s string 2022-04-22 15:17:53 -07:00
sja1105 net: dsa: pass extack to dsa_switch_ops :: port_mirror_add() 2022-03-17 17:42:47 -07:00
xrs700x net: dsa: pass extack to .port_bridge_join driver methods 2022-02-27 11:06:14 +00:00
bcm_sf2.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-02-10 17:29:56 -08:00
bcm_sf2.h net: dsa: bcm_sf2: refactor LED regs access 2021-12-30 17:28:32 -08:00
bcm_sf2_cfp.c net: dsa: bcm_sf2_cfp: fix an incorrect NULL check on list iterator 2022-03-28 14:38:38 -07:00
bcm_sf2_regs.h net: dsa: bcm_sf2: refactor LED regs access 2021-12-30 17:28:32 -08:00
dsa_loop.c net: dsa: pass extack to .port_bridge_join driver methods 2022-02-27 11:06:14 +00:00
dsa_loop.h
dsa_loop_bdinfo.c
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-02-17 11:44:20 -08:00
lan9303-core.c net: dsa: pass extack to .port_bridge_join driver methods 2022-02-27 11:06:14 +00:00
lan9303.h
lan9303_i2c.c
lan9303_mdio.c
lantiq_gswip.c net: dsa: lantiq_gswip: Don't set GSWIP_MII_CFG_RMII_CLK 2022-04-26 17:32:52 -07:00
lantiq_pce.h
Makefile net: dsa: realtek-smi: move to subdirectory 2022-01-28 15:02:49 +00:00
mt7530.c net: dsa: mt753x: fix pcs conversion regression 2022-04-26 17:08:31 -07:00
mt7530.h net: dsa: mt7530: partially convert to phylink_pcs 2022-04-12 10:33:15 +02:00
mv88e6060.c
mv88e6060.h
qca8k.c net: dsa: qca8k: unify bus id naming with legacy and OF mdio bus 2022-04-17 13:28:29 +01:00
qca8k.h net: dsa: qca8k: drop dsa_switch_ops from qca8k_priv 2022-04-17 13:28:29 +01:00
vitesse-vsc73xx-core.c net: dsa: vsc73xxx: Get rid of duplicate of_node assignment 2021-12-03 14:13:02 +00:00
vitesse-vsc73xx-platform.c
vitesse-vsc73xx-spi.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
vitesse-vsc73xx.h net: dsa: vsc73xxx: Make vsc73xx_remove() return void 2021-11-15 13:15:07 +00:00