mirror of
https://github.com/ipxe/ipxe
synced 2025-12-28 10:32:52 +03:00
[netdevice] Make ll_broadcast per-netdevice rather than per-ll_protocol
IPoIB has a link-layer broadcast address that varies according to the partition key. We currently go through several contortions to pretend that the link-layer address is a fixed constant; by making the broadcast address a property of the network device rather than the link-layer protocol it will be possible to simplify IPoIB's broadcast handling.
This commit is contained in:
@@ -300,7 +300,7 @@ PXENV_EXIT_t pxenv_undi_transmit ( struct s_PXENV_UNDI_TRANSMIT
|
||||
ll_dest = destaddr;
|
||||
DBG2 ( " DEST %s", ll_protocol->ntoa ( ll_dest ) );
|
||||
} else {
|
||||
ll_dest = ll_protocol->ll_broadcast;
|
||||
ll_dest = pxe_netdev->ll_broadcast;
|
||||
DBG2 ( " BCAST" );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user