Re: [PATCH] net/iavf: add segment-length check to Tx prep

2024-11-19 Thread Bruce Richardson
Cc: sta...@dpdk.org ; Connolly, Padraig J >; Stokes, Ian ; >Zhang, Qi Z ; Kevin Liu > Subject: Re: [PATCH] net/iavf: add segment-length check to Tx prep > >On 11/11/2024 16:42, Bruce Richardson wrote: >> In the Tx prep function, the metadata checks were

Re: [PATCH] net/iavf: add segment-length check to Tx prep

2024-11-19 Thread Connolly, Padraig J
Tested-by: Padraig Connolly > Acked-by: Vladimir Medvedkin >On 11/11/2024 16:42, Bruce Richardson wrote: > > In the Tx prep function, the metadata checks were only checking the > > packet length and ignoring the data length. For single-buffer packets we > > can quickly check that the data leng

Re: [PATCH] net/iavf: add segment-length check to Tx prep

2024-11-19 Thread Connolly, Padraig J
From: Medvedkin, Vladimir Sent: Monday 11 November 2024 5:46 pm To: Richardson, Bruce ; dev@dpdk.org Cc: sta...@dpdk.org ; Connolly, Padraig J ; Stokes, Ian ; Zhang, Qi Z ; Kevin Liu Subject: Re: [PATCH] net/iavf: add segment-length check to Tx prep Acked

Re: [PATCH] net/iavf: add segment-length check to Tx prep

2024-11-11 Thread Medvedkin, Vladimir
Acked-by: Vladimir Medvedkin On 11/11/2024 16:42, Bruce Richardson wrote: In the Tx prep function, the metadata checks were only checking the packet length and ignoring the data length. For single-buffer packets we can quickly check that the data length is the packet length. Fixes: 19ee91c6bd9

[PATCH] net/iavf: add segment-length check to Tx prep

2024-11-11 Thread Bruce Richardson
In the Tx prep function, the metadata checks were only checking the packet length and ignoring the data length. For single-buffer packets we can quickly check that the data length is the packet length. Fixes: 19ee91c6bd9a ("net/iavf: check illegal packet sizes") Cc: sta...@dpdk.org Reported-by: P