Oliver Yang wrote:
Hi Guys,
I plan to write a test script to verify netstat counter for potential
NIC driver's bug. For this purpose, I list some possible counters of
netstat, and hope I can get your comments about whether following
counters can indicate a bug:
# RAWIP
rawipInErrors - recv'd dg's not deliverable.
Will not check by script. We couldn't determine whether
it's a bug from a non-zero value
rawipInCksumErrs - RAWIP packets with bad IPV6_CHECKSUM checksums.
Will check. It should be a bug if found non-zero value,
and also could cause by NIC driver possibly.
rawipOutErrors - dg's not sent (e.g. no memory)
Will not check by script. We couldn't determine whether
it's a bug from a non-zero value
# UDP
udpInErrors - recv'd dg's not deliverable
Will not check by script. We couldn't determine whether
it's a bug from a non-zero value
udpOutErrors - ?
Will not check by script. We couldn't determine whether
it's a bug from a non-zero value
# IPV4
ipInHdrErrors - dg discards for iph error
Will check, but not sure?
ipInAddrErrors - dg discards for bad addr
Will check, but not sure?
ipInCksumErrs - bad IP header checksums
Will not check by script. It should be a bug if found
non-zero value, and also could cause by NIC driver possibly.
This is typo. We do need check ipInCksumErrs.
tcpInErrs - segments recv'd with error
For tcpInErrs, I think it could cause by a NIC driver's bug.
udpInCksumErrs - UDP packets with bad UDP checksums
Will not check by script. It should be a bug if found
non-zero value, and also could cause by NIC driver possibly.
This is typo. We do need check ipInCksumErrs.
# IPv6
ipv6InHdrErrors - errors in IPv6 headers and options
Will check, but not sure?
ipv6InTooBigErrors - exceeds outgoing link MTU
No idea?
ipv6InAddrErrors - invalid or unsupported addresses
Will not check by script. We couldn't determine whether
it's a bug from a non-zero value
# ICMPv4
icmpInErrors - recv'd ICMP msgs with errors
Will not check by script. We couldn't determine whether
it's a bug from a non-zero value
icmpInCksumErrs -received packets with checksum errors
Will check. It should be a bug if found non-zero value,
and also could cause by NIC driver possibly.
icmpOutErrors - msg's not sent for internal icmp errors
Will not check by script. We couldn't determine whether
it's a bug from a non-zero value
# ICMPv6
icmp6InErrors - ICMP msgs rcvd includes ipv6IfIcmpInErrors
Will not check by script. We couldn't determine whether
it's a bug from a non-zero value
icmp6OutErrors - ICMP messages attempted to send (includes
OutErrors)
Will not check by script. We couldn't determine whether
it's a bug from a non-zero value
sctpChecksumError - packets discarded due to cksum
Will check. It should be a bug if found non-zero value,
and also could cause by NIC driver possibly.
_______________________________________________
networking-discuss mailing list
[email protected]
--
Cheers,
----------------------------------------------------------------------
Oliver Yang | OPG Engineering Operation | [EMAIL PROTECTED] | x82229
_______________________________________________
networking-discuss mailing list
[email protected]