]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: qca8k: add priority tweak to qca8337 switch
authorAnsuel Smith <ansuelsmth@gmail.com>
Fri, 14 May 2021 21:00:01 +0000 (23:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 May 2021 22:30:22 +0000 (15:30 -0700)
commita4fe29e2cb4a74b7b152bb5ece1942f2f096fb63
tree8af401b80e793db3447f2791614fd9a52f5e24ec
parentd7bb615288ee9abe10ddde8bb7fa6a449ad8c5ab
net: dsa: qca8k: add priority tweak to qca8337 switch

The port 5 of the qca8337 have some problem in flood condition. The
original legacy driver had some specific buffer and priority settings
for the different port suggested by the QCA switch team. Add this
missing settings to improve switch stability under load condition.
The packet priority tweak is only needed for the qca8337 switch and
other qca8k switch are not affected.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/qca8k.c
drivers/net/dsa/qca8k.h