Re: [PATCH net-next 2/2] net: dsa: sja1105: expose static config as devlink region

2020-09-22 Thread David Miller
From: Vladimir Oltean Date: Mon, 21 Sep 2020 19:27:41 +0300 > @@ -110,10 +222,15 @@ int sja1105_devlink_setup(struct dsa_switch *ds) > if (rc) > return rc; > > + rc = sja1105_setup_devlink_regions(ds); > + if (rc < 0) > + return rc; > + > return 0;

[PATCH net-next 2/2] net: dsa: sja1105: expose static config as devlink region

2020-09-21 Thread Vladimir Oltean
As explained in Documentation/networking/dsa/sja1105.rst, this switch has a static config held in the driver's memory and re-uploaded from time to time into the device (after any major change). The format of this static config is in fact described in UM10944.pdf and it contains all the switch's se