From owner-freebsd-net@freebsd.org Mon Dec 9 13:11:33 2019 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1C56D1D682D for ; Mon, 9 Dec 2019 13:11:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47Wk9J75B8z4bf6 for ; Mon, 9 Dec 2019 13:11:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id F34481D682C; Mon, 9 Dec 2019 13:11:32 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F30901D682B for ; Mon, 9 Dec 2019 13:11:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Wk9J6F7rz4bf5 for ; Mon, 9 Dec 2019 13:11:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D1C231B15B for ; Mon, 9 Dec 2019 13:11:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xB9DBWoK059719 for ; Mon, 9 Dec 2019 13:11:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xB9DBWkd059718 for net@FreeBSD.org; Mon, 9 Dec 2019 13:11:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 239240] igb: TX(2) desc avail = 1024, pidx = 0 messages appear when the network card (igb/ixgbe/em) loses ethernet link Date: Mon, 09 Dec 2019 13:11:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: IntelNetworking, needs-patch, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: edinilson@atinet.com.br X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Dec 2019 13:11:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239240 --- Comment #31 from Edinilson --- igb1@pci0:1:0:1: class=3D0x020000 card=3D0xa04c8086 chip=3D0x10c9808= 6 rev=3D0x01 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82576 Gigabit Network Connection' class =3D network subclass =3D ethernet sysctl -a | grep igb.1 dev.igb.1.interrupts.rx_overrun: 0 dev.igb.1.interrupts.rx_desc_min_thresh: 0 dev.igb.1.interrupts.tx_queue_min_thresh: 0 dev.igb.1.interrupts.tx_queue_empty: 1416211003 dev.igb.1.interrupts.tx_abs_timer: 3840740931 dev.igb.1.interrupts.tx_pkt_timer: 0 dev.igb.1.interrupts.rx_abs_timer: 0 dev.igb.1.interrupts.rx_pkt_timer: 3840740931 dev.igb.1.interrupts.asserts: 2442195714 dev.igb.1.mac_stats.tso_ctx_fail: 0 dev.igb.1.mac_stats.tso_txd: 0 dev.igb.1.mac_stats.tx_frames_1024_1522: 128257459 dev.igb.1.mac_stats.tx_frames_512_1023: 23122705 dev.igb.1.mac_stats.tx_frames_256_511: 23992714 dev.igb.1.mac_stats.tx_frames_128_255: 31454236 dev.igb.1.mac_stats.tx_frames_65_127: 1082955635 dev.igb.1.mac_stats.tx_frames_64: 126428254 dev.igb.1.mac_stats.mcast_pkts_txd: 0 dev.igb.1.mac_stats.bcast_pkts_txd: 143 dev.igb.1.mac_stats.good_pkts_txd: 1416211003 dev.igb.1.mac_stats.total_pkts_txd: 1416211003 dev.igb.1.mac_stats.good_octets_txd: 305051982734 dev.igb.1.mac_stats.good_octets_recvd: 4926719474683 dev.igb.1.mac_stats.rx_frames_1024_1522: 3290815441 dev.igb.1.mac_stats.rx_frames_512_1023: 50014521 dev.igb.1.mac_stats.rx_frames_256_511: 38603442 dev.igb.1.mac_stats.rx_frames_128_255: 56841465 dev.igb.1.mac_stats.rx_frames_65_127: 298321945 dev.igb.1.mac_stats.rx_frames_64: 106144117 dev.igb.1.mac_stats.mcast_pkts_recvd: 0 dev.igb.1.mac_stats.bcast_pkts_recvd: 0 dev.igb.1.mac_stats.good_pkts_recvd: 3840740931 dev.igb.1.mac_stats.total_pkts_recvd: 3840740931 dev.igb.1.mac_stats.xoff_txd: 0 dev.igb.1.mac_stats.xoff_recvd: 0 dev.igb.1.mac_stats.xon_txd: 0 dev.igb.1.mac_stats.xon_recvd: 0 dev.igb.1.mac_stats.coll_ext_errs: 0 dev.igb.1.mac_stats.alignment_errs: 0 dev.igb.1.mac_stats.crc_errs: 0 dev.igb.1.mac_stats.recv_errs: 0 dev.igb.1.mac_stats.recv_jabber: 0 dev.igb.1.mac_stats.recv_oversize: 0 dev.igb.1.mac_stats.recv_fragmented: 0 dev.igb.1.mac_stats.recv_undersize: 0 dev.igb.1.mac_stats.recv_no_buff: 0 dev.igb.1.mac_stats.missed_packets: 0 dev.igb.1.mac_stats.defer_count: 0 dev.igb.1.mac_stats.sequence_errors: 0 dev.igb.1.mac_stats.symbol_errors: 0 dev.igb.1.mac_stats.collision_count: 0 dev.igb.1.mac_stats.late_coll: 0 dev.igb.1.mac_stats.multiple_coll: 0 dev.igb.1.mac_stats.single_coll: 0 dev.igb.1.mac_stats.excess_coll: 0 dev.igb.1.queue_rx_3.rx_irq: 0 dev.igb.1.queue_rx_3.rxd_tail: 239 dev.igb.1.queue_rx_3.rxd_head: 242 dev.igb.1.queue_rx_2.rx_irq: 0 dev.igb.1.queue_rx_2.rxd_tail: 721 dev.igb.1.queue_rx_2.rxd_head: 724 dev.igb.1.queue_rx_1.rx_irq: 0 dev.igb.1.queue_rx_1.rxd_tail: 362 dev.igb.1.queue_rx_1.rxd_head: 364 dev.igb.1.queue_rx_0.rx_irq: 0 dev.igb.1.queue_rx_0.rxd_tail: 845 dev.igb.1.queue_rx_0.rxd_head: 847 dev.igb.1.queue_tx_3.tx_irq: 0 dev.igb.1.queue_tx_3.txd_tail: 1021 dev.igb.1.queue_tx_3.txd_head: 1021 dev.igb.1.queue_tx_2.tx_irq: 0 dev.igb.1.queue_tx_2.txd_tail: 152 dev.igb.1.queue_tx_2.txd_head: 152 dev.igb.1.queue_tx_1.tx_irq: 0 dev.igb.1.queue_tx_1.txd_tail: 458 dev.igb.1.queue_tx_1.txd_head: 458 dev.igb.1.queue_tx_0.tx_irq: 0 dev.igb.1.queue_tx_0.txd_tail: 89 dev.igb.1.queue_tx_0.txd_head: 89 dev.igb.1.fc_low_water: 4294965240 dev.igb.1.fc_high_water: 4294965248 dev.igb.1.rx_control: 67141662 dev.igb.1.device_control: 12583489 dev.igb.1.watchdog_timeouts: 0 dev.igb.1.rx_overruns: 0 dev.igb.1.link_irq: 2 dev.igb.1.dropped: 0 dev.igb.1.eee_control: 1 dev.igb.1.itr: 488 dev.igb.1.tx_abs_int_delay: 66 dev.igb.1.rx_abs_int_delay: 66 dev.igb.1.tx_int_delay: 66 dev.igb.1.rx_int_delay: 0 dev.igb.1.rs_dump: 0 dev.igb.1.reg_dump: General Registers dev.igb.1.fc: 3 dev.igb.1.debug: -1 dev.igb.1.nvm: -1 dev.igb.1.iflib.rxq3.rxq_fl0.credits: 1023 dev.igb.1.iflib.rxq3.rxq_fl0.cidx: 248 dev.igb.1.iflib.rxq3.rxq_fl0.pidx: 247 dev.igb.1.iflib.rxq2.rxq_fl0.credits: 1023 dev.igb.1.iflib.rxq2.rxq_fl0.cidx: 726 dev.igb.1.iflib.rxq2.rxq_fl0.pidx: 725 dev.igb.1.iflib.rxq1.rxq_fl0.credits: 1023 dev.igb.1.iflib.rxq1.rxq_fl0.cidx: 381 dev.igb.1.iflib.rxq1.rxq_fl0.pidx: 380 dev.igb.1.iflib.rxq0.rxq_fl0.credits: 1023 dev.igb.1.iflib.rxq0.rxq_fl0.cidx: 853 dev.igb.1.iflib.rxq0.rxq_fl0.pidx: 852 dev.igb.1.iflib.txq3.r_abdications: 0 dev.igb.1.iflib.txq3.r_restarts: 0 dev.igb.1.iflib.txq3.r_stalls: 0 dev.igb.1.iflib.txq3.r_starts: 685273 dev.igb.1.iflib.txq3.r_drops: 0 dev.igb.1.iflib.txq3.r_enqueues: 685393 dev.igb.1.iflib.txq3.ring_state: pidx_head: 1361 pidx_tail: 1361 cidx: 1361 state: IDLE dev.igb.1.iflib.txq3.txq_cleaned: 1364945 dev.igb.1.iflib.txq3.txq_processed: 1364985 dev.igb.1.iflib.txq3.txq_in_use: 44 dev.igb.1.iflib.txq3.txq_cidx_processed: 1017 dev.igb.1.iflib.txq3.txq_cidx: 977 dev.igb.1.iflib.txq3.txq_pidx: 1021 dev.igb.1.iflib.txq3.no_tx_dma_setup: 0 dev.igb.1.iflib.txq3.txd_encap_efbig: 0 dev.igb.1.iflib.txq3.tx_map_failed: 0 dev.igb.1.iflib.txq3.no_desc_avail: 0 dev.igb.1.iflib.txq3.mbuf_defrag_failed: 0 dev.igb.1.iflib.txq3.m_pullups: 0 dev.igb.1.iflib.txq3.mbuf_defrag: 0 dev.igb.1.iflib.txq2.r_abdications: 0 dev.igb.1.iflib.txq2.r_restarts: 0 dev.igb.1.iflib.txq2.r_stalls: 0 dev.igb.1.iflib.txq2.r_starts: 654269 dev.igb.1.iflib.txq2.r_drops: 0 dev.igb.1.iflib.txq2.r_enqueues: 654294 dev.igb.1.iflib.txq2.ring_state: pidx_head: 0982 pidx_tail: 0982 cidx: 0982 state: IDLE dev.igb.1.iflib.txq2.txq_cleaned: 1299566 dev.igb.1.iflib.txq2.txq_processed: 1299606 dev.igb.1.iflib.txq2.txq_in_use: 42 dev.igb.1.iflib.txq2.txq_cidx_processed: 150 dev.igb.1.iflib.txq2.txq_cidx: 110 dev.igb.1.iflib.txq2.txq_pidx: 152 dev.igb.1.iflib.txq2.no_tx_dma_setup: 0 dev.igb.1.iflib.txq2.txd_encap_efbig: 0 dev.igb.1.iflib.txq2.tx_map_failed: 0 dev.igb.1.iflib.txq2.no_desc_avail: 0 dev.igb.1.iflib.txq2.mbuf_defrag_failed: 0 dev.igb.1.iflib.txq2.m_pullups: 0 dev.igb.1.iflib.txq2.mbuf_defrag: 0 dev.igb.1.iflib.txq1.r_abdications: 0 dev.igb.1.iflib.txq1.r_restarts: 0 dev.igb.1.iflib.txq1.r_stalls: 0 dev.igb.1.iflib.txq1.r_starts: 730601 dev.igb.1.iflib.txq1.r_drops: 0 dev.igb.1.iflib.txq1.r_enqueues: 730635 dev.igb.1.iflib.txq1.ring_state: pidx_head: 1547 pidx_tail: 1547 cidx: 1547 state: IDLE dev.igb.1.iflib.txq1.txq_cleaned: 1454494 dev.igb.1.iflib.txq1.txq_processed: 1454534 dev.igb.1.iflib.txq1.txq_in_use: 44 dev.igb.1.iflib.txq1.txq_cidx_processed: 454 dev.igb.1.iflib.txq1.txq_cidx: 414 dev.igb.1.iflib.txq1.txq_pidx: 458 dev.igb.1.iflib.txq1.no_tx_dma_setup: 0 dev.igb.1.iflib.txq1.txd_encap_efbig: 0 dev.igb.1.iflib.txq1.tx_map_failed: 0 dev.igb.1.iflib.txq1.no_desc_avail: 0 dev.igb.1.iflib.txq1.mbuf_defrag_failed: 0 dev.igb.1.iflib.txq1.m_pullups: 0 dev.igb.1.iflib.txq1.mbuf_defrag: 0 dev.igb.1.iflib.txq0.r_abdications: 0 dev.igb.1.iflib.txq0.r_restarts: 0 dev.igb.1.iflib.txq0.r_stalls: 0 dev.igb.1.iflib.txq0.r_starts: 1413531614 dev.igb.1.iflib.txq0.r_drops: 0 dev.igb.1.iflib.txq0.r_enqueues: 1414317085 dev.igb.1.iflib.txq0.ring_state: pidx_head: 1053 pidx_tail: 1053 cidx: 1053 state: IDLE dev.igb.1.iflib.txq0.txq_cleaned: 1414797364 dev.igb.1.iflib.txq0.txq_processed: 1414797404 dev.igb.1.iflib.txq0.txq_in_use: 42 dev.igb.1.iflib.txq0.txq_cidx_processed: 92 dev.igb.1.iflib.txq0.txq_cidx: 52 dev.igb.1.iflib.txq0.txq_pidx: 94 dev.igb.1.iflib.txq0.no_tx_dma_setup: 0 dev.igb.1.iflib.txq0.txd_encap_efbig: 0 dev.igb.1.iflib.txq0.tx_map_failed: 0 dev.igb.1.iflib.txq0.no_desc_avail: 0 dev.igb.1.iflib.txq0.mbuf_defrag_failed: 0 dev.igb.1.iflib.txq0.m_pullups: 0 dev.igb.1.iflib.txq0.mbuf_defrag: 0 dev.igb.1.iflib.override_nrxds: 0 dev.igb.1.iflib.override_ntxds: 0 dev.igb.1.iflib.separate_txrx: 0 dev.igb.1.iflib.core_offset: 4 dev.igb.1.iflib.tx_abdicate: 0 dev.igb.1.iflib.rx_budget: 0 dev.igb.1.iflib.disable_msix: 0 dev.igb.1.iflib.override_qs_enable: 0 dev.igb.1.iflib.override_nrxqs: 0 dev.igb.1.iflib.override_ntxqs: 0 dev.igb.1.iflib.driver_version: 7.6.1-k dev.igb.1.%parent: pci1 dev.igb.1.%pnpinfo: vendor=3D0x8086 device=3D0x10c9 subvendor=3D0x8086 subdevice=3D0xa04c class=3D0x020000 dev.igb.1.%location: slot=3D0 function=3D1 dbsf=3Dpci0:1:0:1 dev.igb.1.%driver: igb dev.igb.1.%desc: Intel(R) PRO/1000 PCI-Express Network Driver --=20 You are receiving this mail because: You are the assignee for the bug.=