[dpdk-dev] [PATCH] lib: fix write unlock during ring creation

Pattan, Reshma reshma.pattan at intel.com
Tue Nov 13 17:58:11 CET 2018



> -----Original Message-----
> From: Chaitanya Babu, TalluriX
> Sent: Tuesday, November 13, 2018 12:55 PM
> To: dev at dpdk.org
> Cc: Marohn, Byron <byron.marohn at intel.com>; Pattan, Reshma
> <reshma.pattan at intel.com>; De Lara Guarch, Pablo
> <pablo.de.lara.guarch at intel.com>; Chaitanya Babu, TalluriX
> <tallurix.chaitanya.babu at intel.com>; stable at dpdk.org
> Subject: [PATCH] lib: fix write unlock during ring creation

Heading should have lib/efd:
> 
> In rte_efd_create() write lock has already been unlocked before ring creation
> itself.
> So second unlock after the ring creation has been removed and added freeing of
> tail queue entry and efd table.

Changes do not have free of  tailq entry, so remove the mention of it from commit message.

> -	/* Create ring (Dummy slot index is not enqueued) */
> +	/*  Create ring (Dummy slot index is not enqueued) */

Undo this change. Unrelated.

Other than these looks ok.

Acked-by: Reshma Pattan <reshma.pattan at intel.com>

Thanks,
Reshma


More information about the dev mailing list