Re: [PATCH v2] net/idpf: fix Tx of large mbuf segments
From: Bruce Richardson <hidden>
Date: 2026-07-01 09:50:55
On Wed, Jul 01, 2026 at 09:44:52AM +0100, Medvedkin, Vladimir wrote:
On 7/1/2026 9:23 AM, Bruce Richardson wrote:quoted
When TSO is enabled, and we get a packet to transmit where an individual mbuf segment is longer than 16k, we need to split that segment across multiple Tx descriptors. This support is present in the single-queue mode of idpf - since it shares common code with the other Intel drivers - but was missing from the splitq path. This patch adds the proper data path handling. Previous work ensured that the descriptor count calculation took over-sized segments into account but the actual descriptor writing part was overlooked. Fixes: 770f4dfe0f79 ("net/idpf: support basic Tx data path") Fixes: 2904020f8313 ("net/intel: add common function to calculate needed descs") Cc: stable@dpdk.org Signed-off-by: Bruce Richardson <redacted>Acked-by: Vladimir Medvedkin <redacted>quoted
--- V2: change check for number of free descriptor slots to use the correct count, rather than just the number of mbuf segments passed --- drivers/net/intel/idpf/idpf_common_rxtx.c | 43 ++++++++++++++++++----- 1 file changed, 35 insertions(+), 8 deletions(-)
Patch applied to dpdk-next-net-intel. /Bruce