[PATCH v7] net/tap: Allow jumbo frames
Ferruh Yigit
ferruh.yigit at amd.com
Thu Jan 19 15:50:33 CET 2023
On 8/8/2022 4:03 PM, Stephen Hemminger wrote:
> On Mon, 8 Aug 2022 16:49:44 +0200
> Francesco Mancino <francesco.mancino at tutus.se> wrote:
>
>> eth_dev_validate_mtu, introduced in 990912e676e, validates configured
>> MTU plus overhead against max_rx_pktlen.
>> Since TAP is a virtual device, it should support as big MTU as possible.
>>
>> Signed-off-by: Francesco Mancino <francesco.mancino at tutus.se>
> dev_info->min_rx_bufsize = 0;
>
>
> Thanks for your patience.
>
> Since tap is built on top of an existing kernel network device a more
> complete solution would be to query the kernel device to find out what
> its MTU is.
>
> Acked-by: Stephen Hemminger <stephen at networkplumber.org>
+1 to get as it is for now, but if you have a chance, please send
'IFLA_MAX_MTU' implementation to replace current one, thanks.
Applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list