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

2020-03-04 Thread Tonghao Zhang
On Wed, Mar 4, 2020 at 11:14 PM Jerin Jacob wrote: > > On Wed, Mar 4, 2020 at 8:17 PM Tonghao Zhang wrote: > > > > On Wed, Mar 4, 2020 at 9:33 PM Jerin Jacob wrote: > > > > > > On Wed, Mar 4, 2020 at 6:48 PM Tonghao Zhang > > > wrote: > > > > > > > > On Mon, Mar 2, 2020 at 9:45 PM Jerin Jacob

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

2020-03-04 Thread Jerin Jacob
On Wed, Mar 4, 2020 at 8:17 PM Tonghao Zhang wrote: > > On Wed, Mar 4, 2020 at 9:33 PM Jerin Jacob wrote: > > > > On Wed, Mar 4, 2020 at 6:48 PM Tonghao Zhang > > wrote: > > > > > > On Mon, Mar 2, 2020 at 9:45 PM Jerin Jacob wrote: > > > > > > > > On Mon, Mar 2, 2020 at 7:27 AM wrote: > > > >

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

2020-03-04 Thread Tonghao Zhang
On Wed, Mar 4, 2020 at 9:33 PM Jerin Jacob wrote: > > On Wed, Mar 4, 2020 at 6:48 PM Tonghao Zhang wrote: > > > > On Mon, Mar 2, 2020 at 9:45 PM Jerin Jacob wrote: > > > > > > On Mon, Mar 2, 2020 at 7:27 AM wrote: > > > > > > > > From: Tonghao Zhang > > > > > > > > The order of mempool initiat

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

2020-03-04 Thread Jerin Jacob
On Wed, Mar 4, 2020 at 6:48 PM Tonghao Zhang wrote: > > On Mon, Mar 2, 2020 at 9:45 PM Jerin Jacob wrote: > > > > On Mon, Mar 2, 2020 at 7:27 AM wrote: > > > > > > From: Tonghao Zhang > > > > > > The order of mempool initiation affects mempool index in the > > > rte_mempool_ops_table. For examp

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

2020-03-04 Thread Tonghao Zhang
On Mon, Mar 2, 2020 at 9:45 PM Jerin Jacob wrote: > > On Mon, Mar 2, 2020 at 7:27 AM 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_m

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

2020-03-02 Thread Jerin Jacob
On Mon, Mar 2, 2020 at 7:27 AM 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 "bucket" mempool will be registered firstly,

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

2020-03-01 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"