DPDK patches and discussions
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/ethdev Bug 1560] "net_txgbe" is unable to retrieve all statistical information correctly through telemetry.
Date: Tue, 08 Oct 2024 02:07:23 +0000	[thread overview]
Message-ID: <bug-1560-3@http.bugs.dpdk.org/> (raw)

[-- Attachment #1: Type: text/plain, Size: 4647 bytes --]

https://bugs.dpdk.org/show_bug.cgi?id=1560

            Bug ID: 1560
           Summary: "net_txgbe" is unable to retrieve all statistical
                    information correctly through telemetry.
           Product: DPDK
           Version: 24.07
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: dev@dpdk.org
          Reporter: junwang01@cestc.cn
  Target Milestone: ---

I tried using DPDK telemetry with the X710 network card, and it was
indeed able to retrieve all xstat statistics. However, there seems to
be an issue with retrieving xstat data from the Wangxun network card
using the txgbe driver.
This might be an issue with the specific driver.

X710 i40e driver:
--> /ethdev/xstats,0
{
  "/ethdev/xstats": {
    "rx_good_packets": 4158196,
    "tx_good_packets": 817922,
    "rx_good_bytes": 307686767,
    "tx_good_bytes": 64879395,
    "rx_missed_errors": 0,
    "rx_errors": 0,
    "tx_errors": 0,
    "rx_mbuf_allocation_errors": 0,
    "rx_unicast_packets": 804771,
    "rx_multicast_packets": 387605,
    "rx_broadcast_packets": 2947488,
    "rx_dropped_packets": 0,
    "rx_unknown_protocol_packets": 4158200,
    "rx_size_error_packets": 0,
    "tx_unicast_packets": 799583,
    "tx_multicast_packets": 18288,
    "tx_broadcast_packets": 51,
    "tx_dropped_packets": 0,
    "tx_link_down_dropped": 0,
    "rx_crc_errors": 0,
    "rx_illegal_byte_errors": 0,
    "rx_error_bytes": 0,
    "mac_local_errors": 1,
    "mac_remote_errors": 1,
    "rx_length_errors": 0,
    "tx_xon_packets": 0,
    "rx_xon_packets": 0,
    "tx_xoff_packets": 0,
    "rx_xoff_packets": 0,
    "rx_size_64_packets": 546485,
    "rx_size_65_to_127_packets": 3542514,
    "rx_size_128_to_255_packets": 18619,
    "rx_size_256_to_511_packets": 18319,
    "rx_size_512_to_1023_packets": 8458,
    "rx_size_1024_to_1522_packets": 5469,
    "rx_size_1523_to_max_packets": 0,
    "rx_undersized_errors": 0,
    "rx_oversize_errors": 0,
    "rx_mac_short_dropped": 0,
    "rx_fragmented_errors": 0,
    "rx_jabber_errors": 0,
    "tx_size_64_packets": 198245,
    "tx_size_65_to_127_packets": 599690,
    "tx_size_128_to_255_packets": 19645,
    "tx_size_256_to_511_packets": 236,
    "tx_size_512_to_1023_packets": 53,
    "tx_size_1024_to_1522_packets": 53,
    "tx_size_1523_to_max_packets": 0,
    "rx_flow_director_atr_match_packets": 0,
    "rx_flow_director_sb_match_packets": 378618,
    "tx_low_power_idle_status": 0,
    "rx_low_power_idle_status": 0,
    "tx_low_power_idle_count": 0,
    "rx_low_power_idle_count": 0,
    "rx_priority0_xon_packets": 0,
    "rx_priority1_xon_packets": 0,
    "rx_priority2_xon_packets": 0,
    "rx_priority3_xon_packets": 0,
    "rx_priority4_xon_packets": 0,
    "rx_priority5_xon_packets": 0,
    "rx_priority6_xon_packets": 0,
    "rx_priority7_xon_packets": 0,
    "rx_priority0_xoff_packets": 0,
    "rx_priority1_xoff_packets": 0,
    "rx_priority2_xoff_packets": 0,
    "rx_priority3_xoff_packets": 0,
    "rx_priority4_xoff_packets": 0,
    "rx_priority5_xoff_packets": 0,
    "rx_priority6_xoff_packets": 0,
    "rx_priority7_xoff_packets": 0,
    "tx_priority0_xon_packets": 0,
    "tx_priority1_xon_packets": 0,
    "tx_priority2_xon_packets": 0,
    "tx_priority3_xon_packets": 0,
    "tx_priority4_xon_packets": 0,
    "tx_priority5_xon_packets": 0,
    "tx_priority6_xon_packets": 0,
    "tx_priority7_xon_packets": 0,
    "tx_priority0_xoff_packets": 0,
    "tx_priority1_xoff_packets": 0,
    "tx_priority2_xoff_packets": 0,
    "tx_priority3_xoff_packets": 0,
    "tx_priority4_xoff_packets": 0,
    "tx_priority5_xoff_packets": 0,
    "tx_priority6_xoff_packets": 0,
    "tx_priority7_xoff_packets": 0,
    "tx_priority0_xon_to_xoff_packets": 0,
    "tx_priority1_xon_to_xoff_packets": 0,
    "tx_priority2_xon_to_xoff_packets": 0,
    "tx_priority3_xon_to_xoff_packets": 0,
    "tx_priority4_xon_to_xoff_packets": 0,
    "tx_priority5_xon_to_xoff_packets": 0,
    "tx_priority6_xon_to_xoff_packets": 0,
    "tx_priority7_xon_to_xoff_packets": 0
  }
}

wangxun  txgbe driver:
--> /ethdev/xstats,0
{
  "/ethdev/xstats": {
    "rx_good_packets": 28224,
    "tx_good_packets": 110,
    "rx_good_bytes": 3048375,
    "tx_good_bytes": 13640,
    "rx_missed_errors": 0,
    "rx_errors": 0,
    "tx_errors": 0,
    "rx_mbuf_allocation_errors": 0
  }
}

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #2: Type: text/html, Size: 7610 bytes --]

                 reply	other threads:[~2024-10-08  2:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=bug-1560-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).