On 1/8/2021 9:59 AM, Vladimir Oltean wrote: > From: Vladimir Oltean <vladimir.olt...@nxp.com> > > Switches that care about QoS might have hardware support for reserving > buffer pools for individual ports or traffic classes, and configuring > their sizes and thresholds. Through devlink-sb (shared buffers), this is > all configurable, as well as their occupancy being viewable. > > Add the plumbing in DSA for these operations. > > Individual drivers still need to call devlink_sb_register() with the > shared buffers they want to expose. A helper was not created in DSA for > this purpose (unlike, say, dsa_devlink_params_register), since in my > opinion it does not bring any benefit over plainly calling > devlink_sb_register() directly. > > Signed-off-by: Vladimir Oltean <vladimir.olt...@nxp.com> Reviewed-by: Florian Fainelli <f.faine...@gmail.com> -- Florian
- [PATCH v3 net-next 00/10] Configuring congestion watermar... Vladimir Oltean
- [PATCH v3 net-next 01/10] net: mscc: ocelot: auto-de... Vladimir Oltean
- Re: [PATCH v3 net-next 01/10] net: mscc: ocelot:... Florian Fainelli
- [PATCH v3 net-next 02/10] net: mscc: ocelot: add ops... Vladimir Oltean
- Re: [PATCH v3 net-next 02/10] net: mscc: ocelot:... Florian Fainelli
- Re: [PATCH v3 net-next 02/10] net: mscc: ocelot:... Jakub Kicinski
- Re: [PATCH v3 net-next 02/10] net: mscc: oce... Vladimir Oltean
- Re: [PATCH v3 net-next 02/10] net: mscc:... Jakub Kicinski
- [PATCH v3 net-next 03/10] net: dsa: add ops for devl... Vladimir Oltean
- Re: [PATCH v3 net-next 03/10] net: dsa: add ops ... Andrew Lunn
- Re: [PATCH v3 net-next 03/10] net: dsa: add ops ... Florian Fainelli
- [PATCH v3 net-next 06/10] net: mscc: ocelot: export ... Vladimir Oltean
- Re: [PATCH v3 net-next 06/10] net: mscc: ocelot:... Florian Fainelli
- [PATCH v3 net-next 09/10] net: mscc: ocelot: initial... Vladimir Oltean
- Re: [PATCH v3 net-next 09/10] net: mscc: ocelot:... Florian Fainelli
- [PATCH v3 net-next 04/10] net: dsa: felix: reindent ... Vladimir Oltean
- Re: [PATCH v3 net-next 04/10] net: dsa: felix: r... Florian Fainelli
- Re: [PATCH v3 net-next 04/10] net: dsa: felix: r... Jakub Kicinski
- Re: [PATCH v3 net-next 04/10] net: dsa: feli... Vladimir Oltean
- Re: [PATCH v3 net-next 04/10] net: dsa: ... Jakub Kicinski
- [PATCH v3 net-next 08/10] net: mscc: ocelot: registe... Vladimir Oltean