Thread (4 messages) flat view 4 messages, 4 authors, 2021-02-06

Re: [PATCH net 1/1] net: stmmac: set TxQ mode back to DCB after disabling CBS

From: Jesse Brandeburg <hidden>
Date: 2021-02-05 01:09:52
Also in: linux-arm-kernel, lkml

Song Yoong Siang wrote:
From: Mohammad Athari Bin Ismail <redacted>

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 <vinicius.gomes@intel.com>
Signed-off-by: Mohammad Athari Bin Ismail <redacted>
Signed-off-by: Song, Yoong Siang <redacted>
Reviewed-by: Jesse Brandeburg <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help