svn commit: r267935 - head/sys/dev/e1000

Mike Tancsa mike at sentex.net
Fri Aug 8 20:44:57 UTC 2014


On 8/8/2014 3:39 PM, Mike Tancsa wrote:
> time and then see if disabling msix makes any difference.
>
> Debug output post ifconfig down and up shows
>
>
> Interface is RUNNING and ACTIVE
> em0: hw tdh = 947, hw tdt = 947
> em0: hw rdh = 97, hw rdt = 96
> em0: Tx Queue Status = 0
> em0: TX descriptors avail = 1024
> em0: Tx Descriptors avail failure = 50
> em0: RX discarded packets = 0
> em0: RX Next to Check = 97
> em0: RX Next to Refresh = 96

And while in a hung state, the nic thinks its still active and 
forwarding.  I am going to see if disabling msi-x has any help here. If 
not, I will roll back the driver for now.

Aug  8 16:42:21 zoo kernel: Interface is RUNNING and ACTIVE
Aug  8 16:42:21 zoo kernel: em0: hw tdh = 411, hw tdt = 134
Aug  8 16:42:21 zoo kernel: em0: hw rdh = 688, hw rdt = 687
Aug  8 16:42:21 zoo kernel: em0: Tx Queue Status = 1
Aug  8 16:42:21 zoo kernel: em0: TX descriptors avail = 261
Aug  8 16:42:21 zoo kernel: em0: Tx Descriptors avail failure = 50
Aug  8 16:42:21 zoo kernel: em0: RX discarded packets = 0
Aug  8 16:42:21 zoo kernel: em0: RX Next to Check = 688
Aug  8 16:42:21 zoo kernel: em0: RX Next to Refresh = 687
dev.em.0.%desc: Intel(R) PRO/1000 Network Connection 7.4.2
dev.em.0.%driver: em
dev.em.0.%location: slot=0 function=0
dev.em.0.%pnpinfo: vendor=0x8086 device=0x10d3 subvendor=0x8086 
subdevice=0xa01f class=0x020000
dev.em.0.%parent: pci4
dev.em.0.nvm: -1
dev.em.0.debug: -1
dev.em.0.fc: 3
dev.em.0.rx_int_delay: 0
dev.em.0.tx_int_delay: 66
dev.em.0.rx_abs_int_delay: 66
dev.em.0.tx_abs_int_delay: 66
dev.em.0.itr: 488
dev.em.0.rx_processing_limit: 100
dev.em.0.eee_control: 1
dev.em.0.link_irq: 8266
dev.em.0.mbuf_alloc_fail: 0
dev.em.0.cluster_alloc_fail: 0
dev.em.0.dropped: 0
dev.em.0.tx_dma_fail: 0
dev.em.0.rx_overruns: 0
dev.em.0.watchdog_timeouts: 1
dev.em.0.device_control: 1477444168
dev.em.0.rx_control: 67141634
dev.em.0.fc_high_water: 18432
dev.em.0.fc_low_water: 16932
dev.em.0.queue0.txd_head: 411
dev.em.0.queue0.txd_tail: 142
dev.em.0.queue0.tx_irq: 833840
dev.em.0.queue0.no_desc_avail: 50
dev.em.0.queue0.rxd_head: 688
dev.em.0.queue0.rxd_tail: 687
dev.em.0.queue0.rx_irq: 1567748
dev.em.0.mac_stats.excess_coll: 0
dev.em.0.mac_stats.single_coll: 0
dev.em.0.mac_stats.multiple_coll: 0
dev.em.0.mac_stats.late_coll: 0
dev.em.0.mac_stats.collision_count: 0
dev.em.0.mac_stats.symbol_errors: 0
dev.em.0.mac_stats.sequence_errors: 0
dev.em.0.mac_stats.defer_count: 0
dev.em.0.mac_stats.missed_packets: 8290
dev.em.0.mac_stats.recv_no_buff: 0
dev.em.0.mac_stats.recv_undersize: 0
dev.em.0.mac_stats.recv_fragmented: 0
dev.em.0.mac_stats.recv_oversize: 0
dev.em.0.mac_stats.recv_jabber: 0
dev.em.0.mac_stats.recv_errs: 0
dev.em.0.mac_stats.crc_errs: 0
dev.em.0.mac_stats.alignment_errs: 0
dev.em.0.mac_stats.coll_ext_errs: 0
dev.em.0.mac_stats.xon_recvd: 0
dev.em.0.mac_stats.xon_txd: 0
dev.em.0.mac_stats.xoff_recvd: 0
dev.em.0.mac_stats.xoff_txd: 0
dev.em.0.mac_stats.total_pkts_recvd: 7512226
dev.em.0.mac_stats.good_pkts_recvd: 7503936
dev.em.0.mac_stats.bcast_pkts_recvd: 3120
dev.em.0.mac_stats.mcast_pkts_recvd: 8
dev.em.0.mac_stats.rx_frames_64: 3190
dev.em.0.mac_stats.rx_frames_65_127: 7070773
dev.em.0.mac_stats.rx_frames_128_255: 337062
dev.em.0.mac_stats.rx_frames_256_511: 1073
dev.em.0.mac_stats.rx_frames_512_1023: 1483
dev.em.0.mac_stats.rx_frames_1024_1522: 90355
dev.em.0.mac_stats.good_octets_recvd: 711645613
dev.em.0.mac_stats.good_octets_txd: 21278718407
dev.em.0.mac_stats.total_pkts_txd: 14406827
dev.em.0.mac_stats.good_pkts_txd: 14406827
dev.em.0.mac_stats.bcast_pkts_txd: 65
dev.em.0.mac_stats.mcast_pkts_txd: 11
dev.em.0.mac_stats.tx_frames_64: 421
dev.em.0.mac_stats.tx_frames_65_127: 183151
dev.em.0.mac_stats.tx_frames_128_255: 28761
dev.em.0.mac_stats.tx_frames_256_511: 10267
dev.em.0.mac_stats.tx_frames_512_1023: 289241
dev.em.0.mac_stats.tx_frames_1024_1522: 13894986
dev.em.0.mac_stats.tso_txd: 1322639
dev.em.0.mac_stats.tso_ctx_fail: 0
dev.em.0.interrupts.asserts: 71
dev.em.0.interrupts.rx_pkt_timer: 0
dev.em.0.interrupts.rx_abs_timer: 0
dev.em.0.interrupts.tx_pkt_timer: 0
dev.em.0.interrupts.tx_abs_timer: 0
dev.em.0.interrupts.tx_queue_empty: 0
dev.em.0.interrupts.tx_queue_min_thresh: 0
dev.em.0.interrupts.rx_desc_min_thresh: 0
dev.em.0.interrupts.rx_overrun: 1


0-zoo-# ifconfig em0 down
0-zoo-# ifconfig em0 up
0-zoo-# sysctl -a dev.em.0.debug=1
0-zoo-# Interface is RUNNING and ACTIVE
em0: hw tdh = 1017, hw tdt = 1017
em0: hw rdh = 462, hw rdt = 461
em0: Tx Queue Status = 0
em0: TX descriptors avail = 1024
em0: Tx Descriptors avail failure = 50
em0: RX discarded packets = 0
em0: RX Next to Check = 462
em0: RX Next to Refresh = 461





-- 
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/


More information about the freebsd-stable mailing list