net: dsa: sja1105: Increase priority of CPU-trapped frames
authorVladimir Oltean <olteanv@gmail.com>
Sat, 8 Jun 2019 12:04:41 +0000 (15:04 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 Jun 2019 22:20:40 +0000 (15:20 -0700)
commit08fde09a0d1fd1391bdf828de3607c00193e6528
tree346d8e9e11cec632a2fb52a5c96d2b0b938bd47e
parent844d7edc6a34ae3a8236f1306e4f2615c8db1eac
net: dsa: sja1105: Increase priority of CPU-trapped frames

Without noticing any particular issue, this patch ensures that
management traffic is treated with the maximum priority on RX by the
switch.  This is generally desirable, as the driver keeps a state
machine that waits for metadata follow-up frames as soon as a management
frame is received.  Increasing the priority helps expedite the reception
(and further reconstruction) of the RX timestamp to the driver after the
MAC has generated it.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/sja1105/sja1105_main.c