Re: [dpdk-dev] [PATCH 5/6] net/mlx5: implement descriptor status API

2017-03-01 Thread Nélio Laranjeiro
Hi Olivier, On Wed, Mar 01, 2017 at 06:19:11PM +0100, Olivier Matz wrote: > Since there is no "descriptor done" flag like on Intel drivers, the > approach is different on mlx5 driver. > - for Tx, we call txq_complete() to free descriptors processed by > the hw, then we check if the descriptor is

[dpdk-dev] [PATCH 5/6] net/mlx5: implement descriptor status API

2017-03-01 Thread Olivier Matz
Since there is no "descriptor done" flag like on Intel drivers, the approach is different on mlx5 driver. - for Tx, we call txq_complete() to free descriptors processed by the hw, then we check if the descriptor is between tail and head - for Rx, we need to browse the cqes, managing compressed on