Bug 1312
Summary: | When iterating through the mbufs, mbuf->nb_segs indicates there are 21 segments, but when reaching the 8th mbuf, its mbuf->next pointer is NULL | ||
---|---|---|---|
Product: | DPDK | Reporter: | tingsong (tingsong.zheng) |
Component: | core | Assignee: | dev |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | dmitry.kozliuk |
Priority: | Normal | ||
Version: | 20.11 | ||
Target Milestone: | --- | ||
Hardware: | ARM | ||
OS: | Linux |
Description
tingsong
2023-11-09 13:34:01 CET
The issue arises sporadically after receiving around 100 million packets Please tell the PMD and the exact HW model (CPU, NIC). (In reply to Dmitry Kozlyuk from comment #2) > Please tell the PMD and the exact HW model (CPU, NIC). The PMD is configured with igb_uio, the CPU in use is FT2000/64, and the network card is PS1600 on my end (In reply to Dmitry Kozlyuk from comment #2) > Please tell the PMD and the exact HW model (CPU, NIC). The DPDK driver for the PS1600 NIC is provided by the manufacturer of the NIC itself, based on DPDK v20.11. Thanks (In reply to Dmitry Kozlyuk from comment #2) > Please tell the PMD and the exact HW model (CPU, NIC). The DPDK driver for the PS1600 NIC is provided by the manufacturer of the NIC itself, based on DPDK v20.11. Thanks The PMD is configured with igb_uio, the CPU in use is FT2000/64, and the network card is PS1600 on my end. The DPDK driver for the PS1600 NIC is provided by the manufacturer of the NIC itself, based on DPDK v20.11. Thanks Seems to be related to: #define RTE_LIBRTE_IP_FRAG_MAX_FRAG 8 PMD and NIC seem to be irrelevant, sorry for pointing in that direction. (In reply to Dmitry Kozlyuk from comment #7) > Seems to be related to: > > #define RTE_LIBRTE_IP_FRAG_MAX_FRAG 8 > > PMD and NIC seem to be irrelevant, sorry for pointing in that direction. Thank you for your response. Originally, the value of RTE_LIBRTE_IP_FRAG_MAX_FRAG was set to 64 because sending a 30,000-byte packet through an MTU 1500 network card would result in approximately 21 fragments. I later changed RTE_LIBRTE_IP_FRAG_MAX_FRAG to 8 and increased the MTU of the sending NIC to 9000, but I still encountered the same issue. |