Skip to contentSkip to conversation

PCAP PMD reports incorrect TX stats when sending jumbo frames

dpdk-dev [email protected] 1 participant 1 message Dec 7, 2020

lore
Share & tools
lore
#0 lore raw

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: [email protected]
Reporter: [email protected]
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. */
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.