Song Yoong Siang <[email protected]> writes: > From: Mohammad Athari Bin Ismail <[email protected]> > > When disable CBS, mode_to_use parameter is not updated even the operation > mode of Tx Queue is changed to Data Centre Bridging (DCB). Therefore, > when tc_setup_cbs() function is called to re-enable CBS, the operation > mode of Tx Queue remains at DCB, which causing CBS fails to work. > > This patch updates the value of mode_to_use parameter to MTL_QUEUE_DCB > after operation mode of Tx Queue is changed to DCB in stmmac_dma_qmode() > callback function. > > Fixes: 1f705bc61aee ("net: stmmac: Add support for CBS QDISC") > Suggested-by: Gomes, Vinicius <[email protected]>
Just a nitpick/formality, I would prefer if you used: Suggested-by: Vinicius Costa Gomes <[email protected]> > Signed-off-by: Mohammad Athari Bin Ismail <[email protected]> > Signed-off-by: Song, Yoong Siang <[email protected]> Patch looks good. Acked-by: Vinicius Costa Gomes <[email protected]> Cheers, -- Vinicius

