* [DPDK/testpmd Bug 1514] mlx5 NIC reports checksum unknown when an invalid checksum is present
@ 2024-08-05 19:44 bugzilla
0 siblings, 0 replies; only message in thread
From: bugzilla @ 2024-08-05 19:44 UTC (permalink / raw)
To: dev
[-- Attachment #1: Type: text/plain, Size: 1511 bytes --]
https://bugs.dpdk.org/show_bug.cgi?id=1514
Bug ID: 1514
Summary: mlx5 NIC reports checksum unknown when an invalid
checksum is present
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: testpmd
Assignee: dev@dpdk.org
Reporter: jspewock@iol.unh.edu
Target Milestone: ---
When running testpmd in verbose mode on a NIC that uses the mlx5_core PMD, if
you send a packet with an invalid IP checksum it will show the ol_flag
`RTE_MBUF_F_RX_IP_CKSUM_UNKNOWN` when it should be
`RTE_MBUF_F_RX_IP_CKSUM_BAD`. According to lib/mbuf/rte_mbuf_core.h
`RTE_MBUF_F_RX_IP_CKSUM_UNKNOWN` should be shown when there is "no information
about the RX IP checksum" and `RTE_MBUF_F_RX_IP_CKSUM_BAD` should be shown when
"the IP checksum in the packet is wrong". This leads to an issue currently
where, from verbose output in testpmd, you cannot distinguish between a packet
having a bad checksum and one not being present at all. It should be noted that
this is also the case for L4 and OUTER_L4 checksums as well.
You can reproduce this by sending a scapy packet with the following structure
to the testpmd shell that is forwarding with verbose mode set to 1:
`pakt = Ether() / IP(chksum=0x0)`
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #2: Type: text/html, Size: 3407 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-08-05 19:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-05 19:44 [DPDK/testpmd Bug 1514] mlx5 NIC reports checksum unknown when an invalid checksum is present 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.