]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
V4L/DVB: em28xx: adjust number of packets per URB
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Fri, 22 Jan 2010 04:53:17 +0000 (01:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:50:13 +0000 (00:50 -0300)
Increase the packets per URB count from 40 to 64.  I suspect that whoever was
looking at the usbsnoop captures saw "0x40" packets and mistook it for "40".

As a result of this change, I can see a 25% reduction in the number of
interrupts generated via powertop.

This work was sponsored by EyeMagnet Limited.

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx.h

index ba6fe5daff8420adc2825f4310064f75f0a179f4..526c065821583c8fa11ce2793c131f3d07f1c125 100644 (file)
 #define EM28XX_NUM_BUFS 5
 
 /* number of packets for each buffer
-   windows requests only 40 packets .. so we better do the same
+   windows requests only 64 packets .. so we better do the same
    this is what I found out for all alternate numbers there!
  */
-#define EM28XX_NUM_PACKETS 40
+#define EM28XX_NUM_PACKETS 64
 
 #define EM28XX_INTERLACED_DEFAULT 1