Re: [PATCH] bgmac: ratelimit warning messages

2015-03-07 Thread Peter Senna Tschudin
On Sat, Mar 7, 2015 at 12:27 AM, Rafał Miłecki wrote: > On 6 March 2015 at 19:17, Peter Senna Tschudin wrote: >> On my test environment the troughput of a file transfer drops from >> 4.4Mbps to 116Kbps due the number of repeated warning messages. >> Adding printk_ratelimit() solves the issue

Re: [PATCH] bgmac: ratelimit warning messages

2015-03-07 Thread Peter Senna Tschudin
On Sat, Mar 7, 2015 at 12:27 AM, Rafał Miłecki zaj...@gmail.com wrote: On 6 March 2015 at 19:17, Peter Senna Tschudin peter.se...@gmail.com wrote: On my test environment the troughput of a file transfer drops from 4.4Mbps to 116Kbps due the number of repeated warning messages. Adding

Re: [PATCH] bgmac: ratelimit warning messages

2015-03-06 Thread Rafał Miłecki
On 6 March 2015 at 19:17, Peter Senna Tschudin wrote: > On my test environment the troughput of a file transfer drops from > 4.4Mbps to 116Kbps due the number of repeated warning messages. > Adding printk_ratelimit() solves the issue without removing the > warning message. > > Signed-off-by:

Re: [PATCH] bgmac: ratelimit warning messages

2015-03-06 Thread Joe Perches
On Fri, 2015-03-06 at 19:17 +0100, Peter Senna Tschudin wrote: > On my test environment the troughput of a file transfer drops from > 4.4Mbps to 116Kbps due the number of repeated warning messages. > Adding printk_ratelimit() solves the issue without removing the > warning message. What value is

[PATCH] bgmac: ratelimit warning messages

2015-03-06 Thread Peter Senna Tschudin
On my test environment the troughput of a file transfer drops from 4.4Mbps to 116Kbps due the number of repeated warning messages. Adding printk_ratelimit() solves the issue without removing the warning message. Signed-off-by: Peter Senna Tschudin --- drivers/net/ethernet/broadcom/bgmac.c | 6

Re: [PATCH] bgmac: ratelimit warning messages

2015-03-06 Thread Rafał Miłecki
On 6 March 2015 at 19:17, Peter Senna Tschudin peter.se...@gmail.com wrote: On my test environment the troughput of a file transfer drops from 4.4Mbps to 116Kbps due the number of repeated warning messages. Adding printk_ratelimit() solves the issue without removing the warning message.

[PATCH] bgmac: ratelimit warning messages

2015-03-06 Thread Peter Senna Tschudin
On my test environment the troughput of a file transfer drops from 4.4Mbps to 116Kbps due the number of repeated warning messages. Adding printk_ratelimit() solves the issue without removing the warning message. Signed-off-by: Peter Senna Tschudin peter.se...@gmail.com ---

Re: [PATCH] bgmac: ratelimit warning messages

2015-03-06 Thread Joe Perches
On Fri, 2015-03-06 at 19:17 +0100, Peter Senna Tschudin wrote: On my test environment the troughput of a file transfer drops from 4.4Mbps to 116Kbps due the number of repeated warning messages. Adding printk_ratelimit() solves the issue without removing the warning message. What value is