[PATCH v2 0/1] fix incorrect MTU stored in rxmode
Dimon Zhao
dimon.zhao at nebula-matrix.com
Tue Sep 29 05:52:34 CEST 2026
The ethdev layer already updates dev->data->mtu on success.
After rte_eth_dev_configure(), dev_conf.rxmode.mtu becomes stale
and should not be modified by mtu_set.
Additionally, the original code assigned frame_size (MTU + overhead)
instead of MTU, confusing frame length with MTU.
Dimon Zhao (1):
net/nbl: fix incorrect MTU stored in rxmode
drivers/net/nbl/nbl_dev/nbl_dev.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
--
2.34.1
More information about the dev
mailing list