MUSB, strange incoming URBs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

I have:
1. Davinci DM365 board.
2. WIFI USB adapter (carl9170).
3. 2.6.34 kernel + all commits for MUSB from
http://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci.git

I do UDP streaming with packet size ~ 1450 bytes.
But streaming speed is too low.
CPU burns at 100% load.

readprofile shows:

readprofile | sort -nr -k 3 |head -n 10
 6033 davinci_interrupt                          9,5459
 1335 handle_IRQ_event                           4,8370
  111 arm926_dma_clean_range                     3,9643
  558 sub_preempt_count                          2,9062
  185 memcmp                                     2,5694

With musb_hdrc.debug=3 I have noticed strange messages:

musb_host_tx 1268: DMA complete but packet still in FIFO, CSR 2003
musb_ep_program 715: <-- hw2 urb c74c8180 spd3 dev2 ep2in h_addr00
h_port00 bytes 8192
musb_ep_program 715: --> hw4 urb c7686e80 spd3 dev2 ep4out h_addr00
h_port00 bytes 60
musb_start_urb 265: check whether there's still time for periodic Tx
musb_host_tx 1268: DMA complete but packet still in FIFO, CSR 2103

...

musb_ep_program 715: --> hw4 urb c77dbf00 spd3 dev2 ep4out h_addr00
h_port00 bytes 12
musb_start_urb 265: check whether there's still time for periodic Tx
musb_ep_program 715: <-- hw2 urb c7662a80 spd3 dev2 ep2in h_addr00
h_port00 bytes 8192
musb_ep_program 715: <-- hw2 urb c7662f00 spd3 dev2 ep2in h_addr00
h_port00 bytes 8192
musb_ep_program 715: <-- hw2 urb c7662c80 spd3 dev2 ep2in h_addr00
h_port00 bytes 8192
musb_ep_program 715: <-- hw2 urb c7662000 spd3 dev2 ep2in h_addr00
h_port00 bytes 8192
musb_ep_program 715: <-- hw2 urb c7662800 spd3 dev2 ep2in h_addr00
h_port00 bytes 8192
....


Now my UDP streaming:

musb_ep_program 715: --> hw2 urb c768b980 spd3 dev2 ep1out h_addr00
h_port00 bytes 1502
musb_ep_program 715: <-- hw2 urb c74c8f00 spd3 dev2 ep2in h_addr00
h_port00 bytes 8192
musb_ep_program 715: <-- hw2 urb c74c8780 spd3 dev2 ep2in h_addr00
h_port00 bytes 8192
musb_ep_program 715: --> hw2 urb c768b980 spd3 dev2 ep1out h_addr00
h_port00 bytes 1502
musb_ep_program 715: --> hw2 urb c768b980 spd3 dev2 ep1out h_addr00
h_port00 bytes 1502
musb_ep_program 715: <-- hw2 urb c74c8e00 spd3 dev2 ep2in h_addr00
h_port00 bytes 8192
musb_ep_program 715: <-- hw2 urb c74c8180 spd3 dev2 ep2in h_addr00
h_port00 bytes 8192
musb_ep_program 715: --> hw2 urb c768b980 spd3 dev2 ep1out h_addr00
h_port00 bytes 1502
musb_ep_program 715: --> hw2 urb c768b980 spd3 dev2 ep1out h_addr00
h_port00 bytes 1502
musb_ep_program 715: <-- hw2 urb c74bbb00 spd3 dev2 ep2in h_addr00
h_port00 bytes 8192
musb_ep_program 715: <-- hw2 urb c74bb500 spd3 dev2 ep2in h_addr00
h_port00 bytes 8192
musb_ep_program 715: --> hw2 urb c768b980 spd3 dev2 ep1out h_addr00
h_port00 bytes 1502
musb_ep_program 715: --> hw2 urb c768b980 spd3 dev2 ep1out h_addr00
h_port00 bytes 1502
musb_ep_program 715: <-- hw2 urb c74bbd80 spd3 dev2 ep2in h_addr00
h_port00 bytes 8192
musb_ep_program 715: <-- hw2 urb c768bd80 spd3 dev2 ep2in h_addr00
h_port00 bytes 8192
musb_ep_program 715: --> hw2 urb c768b980 spd3 dev2 ep1out h_addr00
h_port00 bytes 1502
musb_ep_program 715: --> hw2 urb c768b980 spd3 dev2 ep1out h_addr00
h_port00 bytes 1502



1502 - is my ethernet frame.
What is 8192 ?


On another USB RT2870/RT3070 Wireless Adapter I got fine picture:

musb_ep_program 715: --> hw2 urb c763c900 spd3 dev2 ep1out h_addr00
h_port00 bytes 1496
musb_ep_program 715: --> hw2 urb c763c900 spd3 dev2 ep1out h_addr00
h_port00 bytes 1496
musb_ep_program 715: --> hw2 urb c763c900 spd3 dev2 ep1out h_addr00
h_port00 bytes 1496
musb_ep_program 715: --> hw2 urb c763c900 spd3 dev2 ep1out h_addr00
h_port00 bytes 1496
musb_ep_program 715: --> hw2 urb c763c900 spd3 dev2 ep1out h_addr00
h_port00 bytes 1496
musb_ep_program 715: --> hw2 urb c763c900 spd3 dev2 ep1out h_addr00
h_port00 bytes 1496
musb_ep_program 715: --> hw2 urb c763c900 spd3 dev2 ep1out h_addr00
h_port00 bytes 1496
musb_ep_program 715: --> hw2 urb c763c900 spd3 dev2 ep1out h_addr00
h_port00 bytes 1496
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux