AltraMayor / AltraMayor/gatekeeper
DPDK ICE driver interprets MTU as max frame size
- Ngôn ngữ chính
- C
- Star
- 1.6k
- Fork
- 252
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
When `lib/net.c:check_if_mtu()` sets `port_conf->rxmode.mtu`, DPDK's ICE driver interprets it as max frame size. This has been observed when the ICE driver uses the vetorial receiving path. This bug may also happen in the non-vetorial path, but has not been tested. A workaround consists of adding the Ethernet header and the VLAN header to the MTU parameter.
When the ICE driver uses the vetorial receiving path and the MTU is 2048 (the typical value in Gatekeeper's back interface), without the workaround, frames greater than 2048 are broken into two packets: the first packet has the first 2048 bytes, and the second packet has the remaining bytes.
The ICE driver has been heavily rewritten since DPDK 23.11, the version of DPDK that Gatekeeper v1.2.0 is based on. Therefore, this bug may not be present in newer versions of DPDK. The test plan [106. MTU Check Tests](https://doc.dpdk.org/dts/test_plans/mtu_update_test_plan.html) may prove helpful to test new DPDK versions and to report this bug, if it is still present.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.