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

2019-03-26 Thread Shahaf Shuler
Monday, March 25, 2019 9:16 PM, Yongseok Koh: > Subject: [dpdk-dev] [PATCH v2 3/4] net/mlx5: rework PMD global data init > > There's more need to have PMD global data structure. This should be > initialized once per a process regardless of how many PMD instances are > probed.

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

2019-03-25 Thread Yongseok Koh
There's more need to have PMD global data structure. This 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. Currently, such global data and its initi