[ipxe-devel] [PATCH 2/2] Sync VLAN irq operation with trunk irq opertaion.

Michael Brown mcb30 at ipxe.org
Wed Mar 5 13:41:33 UTC 2014


On 05/03/14 13:32, Wissam Shoukair wrote:
> That’s right.
> This fix is valid only for devices which do not work with interrupts in PXE. And while the PXE is per device, it doesn’t matter if you overwrite the static structure.
> If there is a patch that I missed, which one option rom can handle multiple cards, I'll be happy to know.

Many builds of iPXE (e.g. bin/ipxe.pxe) will support multiple drivers. 
You would need to create a per-netdevice copy of the vlan_operations 
structure, and modify this instead.  You would then need to modify the 
various "is this a VLAN device" tests, which currently compare 
netdev->op to &vlan_operations.  It may be simpler to think of a 
different test to be used in netdev_irq_supported(), so as to avoid the 
need to modify the way that vlan_operations is used.

Michael



More information about the ipxe-devel mailing list