mirror of
https://github.com/ipxe/ipxe
synced 2025-12-31 06:49:20 +03:00
[vlan] Allow external code to identify VLAN priority as well as tag
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -1171,12 +1171,12 @@ static void net_step ( struct process *process __unused ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the VLAN tag (when VLAN support is not present)
|
||||
* Get the VLAN tag control information (when VLAN support is not present)
|
||||
*
|
||||
* @v netdev Network device
|
||||
* @ret tag 0, indicating that device is not a VLAN device
|
||||
*/
|
||||
__weak unsigned int vlan_tag ( struct net_device *netdev __unused ) {
|
||||
__weak unsigned int vlan_tci ( struct net_device *netdev __unused ) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user