Re: [dpdk-dev] [PATCH v2 07/30] net/mlx5: fix reta update can segfault

2017-10-05 Thread Yongseok Koh
> On Oct 5, 2017, at 5:49 AM, Nelio Laranjeiro > wrote: > > Reta update needs to stop/start the port but stopping the port does not > disable the polling functions which may end in a segfault if a core is > polling the queue while the control thread is modifying it. > > This patch changes the

[dpdk-dev] [PATCH v2 07/30] net/mlx5: fix reta update can segfault

2017-10-05 Thread Nelio Laranjeiro
Reta update needs to stop/start the port but stopping the port does not disable the polling functions which may end in a segfault if a core is polling the queue while the control thread is modifying it. This patch changes the sequences to an order where such situation cannot happen. Fixes: aa1333