PERFORCE change 132646 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Sun Jan 6 14:15:48 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=132646
Change 132646 by hselasky at hselasky_laptop001 on 2008/01/06 22:15:06
Add new CDC subclass protocol:
o UIPROTO_CDC_ETH_512X4
This is the new Accelerated Zero Copy USB
Ethernet protocol, which I have created.
I would like to have some BSD Network experts to
review the protocol before I freeze it. Basically
the new USB ethernet protocol works like this:
1. Send fragment length list to peer.
2. Send all fragments accross like
separate USB transfers.
3. The peer receives the frament list.
4. The peer builds up an USB chain to
receive all the USB packets having one
interrupt in the end. In other words:
All fragmented IP packets gets defragmented
at this point.
The protocol supports a maximum of 511 ethernet
frames that are split into a maximum of 4 fragments
per interrupt.
Question: Do we need to support more than
4 fragments per ethernet frame ?
Please see coming commits to "if_cdce".
Affected files ...
.. //depot/projects/usb/src/sys/dev/usb/usb.h#29 edit
Differences ...
==== //depot/projects/usb/src/sys/dev/usb/usb.h#29 (text+ko) ====
@@ -454,6 +454,7 @@
#define UISUBCLASS_ETHERNET_NETWORKING_CONTROL_MODEL 6
#define UISUBCLASS_ATM_NETWORKING_CONTROL_MODEL 7
#define UIPROTO_CDC_AT 1
+#define UIPROTO_CDC_ETH_512X4 0x76 /* FreeBSD specific */
#define UICLASS_HID 0x03
#define UISUBCLASS_BOOT 1
More information about the p4-projects
mailing list