Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jan 2008 22:15:47 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 132646 for review
Message-ID:  <200801062215.m06MFl2A082830@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132646

Change 132646 by hselasky@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801062215.m06MFl2A082830>