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)
commit83a3ceb39b2495171aabe9446271b94c678354f3
tree8af401b80e793db3447f2791614fd9a52f5e24ec
parent227a9ffc1bc77037339530607fe129af3824620e
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