Re: [dpdk-dev] [PATCH v2 4/8] net/mlx4: optimize Tx multi-segment case

2017-12-06 Thread Adrien Mazarguil
On Wed, Dec 06, 2017 at 02:48:09PM +, Matan Azrad wrote: > mlx4 Tx block can handle up to 4 data segments or control segment + up > to 3 data segments. The first data segment in each not first Tx block > must validate Tx queue wraparound and must use IO memory barrier before > writing the byte

[dpdk-dev] [PATCH v2 4/8] net/mlx4: optimize Tx multi-segment case

2017-12-06 Thread Matan Azrad
mlx4 Tx block can handle up to 4 data segments or control segment + up to 3 data segments. The first data segment in each not first Tx block must validate Tx queue wraparound and must use IO memory barrier before writing the byte count. The previous multi-segment code used "for" loop to iterate ov