[PATCH v2] ethdev: account for smaller MTU when setting default
Ferruh Yigit
ferruh.yigit at amd.com
Wed Nov 8 18:23:09 CET 2023
On 11/8/2023 5:05 PM, Ajit Khaparde wrote:
> On Wed, Nov 8, 2023 at 7:07 AM Andrew Rybchenko
> <andrew.rybchenko at oktetlabs.ru> wrote:
>>
>> On 11/8/23 09:05, Joshua Washington wrote:
>>> Currently, if not specified in the user configuration,
>>> rte_eth_dev_configure() sets the MTU of the device to RTE_EHTER_MTU.
>>> This value could potentially be larger than the MTU that the device
>>> supports. This change updates the configured MTU to be the minimum of
>>> the maximum suported MTU and the default DPDK MTU.
>>>
>>> Fixes: 1bb4a528c4 ("ethdev: fix max Rx packet length")
>>> Signed-off-by: Joshua Washington <joshwash at google.com>
>>> Signed-off-by: Rushil Gupta <rushilg at google.com>
>>
>> Acked-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
>
> Acked-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
>
Applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list