<div dir="ltr">Thanks Stephen.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 18, 2024 at 10:13 PM Stephen Hemminger <<a href="mailto:stephen@networkplumber.org">stephen@networkplumber.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, 18 Oct 2024 22:05:24 +0530<br>
Rajasekhar Pulluru <<a href="mailto:pullururajasekhar@gmail.com" target="_blank">pullururajasekhar@gmail.com</a>> wrote:<br>
<br>
> Team,<br>
> Does setting mtu using rte_eth_dev_set_mtu limit the maximum size of the<br>
> packet received on the dpdk port to the configured mtu size?<br>
> <br>
> On an intel machine with ixgbe port, with mtu set to 1500, no rx-offloads<br>
> enabled, ixgbe dpdk port is able to receive packets greater than 1500 size<br>
> and even jumbo frames of size 9000, even though the peer is sending them<br>
> fragmented with mtu of 1500.<br>
> <br>
> How do I restrict the port not to receive any frame greater than mtu size?<br>
> <br>
> Appreciate any help,<br>
> Thanks.<br>
> Rajasekhar<br>
<br>
<br>
In networking, MTU and MRU are overlapping concepts.<br>
The MTU value is used as a hint to the driver as to what size buffer to allocate<br>
but it can use larger if it wants. If you have restrictions, then the application<br>
needs to enforce them.<br>
</blockquote></div>