]> 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)
commit299688b491941b5b6e6eda0c75a2dd9726709653
tree8af401b80e793db3447f2791614fd9a52f5e24ec
parent190639b4a7a7cde2727dae293283e6a168d406c5
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