<html>
<head>
<base href="https://bugs.dpdk.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8" class="bz_new_table">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - It is not possible to increase the MTU for AF_PACKET PMD beyond 1500B"
href="https://bugs.dpdk.org/show_bug.cgi?id=1666">1666</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>It is not possible to increase the MTU for AF_PACKET PMD beyond 1500B
</td>
</tr>
<tr>
<th>Product</th>
<td>DPDK
</td>
</tr>
<tr>
<th>Version</th>
<td>21.11
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>Normal
</td>
</tr>
<tr>
<th>Component</th>
<td>ethdev
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dev@dpdk.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>angelo.mirabella96@gmail.com
</td>
</tr>
<tr>
<th>Target Milestone</th>
<td>---
</td>
</tr></table>
<p>
<div class="bz_comment_block">
<pre class="bz_comment_text">Created <span class=""><a href="attachment.cgi?id=302" name="attach_302" title="testpmd logs">attachment 302</a> <a href="attachment.cgi?id=302&action=edit" title="testpmd logs">[details]</a></span>
testpmd logs
Hi everyone,
I'm currently working with DPDK v21.11 from the official Ubuntu Jammy package,
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!
</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://bugs.dpdk.org/show_bug.cgi?id=1666">
<meta itemprop="name" content="View bug">
</div>
<meta itemprop="description" content="Bugzilla bug update notification">
</div>
</body>
</html>