Re: [PATCH v8 net-next 0/2] mv88e6xxx: Add MAB offload support

From: Vladimir Oltean
Date: Tue Nov 15 2022 - 12:24:56 EST


On Tue, Nov 15, 2022 at 06:11:08PM +0100, netdev@xxxxxxxxxxxxxxxxxxxx wrote:
> On 2022-11-15 17:15, Vladimir Oltean wrote:
> > On Tue, Nov 15, 2022 at 04:14:05PM +0100, netdev@xxxxxxxxxxxxxxxxxxxx
> > wrote:
> > > I think the violation log issue should be handled in a seperate
> > > patch(set)?
> >
> > idk, what do you plan to do about it?
>
> When I think about it, I think that the messages should be disabled by default
> and like one enables NO_LL_LEARN (echo 1 >/sys/class...), they can be activated
> if one needs it. And of course the ethtool stats will still be there anyhow...
>
> How does that sound?

Just make them trace points...
If you don't know how to do that, just search for who has "#define TRACE_SYSTEM"
in drivers/net/ethernet/ and steal from them...