From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
by inbox.dpdk.org (Postfix) with ESMTP id 1CD04462E6;
Fri, 28 Feb 2025 13:03:50 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
by mails.dpdk.org (Postfix) with ESMTP id B901B40E3F;
Fri, 28 Feb 2025 13:03:49 +0100 (CET)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
by mails.dpdk.org (Postfix) with ESMTP id 2162440609
for ; Fri, 28 Feb 2025 13:03:49 +0100 (CET)
Received: by inbox.dpdk.org (Postfix, from userid 33)
id EAB62462E7; Fri, 28 Feb 2025 13:03:48 +0100 (CET)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/ethdev Bug 1666] It is not possible to increase the MTU for
AF_PACKET PMD beyond 1500B
Date: Fri, 28 Feb 2025 12:03:48 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: ethdev
X-Bugzilla-Version: 21.11
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: angelo.mirabella96@gmail.com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: dev@dpdk.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
op_sys bug_status bug_severity priority component assigned_to reporter
target_milestone attachments.created
Message-ID:
Content-Type: multipart/alternative; boundary=17407442280.8dcc148.1469702
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dev-bounces@dpdk.org
--17407442280.8dcc148.1469702
Date: Fri, 28 Feb 2025 13:03:48 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
https://bugs.dpdk.org/show_bug.cgi?id=3D1666
Bug ID: 1666
Summary: It is not possible to increase the MTU for AF_PACKET
PMD beyond 1500B
Product: DPDK
Version: 21.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: dev@dpdk.org
Reporter: angelo.mirabella96@gmail.com
Target Milestone: ---
Created attachment 302
--> https://bugs.dpdk.org/attachment.cgi?id=3D302&action=3Dedit
testpmd logs
Hi everyone,
I'm currently working with DPDK v21.11 from the official Ubuntu Jammy packa=
ge,
having recently upgraded from v19.11. I noticed that a new check,
"eth_dev_validate_mtu", has been introduced in "eth_dev_configure".
The final check in this function is:
```
if (frame_size > dev_info->max_rx_pktlen) {
---
```
For the AF_PACKET PMD, "max_rx_pktlen" is hardcoded to RTE_ETHER_MAX_LEN
(1518). As a result, any attempt to increase the MTU beyond 1500 fails, even
when the vdev is configured with a larger framesz.
I've attached logs from testpmd for reference. Any insights or possible
workarounds would be appreciated!
Thanks!
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--17407442280.8dcc148.1469702
Date: Fri, 28 Feb 2025 13:03:48 +0100
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
It is not possible to increase the MTU for AF_PACKET PMD beyo=
nd 1500B
Product
DPDK
Version
21.11
Hardware
All
OS
All
Status
UNCONFIRMED
Severity
normal
Priority
Normal
Component
ethdev
Assignee
dev@dpdk.org
Reporter
angelo.mirabella96@gmail.com
Target Milestone
---
Created att=
achment 302[details]
testpmd logs
Hi everyone,
I'm currently working with DPDK v21.11 from the official Ubuntu Jammy packa=
ge,
having recently upgraded from v19.11. I noticed that a new check,
"eth_dev_validate_mtu", has been introduced in "eth_dev_conf=
igure".
The final check in this function is:
```
if (frame_size > dev_info->max_rx_pktlen) {
---
```
For the AF_PACKET PMD, "max_rx_pktlen" is hardcoded to RTE_ETHER_=
MAX_LEN
(1518). As a result, any attempt to increase the MTU beyond 1500 fails, even
when the vdev is configured with a larger framesz.
I've attached logs from testpmd for reference. Any insights or possible
workarounds would be appreciated!
Thanks!
Created att= achment 302 [details] testpmd logs Hi everyone, I'm currently working with DPDK v21.11 from the official Ubuntu Jammy packa= ge, having recently upgraded from v19.11. I noticed that a new check, "eth_dev_validate_mtu", has been introduced in "eth_dev_conf= igure". The final check in this function is: ``` if (frame_size > dev_info->max_rx_pktlen) { --- ``` For the AF_PACKET PMD, "max_rx_pktlen" is hardcoded to RTE_ETHER_= MAX_LEN (1518). As a result, any attempt to increase the MTU beyond 1500 fails, even when the vdev is configured with a larger framesz. I've attached logs from testpmd for reference. Any insights or possible workarounds would be appreciated! Thanks!