Re: [PATCH net-next v3 2/2] net: dsa: mv88e6xxx: add support for credit based shaper

From: Luke Howard

Date: Thu May 28 2026 - 02:32:10 EST


Hi Cedric,

One further comment: the Marvell DSDT reference implementation (GPLv2) also sets an undocumented register on the 6352 family of switches to enable CBS. (This does not apply to the 6390 family.)

My understanding is that you should call mv88e6xxx_port_qav_read(MV88E6352_PORT_QAV_CFG) and then set or unset MV88E6352_PORT_QAV_CFG_ENABLE accordingly.

The values are given below:

#define MV88E6352_PORT_QAV_CFG 0x08
#define MV88E6352_PORT_QAV_CFG_ENABLE 0x8000

Apologies that my previous comments were against an older version of your patch series; however, I believe they are still relevant.

Cheers,
Luke