]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[netdevice] Add a generic concept of a "blocked link"
authorMichael Brown <mcb30@ipxe.org>
Thu, 25 Jun 2015 15:41:39 +0000 (16:41 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 25 Jun 2015 15:46:47 +0000 (16:46 +0100)
commitf3812395a261b80fe77d19ebb9045e790c434773
treed68ece89cfa39a4976b5dad99d2cb466dee704ca
parent7e7870984b4e63eeaf8416289c11bc386a77d5ba
[netdevice] Add a generic concept of a "blocked link"

When Spanning Tree Protocol (STP) is used, there may be a substantial
delay (tens of seconds) from the time that the link goes up to the
time that the port starts forwarding packets.

Add a generic concept of a "blocked link" (i.e. a link which is up but
which is not expected to communicate successfully), and allow "ifstat"
to indicate when a link is blocked.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/netdevice.h
src/net/netdevice.c
src/usr/ifmgmt.c