From: Dimon Zhao <dimon.zhao@nebula-matrix.com>
To: dev@dpdk.org
Cc: Dimon Zhao <dimon.zhao@nebula-matrix.com>
Subject: [PATCH v2 0/1] fix incorrect MTU stored in rxmode
Date: Mon, 28 Sep 2026 20:52:34 -0700 [thread overview]
Message-ID: <20260929035236.126778-1-dimon.zhao@nebula-matrix.com> (raw)
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
next reply other threads:[~2026-09-29 3:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-29 3:52 Dimon Zhao [this message]
2026-09-29 3:52 ` [PATCH v2 1/1] net/nbl: fix incorrect MTU stored in rxmode Dimon Zhao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260929035236.126778-1-dimon.zhao@nebula-matrix.com \
--to=dimon.zhao@nebula-matrix.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox