On Wed, May 26, 2010 at 12:30:20PM -0400, Mike Tancsa wrote:
Hi,
> Just trying out a MB that has an integrated ale nic and was looking
> at some of the many stats available. The last one,
> dev.ale.0.stats.tx.trunc_errs: Truncated frames due to MTU size
>
> doesnt seem to make sense. The nic's MTU is set to 1500. What would
> be generating traffic locally that would have an MTU size that is too
> big ? or is the counter perhaps recording something else ?
>
There is a comment on this in driver.
2243 /*
2244 * XXX
2245 * tx_pkts_truncated counter looks suspicious. It constantly
2246 * increments with no sign of Tx errors. This may indicate
2247 * the counter name is not correct one so I've removed the
2248 * counter in output errors.
2249 */
2250 ifp->if_oerrors += smb->tx_abort + smb->tx_late_colls +
2251 smb->tx_underrun;
Anyway I have to ask Atheros what the counter really means.
Thanks for reminding it. If I get some feedback I'll let you know.
> # ifconfig ale0
> ale0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500
>
options=c319a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MCAST,WOL_MAGIC,VLAN_HWTSO,LINKSTATE>
> ether e0:cb:4e:42:4b:37
> inet 172.16.13.254 netmask 0xffffff00 broadcast 172.16.13.255
> inet 10.230.33.1 netmask 0xffffff00 broadcast 10.230.33.255
> media: Ethernet autoselect (1000baseT <full-duplex>)
> status: active
>
> dev.ale.0.%desc: Atheros AR8121/AR8113/AR8114 PCIe Ethernet
> dev.ale.0.%driver: ale
> dev.ale.0.%location: slot=0 function=0
> dev.ale.0.%pnpinfo: vendor=0x1969 device=0x1026 subvendor=0x1043
> subdevice=0x8226 class=0x020000
> dev.ale.0.%parent: pci4
> dev.ale.0.int_rx_mod: 30
> dev.ale.0.int_tx_mod: 1000
> dev.ale.0.process_limit: 64
> dev.ale.0.reset_brk_seq: 0
> dev.ale.0.stats.rx.good_frames: 970368
> dev.ale.0.stats.rx.good_bcast_frames: 2338
> dev.ale.0.stats.rx.good_mcast_frames: 0
> dev.ale.0.stats.rx.pause_frames: 0
> dev.ale.0.stats.rx.control_frames: 0
> dev.ale.0.stats.rx.crc_errs: 0
> dev.ale.0.stats.rx.len_errs: 0
> dev.ale.0.stats.rx.good_octets: 1432442744
> dev.ale.0.stats.rx.good_bcast_octets: 171236
> dev.ale.0.stats.rx.good_mcast_octets: 0
> dev.ale.0.stats.rx.runts: 0
> dev.ale.0.stats.rx.fragments: 0
> dev.ale.0.stats.rx.frames_64: 3685
> dev.ale.0.stats.rx.frames_65_127: 10729
> dev.ale.0.stats.rx.frames_128_255: 684
> dev.ale.0.stats.rx.frames_256_511: 179
> dev.ale.0.stats.rx.frames_512_1023: 1
> dev.ale.0.stats.rx.frames_1024_1518: 956795
> dev.ale.0.stats.rx.frames_1519_max: 0
> dev.ale.0.stats.rx.trunc_errs: 0
> dev.ale.0.stats.rx.fifo_oflows: 0
> dev.ale.0.stats.rx.rrs_errs: 0
> dev.ale.0.stats.rx.align_errs: 0
> dev.ale.0.stats.rx.filtered: 1705
> dev.ale.0.stats.tx.good_frames: 646015
> dev.ale.0.stats.tx.good_bcast_frames: 57
> dev.ale.0.stats.tx.good_mcast_frames: 0
> dev.ale.0.stats.tx.pause_frames: 0
> dev.ale.0.stats.tx.control_frames: 0
> dev.ale.0.stats.tx.excess_defers: 0
> dev.ale.0.stats.tx.defers: 0
> dev.ale.0.stats.tx.good_octets: 49564618
> dev.ale.0.stats.tx.good_bcast_octets: 0
> dev.ale.0.stats.tx.good_mcast_octets: 0
> dev.ale.0.stats.tx.frames_64: 3
> dev.ale.0.stats.tx.frames_65_127: 603750
> dev.ale.0.stats.tx.frames_128_255: 42249
> dev.ale.0.stats.tx.frames_256_511: 13
> dev.ale.0.stats.tx.frames_512_1023: 0
> dev.ale.0.stats.tx.frames_1024_1518: 0
> dev.ale.0.stats.tx.frames_1519_max: 0
> dev.ale.0.stats.tx.single_colls: 0
> dev.ale.0.stats.tx.multi_colls: 0
> dev.ale.0.stats.tx.late_colls: 0
> dev.ale.0.stats.tx.excess_colls: 0
> dev.ale.0.stats.tx.abort: 0
> dev.ale.0.stats.tx.underruns: 0
> dev.ale.0.stats.tx.desc_underruns: 0
> dev.ale.0.stats.tx.len_errs: 0
> dev.ale.0.stats.tx.trunc_errs: 9248
>
>
> ale0@pci0:4:0:0: class=0x020000 card=0x82261043
> chip=0x10261969 rev=0xb0 hdr=0x00
> vendor = 'Attansic (Now owned by Atheros)'
> device = 'PCI-E ETHERNET CONTROLLER (AR8121/AR8113 )'
> class = network
> subclass = ethernet
> cap 01[40] = powerspec 2 supports D0 D3 current D0
> cap 05[48] = MSI supports 1 message, 64 bit enabled with 1 message
> cap 10[58] = PCI-Express 1 endpoint max data 128(4096) link x1(x1)
>
>
>
> --------------------------------------------------------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications, mike@sentex.net
> Providing Internet since 1994 www.sentex.net
> Cambridge, Ontario Canada www.sentex.net/mike
>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to
"freebsd-stable-unsubscribe@freebsd.org"