Bug 8106
Summary: | tx_errors and tx_fifo_errors not updated consistantly | ||
---|---|---|---|
Product: | Drivers | Reporter: | Chongfeng Hu (loveminix) |
Component: | Network | Assignee: | Mark Brown (broonie) |
Status: | CLOSED WILL_NOT_FIX | ||
Severity: | normal | CC: | broonie, jgarzik, protasnb |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.20 | Subsystem: | |
Regression: | --- | Bisected commit-id: |
Description
Chongfeng Hu
2007-03-01 10:55:47 UTC
I don't think there is a general rule that tx_fifo_errors is a subset of tx_errors. Different drivers handle this differently, and while some increment tx_errors for every kind of transmit error, some will just increment say tx_fifo_errors and leave tx_errors for unspecified problems. In the case of PCI errors it's not particularly clear why the FIFO error counts are being incremented in the first place. Any updates on this discussion? Needs to be discussed on netdev maybe? Thanks. As far as I remember the discussion on netdev about this sort of issue has always suggested that as Olaf says there's no particular standard. In any case, I expect that for most FIFO errors there will also be an error reported via the descriptor which would increment the overall error counter - if that happens incrementing it again here would be redundant. FWIW a change implementing the requested behaviour was written by Andrew Morton and merged some time ago. |