diff options
author | Andrew Lunn <andrew@lunn.ch> | 2018-03-28 23:50:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-29 21:04:22 +0200 |
commit | 7f20d834ea14346c0abef63525ee40a7d2ba0de7 (patch) | |
tree | 365960a8c852cd49572d856f9df28725749e260b /drivers | |
parent | net: dsa: mv88e6xxx: Keep ATU/VTU violation statistics (diff) | |
download | linux-7f20d834ea14346c0abef63525ee40a7d2ba0de7.tar.xz linux-7f20d834ea14346c0abef63525ee40a7d2ba0de7.zip |
net: dsa: mv88e6xxx: Make VTU miss violations less spammy
VTU miss violations can happen under normal conditions. Don't spam the
kernel log, downgrade the output to debug level only. The statistics
counter will indicate it is happening, if anybody not debugging is
interested.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reported-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/dsa/mv88e6xxx/global1_vtu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/global1_vtu.c b/drivers/net/dsa/mv88e6xxx/global1_vtu.c index 2cbaf946e7ed..058326924f3e 100644 --- a/drivers/net/dsa/mv88e6xxx/global1_vtu.c +++ b/drivers/net/dsa/mv88e6xxx/global1_vtu.c @@ -548,10 +548,11 @@ static irqreturn_t mv88e6xxx_g1_vtu_prob_irq_thread_fn(int irq, void *dev_id) } if (val & MV88E6XXX_G1_VTU_OP_MISS_VIOLATION) { - dev_err_ratelimited(chip->dev, "VTU miss violation for vid %d, source port %d\n", + dev_dbg_ratelimited(chip->dev, "VTU miss violation for vid %d, source port %d\n", entry.vid, spid); chip->ports[spid].vtu_miss_violation++; } + mutex_unlock(&chip->reg_lock); return IRQ_HANDLED; |