Re: [PATCH v2] igc: fix invalid length and corrupted multi-segment mbufs

2024-11-01 Thread Bruce Richardson
On Fri, Nov 01, 2024 at 02:30:00PM +, Bruce Richardson wrote: > On Fri, Nov 01, 2024 at 02:57:26PM +0100, Martin Weiser wrote: > > > > The issue only appeared with hardware-timestamping enabled > > (RTE_ETH_RX_OFFLOAD_TIMESTAMP). > > > > The length of the prepended hardware timestamp was not

Re: [PATCH v2] igc: fix invalid length and corrupted multi-segment mbufs

2024-11-01 Thread Bruce Richardson
On Fri, Nov 01, 2024 at 02:57:26PM +0100, Martin Weiser wrote: > > The issue only appeared with hardware-timestamping enabled > (RTE_ETH_RX_OFFLOAD_TIMESTAMP). > > The length of the prepended hardware timestamp was not subtracted from > the data length so that received packets were 16 bytes longe

[PATCH v2] igc: fix invalid length and corrupted multi-segment mbufs

2024-11-01 Thread Martin Weiser
The issue only appeared with hardware-timestamping enabled (RTE_ETH_RX_OFFLOAD_TIMESTAMP). The length of the prepended hardware timestamp was not subtracted from the data length so that received packets were 16 bytes longer than expected. In scatter-gather mode only the first mbuf has a timesta