[gPXE-devel] [PATCH] 802.1Q support for gpxe (was: Re: 802.1Q support for gpxe)

michael-dev at fami-braun.de michael-dev at fami-braun.de
Wed Mar 10 09:19:59 EST 2010


Hi,

I've reworked the patch to be fully optional and less invasive.

The receiving path is from the raw device via 802.1Q network protocol
into net_rx. The sending path is via linklayer of the proxy device
which adds 802.1Q header and the forwards the iobuf to the link layer
of the raw device. The transmit as well as all other commands to the
proxy device (except pull) are forwarded to the raw device.

Further, there is a vconfig command to add/remove vlan interfaces just
like linux does. In order to have network device names like net0.VID,
I increased the len of the netdevice name to 10 characters and let the
driver decide upon the name.
In order to achieve autobooting from the vlan device without trying to
boot from the raw device first, I optionally added a netboot command.
The code uses netdev_put and netdev_get commands to lock the raw device.

The most tricky part is the irq enable/disable code as well as the
open/close code, the patch just forwards these commands which just works
though there should be open/close counters.

Sincerely,
 M. Braun

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gpxevlans.diff
Type: text/x-patch
Size: 18230 bytes
Desc: not available
Url : http://etherboot.org/pipermail/gpxe-devel/attachments/20100310/7449f402/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: not available
Url : http://etherboot.org/pipermail/gpxe-devel/attachments/20100310/7449f402/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://etherboot.org/pipermail/gpxe-devel/attachments/20100310/7449f402/attachment-0002.bin 


More information about the gPXE-devel mailing list