diff options
author | Vladimir Oltean <[email protected]> | 2022-12-09 19:28:17 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-12-12 15:01:18 -0800 |
commit | 9e3d9ae52b5657399a7b61258cc7482434a911bb (patch) | |
tree | ebe7e882e2c8f751e6483f47df59b3484439594e /lib/mpi/mpi-sub-ui.c | |
parent | 8646384d80f3d3b4a66b3284dbbd8232d1b8799e (diff) |
net: dsa: mv88e6xxx: replace VTU violation prints with trace points
It is possible to trigger these VTU violation messages very easily,
it's only necessary to send packets with an unknown VLAN ID to a port
that belongs to a VLAN-aware bridge.
Do a similar thing as for ATU violation messages, and hide them in the
kernel's trace buffer.
New usage model:
$ trace-cmd list | grep mv88e6xxx
mv88e6xxx
mv88e6xxx:mv88e6xxx_vtu_miss_violation
mv88e6xxx:mv88e6xxx_vtu_member_violation
$ trace-cmd report
Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Saeed Mahameed <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions