[dpdk-dev] [PATCH v3 2/4] net/mlx5: remove redundant queue index

Shahaf Shuler shahafs at mellanox.com
Mon Apr 8 07:24:26 CEST 2019


Friday, April 5, 2019 4:34 AM, Yongseok Koh:
> Subject: [dpdk-dev] [PATCH v3 2/4] net/mlx5: remove redundant queue
> index
> 
> Queue index is redundantly stored for both Rx and Tx structures.
> E.g. txq_ctrl->idx and txq->stats.idx. Both are consolidated to single storage -
> rxq->idx and txq->idx.
> 
> Also, rxq and txq are moved to the beginning of its control structure (rxq_ctrl
> and txq_ctrl) for cacheline alignment.
> 
> Signed-off-by: Yongseok Koh <yskoh at mellanox.com>

Acked-by: Shahaf Shuler <shahafs at mellanox.com>


More information about the dev mailing list