[dpdk-dev] [PATCH dpdk-dev v2 1/2] eal: introduce rte-init queue for libraries initialization

2020-04-09 Thread xiangxia . m . yue
From: Tonghao Zhang This patch introduces last-init queue, user can register a callback for theirs initialization. Running rte_last_init_run(), the almost resource of DPDK are available, such as memzone, ring. With this way, user don't introduce additional codes in eal layer. [This patch will be

Re: [dpdk-dev] [PATCH dpdk-dev v2 1/2] eal: introduce rte-init queue for libraries initialization

2020-04-09 Thread Jerin Jacob
On Thu, Apr 9, 2020 at 8:33 PM wrote: > > From: Tonghao Zhang > > This patch introduces last-init queue, user can register a > callback for theirs initialization. Running rte_last_init_run(), The above section needs to be rewritten wrt v2 changes. > the almost resource of DPDK are available, su

Re: [dpdk-dev] [PATCH dpdk-dev v2 1/2] eal: introduce rte-init queue for libraries initialization

2020-04-10 Thread Jerin Jacob
On Fri, Apr 10, 2020 at 11:48 AM Jerin Jacob wrote: > Three more items are missing in this patch 1) Unit test case for new API 2) Make the new API __rte_experimal 3) Update the .map file > On Thu, Apr 9, 2020 at 8:33 PM wrote: > > > > From: Tonghao Zhang > > > > This patch introduces last-in

Re: [dpdk-dev] [PATCH dpdk-dev v2 1/2] eal: introduce rte-init queue for libraries initialization

2020-04-11 Thread Tonghao Zhang
On Fri, Apr 10, 2020 at 9:11 PM Jerin Jacob wrote: > > On Fri, Apr 10, 2020 at 11:48 AM Jerin Jacob wrote: > > > > Three more items are missing in this patch > > 1) Unit test case for new API > 2) Make the new API __rte_experimal Hi Jerin This API will be invoked in mempool, if use that prefix, t

Re: [dpdk-dev] [PATCH dpdk-dev v2 1/2] eal: introduce rte-init queue for libraries initialization

2020-04-11 Thread Tonghao Zhang
On Sun, Apr 12, 2020 at 11:20 AM Tonghao Zhang wrote: > > On Fri, Apr 10, 2020 at 9:11 PM Jerin Jacob wrote: > > > > On Fri, Apr 10, 2020 at 11:48 AM Jerin Jacob wrote: > > > > > > > Three more items are missing in this patch Can I add "Co-authored-by" for you ? > > 1) Unit test case for new AP

Re: [dpdk-dev] [PATCH dpdk-dev v2 1/2] eal: introduce rte-init queue for libraries initialization

2020-04-13 Thread Jerin Jacob
On Sun, Apr 12, 2020 at 9:03 AM Tonghao Zhang wrote: > > On Sun, Apr 12, 2020 at 11:20 AM Tonghao Zhang > wrote: > > > > On Fri, Apr 10, 2020 at 9:11 PM Jerin Jacob wrote: > > > > > > On Fri, Apr 10, 2020 at 11:48 AM Jerin Jacob > > > wrote: > > > > > > > > > > Three more items are missing in