[dpdk-dev] [Bug 597] PCAP PMD reports incorrect TX stats when sending jumbo frames
bugzilla at dpdk.org
bugzilla at dpdk.org
Mon Dec 7 15:42:49 CET 2020
https://bugs.dpdk.org/show_bug.cgi?id=597
Bug ID: 597
Summary: PCAP PMD reports incorrect TX stats when sending jumbo
frames
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: minor
Priority: Normal
Component: ethdev
Assignee: dev at dpdk.org
Reporter: cian.ferriter at intel.com
Target Milestone: ---
When the PCAP PMD TXes jumbo frames to a file, the wrong tx bytes size is
reported.
In the below example, 2 packets are in the RX PCAP file. The RX-bytes are
reported correctly since each packet is 65535 Bytes.
Port statistics ====================================
######################## NIC statistics for port 0 ########################
RX-packets: 2 RX-missed: 0 RX-bytes: 131070
RX-errors: 0
RX-nombuf: 0
TX-packets: 2 TX-errors: 0 TX-bytes: 32256
Throughput (since last show)
Rx-pps: 1 Rx-bps: 1048400
Tx-pps: 1 Tx-bps: 258008
############################################################################
TX_bytes is wrong. It's value is set by "RTE_ETHER_MAX_JUMBO_FRAME_LEN" which
is 16128.
#define RTE_ETHER_MAX_JUMBO_FRAME_LEN \
0x3F00 /**< Maximum Jumbo frame length, including CRC. */
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the dev
mailing list