Re: [dpdk-dev] [PATCH dpdk-dev v2] mempool: sort the rte_mempool_ops by name

2020-03-05 Thread Olivier Matz
Hi, On Thu, Mar 05, 2020 at 04:20:40PM +0800, xiangxia.m@gmail.com wrote: > From: Tonghao Zhang > > The order of mempool initiation affects mempool index in the > rte_mempool_ops_table. For example, when building APPs with: > > $ gcc -lrte_mempool_bucket -lrte_mempool_ring ... > > The "buc

[dpdk-dev] [PATCH dpdk-dev v2] mempool: sort the rte_mempool_ops by name

2020-03-05 Thread xiangxia . m . yue
From: Tonghao Zhang The order of mempool initiation affects mempool index in the rte_mempool_ops_table. For example, when building APPs with: $ gcc -lrte_mempool_bucket -lrte_mempool_ring ... The "bucket" mempool will be registered firstly, and its index in table is 0 while the index of "ring"