From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yongseok Koh Subject: Re: [PATCH v2 07/30] net/mlx5: fix reta update can segfault Date: Fri, 6 Oct 2017 00:51:12 +0000 Message-ID: <415F0EB4-CBF3-4E4E-83F0-E21CD9447B57@mellanox.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" , Adrien Mazarguil , "ferruh.yigit@intel.com" , "stable@dpdk.org" To: =?iso-8859-1?Q?N=E9lio_Laranjeiro?= Return-path: In-Reply-To: Content-Language: en-US Content-ID: <69BBFB228E1ABB4DB102CE6D6EC29085@eurprd05.prod.outlook.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > On Oct 5, 2017, at 5:49 AM, Nelio Laranjeiro = wrote: >=20 > 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. >=20 > This patch changes the sequences to an order where such situation cannot > happen. >=20 > Fixes: aa13338faf5e ("net/mlx5: rebuild flows on updating RETA") > Cc: yskoh@mellanox.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Nelio Laranjeiro > --- Acked-by: Yongseok Koh =20 Thanks=