Re: [dpdk-dev] [PATCH v2 4/4] net/mlx5: sync stop/start of datapath with secondary process

2019-03-26 Thread Shahaf Shuler
Monday, March 25, 2019 9:16 PM, Yongseok Koh: > Subject: [dpdk-dev] [PATCH v2 4/4] net/mlx5: sync stop/start of datapath > with secondary process > > Rx/Tx burst function pointers are stored in the rte_eth_dev structure, which > is local to a process. Even though primary proce

[dpdk-dev] [PATCH v2 4/4] net/mlx5: sync stop/start of datapath with secondary process

2019-03-25 Thread Yongseok Koh
Rx/Tx burst function pointers are stored in the rte_eth_dev structure, which is local to a process. Even though primary process replaces the function pointers, secondary will not run the new ones. With rte_mp APIs, primary can easily broadcast a request to stop/start the datapath of secondary proce