net/octeontx2: update red algo for shaper dynamic update
authorNithin Dabilpuram <ndabilpuram@marvell.com>
Fri, 1 May 2020 14:24:16 +0000 (19:54 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 5 May 2020 13:54:26 +0000 (15:54 +0200)
commit542714cc4b7d04d70dfbbaccd67f8a475940a0ca
tree23260d572f25727044849894d7fb671c00b1a15b
parentc600b523c0e2bd7fdfb512ba9c5a525a7b58fc4c
net/octeontx2: update red algo for shaper dynamic update

Due to an errata red algo needs to be set to discard instead of stall
for 96XX C0 silicon for two rate shaping. This workaround is being
already handled for newly created hierarchy but not for dynamic
shaper update cases. This patch hence applies the workaround
even when for shaper dynamic update.

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
drivers/net/octeontx2/otx2_tm.c
drivers/net/octeontx2/otx2_tm.h