All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Paweł Staszewski" <pstaszewski@itcare.pl>
To: Linux Network Development list <netdev@vger.kernel.org>
Subject: ixgbe - problem with packet/bytes count on all queues
Date: Sun, 18 Apr 2010 11:14:02 +0200	[thread overview]
Message-ID: <4BCACD5A.6070809@itcare.pl> (raw)

Hello

I want to ask is this a normal behavior of ixgb driver and 82598EB nic.
look for tx_queue_7 stats:
  ethtool -S eth2
NIC statistics:
      rx_packets: 35103252
      tx_packets: 1770371731
      rx_bytes: 3602052416
      tx_bytes: 1369778276
      rx_pkts_nic: 138121006018
      tx_pkts_nic: 122033163226
      rx_bytes_nic: 101484528847981
      tx_bytes_nic: 92258799092069
      lsc_int: 1
      tx_busy: 0
      non_eop_descs: 0
      rx_errors: 0
      tx_errors: 0
      rx_dropped: 0
      tx_dropped: 0
      multicast: 490226
      broadcast: 124104912
      rx_no_buffer_count: 0
      collisions: 0
      rx_over_errors: 0
      rx_crc_errors: 0
      rx_frame_errors: 0
      hw_rsc_aggregated: 0
      hw_rsc_flushed: 0
      fdir_match: 0
      fdir_miss: 0
      rx_fifo_errors: 0
      rx_missed_errors: 0
      tx_aborted_errors: 0
      tx_carrier_errors: 0
      tx_fifo_errors: 0
      tx_heartbeat_errors: 0
      tx_timeout_count: 0
      tx_restart_queue: 111130
      rx_long_length_errors: 38599
      rx_short_length_errors: 0
      tx_flow_control_xon: 0
      rx_flow_control_xon: 0
      tx_flow_control_xoff: 0
      rx_flow_control_xoff: 0
      rx_csum_offload_errors: 1554191
      alloc_rx_page_failed: 0
      alloc_rx_buff_failed: 0
      rx_no_dma_resources: 0
      tx_queue_0_packets: 108685351623
      tx_queue_0_bytes: 79701402025544
      tx_queue_1_packets: 3988024698
      tx_queue_1_bytes: 3353530467775
      tx_queue_2_packets: 1893305707
      tx_queue_2_bytes: 1705357186034
      tx_queue_3_packets: 1787852613
      tx_queue_3_bytes: 1518632482370
      tx_queue_4_packets: 1843108684
      tx_queue_4_bytes: 1641474602504
      tx_queue_5_packets: 1882637467
      tx_queue_5_bytes: 1629905766993
      tx_queue_6_packets: 1952759802
      tx_queue_6_bytes: 1680666591771
      tx_queue_7_packets: 0
      tx_queue_7_bytes: 0
      rx_queue_0_packets: 17361735592
      rx_queue_0_bytes: 12585728518077
      rx_queue_1_packets: 17194262916
      rx_queue_1_bytes: 12518731583464
      rx_queue_2_packets: 17342312348
      rx_queue_2_bytes: 12734959063176
      rx_queue_3_packets: 17367632051
      rx_queue_3_bytes: 12656219984521
      rx_queue_4_packets: 17150307164
      rx_queue_4_bytes: 12408526754019
      rx_queue_5_packets: 17206721842
      rx_queue_5_bytes: 12470666039893
      rx_queue_6_packets: 17202210572
      rx_queue_6_bytes: 12431429298950
      rx_queue_7_packets: 17295822822
      rx_queue_7_bytes: 12573299488239

and here look at multiq queue number 8:
tc -s -d class show dev eth2
class multiq 1:1 parent 1:
  Sent 6905560675905 bytes 510743840 pkt (dropped 0, overlimits 0 
requeues 0)
  backlog 0b 0p requeues 0
class multiq 1:2 parent 1:
  Sent 280699743990 bytes 330210442 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
class multiq 1:3 parent 1:
  Sent 128528666971 bytes 142053106 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
class multiq 1:4 parent 1:
  Sent 123086710694 bytes 140454119 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
class multiq 1:5 parent 1:
  Sent 121027779083 bytes 146164066 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
class multiq 1:6 parent 1:
  Sent 116245520195 bytes 141597610 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
class multiq 1:7 parent 1:
  Sent 133310553887 bytes 151141714 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0
class multiq 1:8 parent 1:
  Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  backlog 0b 0p requeues 0

Is that normal that driver don't use queue number 8 ?


             reply	other threads:[~2010-04-18  9:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-18  9:14 Paweł Staszewski [this message]
2010-05-11 18:00 ` ixgbe - problem with packet/bytes count on all queues Brandeburg, Jesse
2010-05-11 19:40   ` Paweł Staszewski
2010-05-13 19:01     ` Paweł Staszewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BCACD5A.6070809@itcare.pl \
    --to=pstaszewski@itcare.pl \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.