All of lore.kernel.org
 help / color / mirror / Atom feed
* b44: regression in 2.6.22
@ 2007-05-26  0:24 Stephen Hemminger
  2007-05-26  3:51 ` Gary Zambrano
  2007-05-26 17:01 ` Michael Buesch
  0 siblings, 2 replies; 78+ messages in thread
From: Stephen Hemminger @ 2007-05-26  0:24 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo, Jeff Garzik, Gary Zambrano; +Cc: netdev

Something is broken with the b44 driver in 2.6.22-rc1 or later. Now bisecting.
The performance (with iperf) for receiving is normally 94Mbits or more.
But something happened that dropped performance to less than 1Mbit,
probably corrupted packets.

There is nothing obvious in the commit log for drivers/net/b44.c, so it
probably is something more general.


Looking at the code in b44_rx(), I see a couple unrelated of bugs:
1. In the small packet case it recycles the skb before copying data out... 
   Not good if new data arrives overwriting existing data.

2. Macros like RX_PKT_BUF_SZ that depend on local variables are evil!!



-- 
Stephen Hemminger <shemminger@linux-foundation.org>

^ permalink raw reply	[flat|nested] 78+ messages in thread

end of thread, other threads:[~2007-06-04 20:53 UTC | newest]

Thread overview: 78+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-26  0:24 b44: regression in 2.6.22 Stephen Hemminger
2007-05-26  3:51 ` Gary Zambrano
2007-05-26 17:01 ` Michael Buesch
2007-05-27 19:25   ` b44: regression in 2.6.22 (resend) Maximilian Engelhardt
2007-05-27 19:25     ` Maximilian Engelhardt
2007-05-27 19:45     ` Michael Buesch
2007-05-27 19:45       ` Michael Buesch
2007-05-27 20:36       ` Maximilian Engelhardt
2007-05-27 20:36         ` Maximilian Engelhardt
2007-05-27 20:46         ` Michael Buesch
2007-05-27 20:46           ` Michael Buesch
2007-05-27 21:46           ` Maximilian Engelhardt
2007-05-27 21:46             ` Maximilian Engelhardt
2007-05-27 21:13     ` Michael Buesch
2007-05-27 21:13       ` Michael Buesch
2007-05-27 21:16       ` Michael Buesch
2007-05-27 21:50         ` Maximilian Engelhardt
2007-05-27 21:50           ` Maximilian Engelhardt
2007-05-27 22:15       ` Maximilian Engelhardt
2007-05-27 22:15         ` Maximilian Engelhardt
2007-05-28  0:24         ` Michael Buesch
2007-05-28  0:40           ` Maximilian Engelhardt
2007-05-28  0:40             ` Maximilian Engelhardt
2007-05-28 10:16             ` Michael Buesch
2007-05-28 10:16               ` Michael Buesch
2007-05-28 14:09               ` Maximilian Engelhardt
2007-05-28 14:09                 ` Maximilian Engelhardt
2007-05-28 15:14                 ` Michael Buesch
2007-05-28 15:14                   ` Michael Buesch
2007-05-28 15:32                   ` Thomas Gleixner
2007-05-28 15:32                     ` Thomas Gleixner
2007-05-28 15:43                     ` Michael Buesch
2007-05-28 15:43                       ` Michael Buesch
2007-05-28 17:44                     ` Maximilian Engelhardt
2007-05-28 19:23                       ` Thomas Gleixner
2007-05-28 20:55                         ` Maximilian Engelhardt
2007-05-28 21:45                           ` Thomas Gleixner
2007-05-29 18:28                             ` Maximilian Engelhardt
2007-05-29 18:28                               ` Maximilian Engelhardt
2007-05-29 13:58                           ` Gary Zambrano
2007-05-29 13:58                             ` Gary Zambrano
2007-05-29 17:23                             ` Maximilian Engelhardt
2007-05-29 17:23                               ` Maximilian Engelhardt
2007-06-03 16:26                         ` Maximilian Engelhardt
2007-06-04  6:39                           ` Thomas Gleixner
2007-06-04  6:39                             ` Thomas Gleixner
2007-06-04 16:09                             ` Stephen Hemminger
2007-06-04 16:09                               ` Stephen Hemminger
2007-06-04 16:35                               ` Thomas Gleixner
2007-06-04 16:35                                 ` Thomas Gleixner
2007-06-04 16:59                                 ` iperf: performance regression (was b44 driver problem?) Stephen Hemminger
2007-06-04 17:32                                   ` Thomas Gleixner
2007-06-04 17:32                                     ` Thomas Gleixner
2007-06-04 17:51                                     ` Stephen Hemminger
2007-06-04 19:00                                       ` Thomas Gleixner
2007-06-04 19:26                                         ` Thomas Gleixner
2007-06-04 19:26                                           ` Thomas Gleixner
2007-06-04 19:32                                       ` Ingo Molnar
2007-06-04 19:47                                         ` Maximilian Engelhardt
2007-06-04 20:02                                           ` Stephen Hemminger
2007-06-04 20:52                                             ` Maximilian Engelhardt
2007-06-04 20:52                                               ` Maximilian Engelhardt
2007-05-28 10:49             ` b44: regression in 2.6.22 (resend) Michael Buesch
2007-05-28 14:12               ` Maximilian Engelhardt
2007-05-28 14:12                 ` Maximilian Engelhardt
2007-05-28 14:55                 ` Michael Buesch
2007-05-29 14:14                   ` Gary Zambrano
2007-05-29 20:45                     ` Michael Buesch
2007-05-29 20:45                       ` Michael Buesch
2007-05-29 21:01                       ` Stephen Hemminger
2007-05-29 21:01                         ` Stephen Hemminger
2007-05-29 21:05                       ` Gary Zambrano
2007-05-29 21:05                         ` Gary Zambrano
2007-05-29 22:39                         ` Jeff Garzik
2007-05-29 22:39                           ` Jeff Garzik
2007-05-29 21:36                           ` Gary Zambrano
2007-05-29 21:36                             ` Gary Zambrano
2007-05-30 10:45                             ` Michael Buesch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.