From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 3708045ADC;
	Tue,  8 Oct 2024 04:07:26 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id CFD17400D7;
	Tue,  8 Oct 2024 04:07:25 +0200 (CEST)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
 by mails.dpdk.org (Postfix) with ESMTP id 50C494003C
 for <dev@dpdk.org>; Tue,  8 Oct 2024 04:07:24 +0200 (CEST)
Received: by inbox.dpdk.org (Postfix, from userid 33)
 id 44F7245ADE; Tue,  8 Oct 2024 04:07:24 +0200 (CEST)
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
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: ethdev
X-Bugzilla-Version: 24.07
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: normal
X-Bugzilla-Who: junwang01@cestc.cn
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: dev@dpdk.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
 op_sys bug_status bug_severity priority component assigned_to reporter
 target_milestone
Message-ID: <bug-1560-3@http.bugs.dpdk.org/>
Content-Type: multipart/alternative; boundary=17283532440.02Fe27.3509609
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org


--17283532440.02Fe27.3509609
Date: Tue, 8 Oct 2024 04:07:24 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All

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

            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
  }
}

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

--17283532440.02Fe27.3509609
Date: Tue, 8 Oct 2024 04:07:24 +0200
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All

<html>
    <head>
      <base href=3D"https://bugs.dpdk.org/">
    </head>
    <body><table border=3D"1" cellspacing=3D"0" cellpadding=3D"8" class=3D"=
bz_new_table">
        <tr>
          <th>Bug ID</th>
          <td><a class=3D"bz_bug_link=20
          bz_status_UNCONFIRMED "
   title=3D"UNCONFIRMED - &quot;net_txgbe&quot; is unable to retrieve all s=
tatistical information correctly through telemetry."
   href=3D"https://bugs.dpdk.org/show_bug.cgi?id=3D1560">1560</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>&quot;net_txgbe&quot; is unable to retrieve all statistical i=
nformation correctly through telemetry.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DPDK
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>24.07
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>ethdev
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dev&#64;dpdk.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>junwang01&#64;cestc.cn
          </td>
        </tr>

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

wangxun  txgbe driver:
--&gt; /ethdev/xstats,0
{
  &quot;/ethdev/xstats&quot;: {
    &quot;rx_good_packets&quot;: 28224,
    &quot;tx_good_packets&quot;: 110,
    &quot;rx_good_bytes&quot;: 3048375,
    &quot;tx_good_bytes&quot;: 13640,
    &quot;rx_missed_errors&quot;: 0,
    &quot;rx_errors&quot;: 0,
    &quot;tx_errors&quot;: 0,
    &quot;rx_mbuf_allocation_errors&quot;: 0
  }
}
          </pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
      <div itemscope itemtype=3D"http://schema.org/EmailMessage">
        <div itemprop=3D"action" itemscope itemtype=3D"http://schema.org/Vi=
ewAction">
=20=20=20=20=20=20=20=20=20=20
          <link itemprop=3D"url" href=3D"https://bugs.dpdk.org/show_bug.cgi=
?id=3D1560">
          <meta itemprop=3D"name" content=3D"View bug">
        </div>
        <meta itemprop=3D"description" content=3D"Bugzilla bug update notif=
ication">
      </div>
    </body>
</html>=

--17283532440.02Fe27.3509609--