Re: [dpdk-dev] [PATCH 3/4] net/mlx5: rework PMD global data init

2019-03-18 Thread Shahaf Shuler
Monday, March 18, 2019 11:21 PM, Yongseok Koh: > Subject: Re: [PATCH 3/4] net/mlx5: rework PMD global data init > > On Thu, Mar 14, 2019 at 05:36:28AM -0700, Shahaf Shuler wrote: > > Hi Koh, > > > > Thursday, March 7, 2019 9:33 AM, Yongseok Koh: > > > Subject: [PATCH 3/4] net/mlx5: rework PMD glob

Re: [dpdk-dev] [PATCH 3/4] net/mlx5: rework PMD global data init

2019-03-18 Thread Yongseok Koh
On Thu, Mar 14, 2019 at 05:36:28AM -0700, Shahaf Shuler wrote: > Hi Koh, > > Thursday, March 7, 2019 9:33 AM, Yongseok Koh: > > Subject: [PATCH 3/4] net/mlx5: rework PMD global data init > > > > There's more need to have PMD global data structure. It should be > > initialized > > once per a proc

Re: [dpdk-dev] [PATCH 3/4] net/mlx5: rework PMD global data init

2019-03-14 Thread Shahaf Shuler
Hi Koh, Thursday, March 7, 2019 9:33 AM, Yongseok Koh: > Subject: [PATCH 3/4] net/mlx5: rework PMD global data init > > There's more need to have PMD global data structure. It should be initialized > once per a process regardless of how many PMD instances are probed. > mlx5_init_once() is called

[dpdk-dev] [PATCH 3/4] net/mlx5: rework PMD global data init

2019-03-06 Thread Yongseok Koh
There's more need to have PMD global data structure. It should be initialized once per a process regardless of how many PMD instances are probed. mlx5_init_once() is called during probing and make sure all the init functions are called once per a process. The existing shared memory gets more extens