summaryrefslogtreecommitdiffstats
path: root/src/drivers
diff options
context:
space:
mode:
authorMichael Brown2013-03-01 17:32:29 +0100
committerMichael Brown2013-03-01 17:36:34 +0100
commit77f64b11f764e721f4f8704b7b90317e52d85fc3 (patch)
treeb1c7c8f06f249e58d267db19be004ce58aa61f22 /src/drivers
parent[iscsi] Include 802.1Q VLAN identifier in iBFT (diff)
downloadipxe-77f64b11f764e721f4f8704b7b90317e52d85fc3.tar.gz
ipxe-77f64b11f764e721f4f8704b7b90317e52d85fc3.tar.xz
ipxe-77f64b11f764e721f4f8704b7b90317e52d85fc3.zip
[netdevice] Separate VLAN support from presence of VLAN-supporting drivers
Some NICs (e.g. Hermon) provide hardware support for stripping the VLAN tag, but do not provide any way for this support to be disabled. Drivers for this hardware must therefore call vlan_find() to identify a suitable receiving network device. Provide a weak version of vlan_find() which will always return NULL if VLAN support has not been enabled (either directly, or by enabling a feature such as FCoE which requires VLAN support). This allows the VLAN code to be omitted from builds where the user has not requested support for VLANs. Inspired-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers')
0 files changed, 0 insertions, 0 deletions