Subject: Re: [PATCH net-next] bonding: warn user when 802.3ad speed is unknown

From: Andrew Lunn <[email-masked]>
Date: Fri, 9 Jun 2017 16:59:32 +0200

> > I just wonder if this should be rate limited?
> So using net_warn_ratelimited()?
> 
> Displaying this message continuously in the log, even at a low rate, seems not
> the best things to do. The first time seems enough, but it would require more
> code for that. Is it not over-engineering?

Maybe look at the _once functions, dev_warn_once, printk_once.

> The ideal solution would be a BUILD_BUG_ON(), but I don't see how to make that.

Me neither.

   Andrew