I've been working on a Cypress SX2 controller driver and things are starting to fall into place :) Pings with a small packet size work (<= max packet size).
I don't (yet) see how usb packets are gathered to form a ethernet frame. I remember with the usbnet driver, packets are gatheres until a < max packet size (usb) packet arrives and indicates an end of ethernet frame. I'll dig deeper into the CDCEther stuff, but maybe somebody knows...
On the host size I see the data come in (and AFAICT it looks valid). The first (ARP) packet results in a reply. The actual ping (98 bytes) comes in in pieces and appears to be ignored:
read len=42 00000000: FF FF FF FF FF FF CE A0 40 B4 72 7B 08 06 00 01 ........ @.r{.... 00000010: 08 00 06 04 00 01 CE A0 40 B4 72 7B 01 01 01 02 ........ @.r{.... 00000020: 00 00 00 00 00 00 01 01 01 01 ........ .. submit skb to netif_rx
read len=64 00000000: A6 CD B7 45 24 A7 CE A0 40 B4 72 7B 08 00 45 00 ...E$... @.r{..E. 00000010: 00 54 00 00 40 00 40 01 36 A5 01 01 01 02 01 01 [EMAIL PROTECTED]@. 6....... 00000020: 01 01 08 00 DF C4 B0 00 00 00 0A 22 00 00 69 15 ........ ..."..i. 00000030: 0A 00 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 ........ ........ submit skb to netif_rx read len=34 00000000: 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 ........ .. !"#$% 00000010: 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 &'()*+,- ./012345 00000020: 36 37 67 submit skb to netif_rx
This is on a 2.4.19 based arm kernel (both host and device).
Cheers, Frank. -- Frank Becker - Intrinsyc Software, Inc. - http://www.intrinsyc.com/ Need a break? http://criticalmass.sf.net/
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel