[ipxe-devel] Strip 802.1Q VLAN 0 priority tags - may be it's worth to add patch to iPXE Master branch ?

CpServiceSPb . cpservicespb at gmail.com
Mon Apr 20 21:25:17 UTC 2020


There are links where attempting to do "Strip 802.1Q VLAN 0 priority tags"
so is represented.
Moreover there is the patch in Debian rules for building iPXE deb package
for Ubuntu.

Both links I think almost the same.
Link1: https://lists.ipxe.org/pipermail/ipxe-devel/2016-July/005099.html
Link2:
https://code.launchpad.net/~paelzer/ubuntu/+source/ipxe/+git/ipxe/+merge/360679

I made additionally investigation and for freshest git version there are 2
changes are required more:
vlan.c = remove static for <*vlan_find*> function;

was
static struct net_device * vlan_find ( struct net_device *trunk,
                                            unsigned int tag ) {
became:
struct net_device * vlan_find ( struct net_device *trunk,
                                            unsigned int tag ) {

vlan.h = define as extern <*vlan_find*> function;
add
extern struct net_device * vlan_find ( struct net_device *trunk,
                                            unsigned int tag ) ;

Otherwise error for vlan_find unrecognized symbol will be got during ld
stage.

If it' s worth it may be responsible person will add to the main code
branch.
Or it don' t have any sense ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20200421/4d49a609/attachment.htm>


More information about the ipxe-devel mailing list