All of lore.kernel.org
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 597] PCAP PMD reports incorrect TX stats when sending jumbo frames
@ 2020-12-07 14:42 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2020-12-07 14:42 UTC (permalink / raw)
  To: dev

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@dpdk.org
          Reporter: cian.ferriter@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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-07 14:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-07 14:42 [dpdk-dev] [Bug 597] PCAP PMD reports incorrect TX stats when sending jumbo frames bugzilla

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.