[dpdk-dev] [PATCH v2] ixgbe: fix check for split packets

2015-07-26 Thread Thomas Monjalon
> The check for split packets to be reassembled in the vector ixgbe PMD > was incorrectly only checking the first 16 elements of the array instead > of all 32. This is fixed by changing the uint32_t values to be uint64_t > instead. > > Fixes: cf4b4708a88a ("ixgbe: improve slow-path perf with

[dpdk-dev] [PATCH v2] ixgbe: fix check for split packets

2015-07-22 Thread Thomas Monjalon
2015-07-22 13:35, Richardson, Bruce: > From: Zoltan Kiss [mailto:zoltan.kiss at linaro.org] > > On 22/07/15 10:59, Bruce Richardson wrote: > > > The vector PMD always works off a fixed 32 burst size. Any change to > > > that will lead to many changes in the code, so I don't believe a loop is > >

[dpdk-dev] [PATCH v2] ixgbe: fix check for split packets

2015-07-22 Thread Zoltan Kiss
On 22/07/15 14:19, Zoltan Kiss wrote: > Btw. vPMD was a bit misleading abbreviation for me, it took me a while > until I realized 'v' stands for 'vector', not 'virtualization' as in > most cases nowadays. > Though that's mostly my fault to not to check the documentation :)

[dpdk-dev] [PATCH v2] ixgbe: fix check for split packets

2015-07-22 Thread Richardson, Bruce
> -Original Message- > From: Zoltan Kiss [mailto:zoltan.kiss at linaro.org] > Sent: Wednesday, July 22, 2015 2:20 PM > To: Richardson, Bruce > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] ixgbe: fix check for split packets > > > > On 22/07/15

[dpdk-dev] [PATCH v2] ixgbe: fix check for split packets

2015-07-22 Thread Bruce Richardson
On Wed, Jul 22, 2015 at 10:47:34AM +0100, Zoltan Kiss wrote: > Hi, > > And what happens if someone changes RTE_IXGBE_VPMD_RX_BURST to something > else than 32? I guess this bug were introduced when someone raised it from > 16 to 32 Actually, no, this bug is purely due to me getting my maths

[dpdk-dev] [PATCH v2] ixgbe: fix check for split packets

2015-07-22 Thread Zoltan Kiss
Hi, And what happens if someone changes RTE_IXGBE_VPMD_RX_BURST to something else than 32? I guess this bug were introduced when someone raised it from 16 to 32 I think you are better off with a for loop which uses this value. Or at least make a comment around RTE_IXGBE_VPMD_RX_BURST that if

[dpdk-dev] [PATCH v2] ixgbe: fix check for split packets

2015-07-22 Thread Bruce Richardson
The check for split packets to be reassembled in the vector ixgbe PMD was incorrectly only checking the first 16 elements of the array instead of all 32. This is fixed by changing the uint32_t values to be uint64_t instead. Fixes: cf4b4708a88a ("ixgbe: improve slow-path perf with vector scattered