DPDK patches and discussions
 help / color / mirror / Atom feed
* [DPDK/ethdev Bug 1476] Frame Overhead Inconsistencies Within Drivers
@ 2024-07-01 16:45 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2024-07-01 16:45 UTC (permalink / raw)
  To: dev

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

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

            Bug ID: 1476
           Summary: Frame Overhead Inconsistencies Within Drivers
           Product: DPDK
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: dev@dpdk.org
          Reporter: npratte@iol.unh.edu
  Target Milestone: ---

There are inconsistencies within DPDK network drivers regarding how it
calculates Ethernet overhead. These calculations have meaningful impacts
towards how we write test suites to assess the ethdev API, namely MTUs. 

Network drivers base their implementations of rte_ethdev's set_mtu() on
arbitrary Ethernet overhead constants specific to the individual network
driver. For example, the file bnxt_ethdev.c assumes an Ethernet overhead of the
standard 14 byte Ether header, CRC, and space for QinQ; i40e makes the same
assumptions. Mellanox, however, assumes only for a 14 byte Ether header plus
CRC, so the overall Ether overhead is different between NICs. DPDK drops or
forwards packets based on the total frame size, not the L3 packet/MTU size. So,
the result is that we can set the MTU the same way for different devices and
see different behavior.

If we want to, for example, test MTUs without concern for individual behavior,
then we need to discuss what the proper amount of assumed overhead is before we
can consider it a bug.

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

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

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

only message in thread, other threads:[~2024-07-01 16:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-01 16:45 [DPDK/ethdev Bug 1476] Frame Overhead Inconsistencies Within Drivers bugzilla

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).