summaryrefslogtreecommitdiffstats
path: root/src/drivers/bus
diff options
context:
space:
mode:
authorMichael Brown2008-11-08 03:18:30 +0100
committerMichael Brown2008-11-08 06:30:30 +0100
commit9a52ba0cfac0fffb39b5a4c148ec7641bcc38381 (patch)
tree12059ca7f75d37d1b62ffa550798fa8233834590 /src/drivers/bus
parent[phantom] Do not halt PEGs on driver shutdown (diff)
downloadipxe-9a52ba0cfac0fffb39b5a4c148ec7641bcc38381.tar.gz
ipxe-9a52ba0cfac0fffb39b5a4c148ec7641bcc38381.tar.xz
ipxe-9a52ba0cfac0fffb39b5a4c148ec7641bcc38381.zip
[netdevice] Retain and report detailed error breakdowns
netdev_rx_err() and netdev_tx_complete_err() get passed the error code, but currently use it only in debug messages. Retain error numbers and frequencey counts for up to NETDEV_MAX_UNIQUE_ERRORS (4) different errors for each of TX and RX. This allows the "ifstat" command to report the reasons for TX/RX errors in most cases, even in non-debug builds.
Diffstat (limited to 'src/drivers/bus')
0 files changed, 0 insertions, 0 deletions