aboutsummaryrefslogtreecommitdiff
path: root/src/include/ipxe/cbc.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2022-12-09 14:41:51 +0000
committerMichael Brown <mcb30@ipxe.org>2022-12-09 14:58:14 +0000
commita2fff570be6cd0b6967593f79d5c171693f3dda5 (patch)
treecee1ec13e10f7afb539e7f32ff08606cc9368900 /src/include/ipxe/cbc.h
parent0bde40d4ba366d8419fa19f64530ea23bfc9450d (diff)
downloadipxe-efivlan.zip
ipxe-efivlan.tar.gz
ipxe-efivlan.tar.bz2
[efi] Provide VLAN configuration protocolefivlan
UEFI implements VLAN support within the Managed Network Protocol (MNP) driver, which may create child VLAN devices automatically based on stored UEFI variables. These child devices do not themselves provide a raw-packet interface via EFI_SIMPLE_NETWORK_PROTOCOL, and may be consumed only via the EFI_MANAGED_NETWORK_PROTOCOL interface. The device paths constructed for these child devices may conflict with those for the EFI_SIMPLE_NETWORK_PROTOCOL instances that iPXE attempts to install for its own VLAN devices. The upshot is that creating an iPXE VLAN device (e.g. via the "vcreate" command) will fail if the UEFI Managed Network Protocol has already created a device for the same VLAN tag. Fix by providing our own EFI_VLAN_CONFIG_PROTOCOL instance on the same device handle as EFI_SIMPLE_NETWORK_PROTOCOL. This causes the MNP driver to treat iPXE's device as supporting hardware VLAN offload, and it will therefore not attempt to install its own instance of the protocol. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/cbc.h')
0 files changed, 0 insertions, 0 deletions