diff options
author | jfv <jfv@FreeBSD.org> | 2008-04-25 23:22:01 +0000 |
---|---|---|
committer | jfv <jfv@FreeBSD.org> | 2008-04-25 23:22:01 +0000 |
commit | c9e4ad87b61299fc676c959a690134214e0790ca (patch) | |
tree | 2bb1ac8564c419027d03b909d4d691cc78abc63f | |
parent | b504776a58ec435e17a4e3c2dbb82849593dc2b0 (diff) | |
download | FreeBSD-src-c9e4ad87b61299fc676c959a690134214e0790ca.zip FreeBSD-src-c9e4ad87b61299fc676c959a690134214e0790ca.tar.gz |
A change got dropped in the merge, add back
-rw-r--r-- | sys/dev/igb/if_igb.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/dev/igb/if_igb.c b/sys/dev/igb/if_igb.c index 946e43c..f0c3d43 100644 --- a/sys/dev/igb/if_igb.c +++ b/sys/dev/igb/if_igb.c @@ -3825,7 +3825,7 @@ igb_fixup_rx(struct rx_ring *rxr) rxr->fmp = n; } else { adapter->dropped_pkts++; - m_freem(adapter->fmp); + m_freem(rxr->fmp); rxr->fmp = NULL; error = ENOMEM; } @@ -4188,22 +4188,22 @@ igb_print_debug_info(struct adapter *adapter) E1000_READ_REG(&adapter->hw, E1000_TDT(i))); device_printf(dev, "no descriptors avail event = %lu\n", txr->no_desc_avail); - device_printf(dev, "TX(%d) MSIX IRQ Handled = %lu\n", txr->me, - txr->tx_irq); - device_printf(dev, "TX(%d) Packets sent = %lu\n", txr->me, - txr->tx_packets); + device_printf(dev, "TX(%d) MSIX IRQ Handled = %lld\n", txr->me, + (long long)txr->tx_irq); + device_printf(dev, "TX(%d) Packets sent = %lld\n", txr->me, + (long long)txr->tx_packets); } for (int i = 0; i < adapter->num_rx_queues; i++, rxr++) { device_printf(dev, "Queue(%d) rdh = %d, rdt = %d\n", i, E1000_READ_REG(&adapter->hw, E1000_RDH(i)), E1000_READ_REG(&adapter->hw, E1000_RDT(i))); - device_printf(dev, "RX(%d) Packets received = %lu\n", rxr->me, - rxr->rx_packets); - device_printf(dev, "RX(%d) Byte count = %lu\n", rxr->me, - rxr->rx_bytes); - device_printf(dev, "RX(%d) MSIX IRQ Handled = %lu\n", rxr->me, - rxr->rx_irq); + device_printf(dev, "RX(%d) Packets received = %lld\n", rxr->me, + (long long)rxr->rx_packets); + device_printf(dev, "RX(%d) Byte count = %lld\n", rxr->me, + (long long)rxr->rx_bytes); + device_printf(dev, "RX(%d) MSIX IRQ Handled = %lld\n", rxr->me, + (long long)rxr->rx_irq); } device_printf(dev, "LINK MSIX IRQ Handled = %u\n", adapter->link_irq); |