From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 394E3558B for ; Fri, 22 Jul 2016 17:58:15 +0200 (CEST) Received: by mail-wm0-f54.google.com with SMTP id o80so72657059wme.1 for ; Fri, 22 Jul 2016 08:58:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=K7lZc2Ru4daalQVjo8VXzD0qfI7Fb6P5Wdsv+F6UlYI=; b=eNQRVi8W2/BgZrR4z7UdKlumQpnJZA0KwTO1IGKjucJZhyUlzgbtB0NcH/HuoR5flN FMMDptES08kUly/adyIF/SkDeNkv6amDicBCFCn4hmHJW4Kud6RELoU8gx+EyVWyB/ex wXLdsyYOLw0jRlxW63ehdAYnejUxTI2zaX86ALLRXEKpEdIaCdig1seO3JKUPQqUzqtE SFj/HlMGX+h8N0/aF6Vs72Z0L4NHyILd/y+uCiI445r0/X1ZAjzazDPSWJXwzQ4HKM8K iC3anWgVvxAEjqyXTScpZBfa2njRiu4YfrT03w5hM58bfQaMBlrGG8tYeQwdUbR6IDld icLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=K7lZc2Ru4daalQVjo8VXzD0qfI7Fb6P5Wdsv+F6UlYI=; b=CeSft0Gz5P3FxJufKQhlYRwzw0zMUUi080v+X6FOX+vMvcXE4r3IxA8cr/iABCtkC4 0OS3yXYLbRKlT+z0+cLF1e0JVnio223feKJeDUTkVyIm8aMpc2R9LQI9+sjLwK24Jm6W ttyanUFRsmhCtfto2d3ocp+vL7louTBnzERwTTgpOzPB7DfWQC/jr5T16ZSMjwJkkyb4 hVxqXSqZCnFRIZZC8XVY4W8VV2+5ilGQhJ/Frc3qW8ZHoWt0EAWrp1m14emxi3Vz74GZ qqGo9rEZ/j0x2tJXaO+GiD6PTOJgf7EAzaePWP2XqoSLIH0nhsHl4L2FpvR9aPNeK6v/ a/Fw== X-Gm-Message-State: AEkoousW1dG4oTnFA1iLx2CVkDSQz9Zolirb3fnmQX0sm3OWCBqyA0iw8p1cKLRZ6yl1CZbf X-Received: by 10.28.72.139 with SMTP id v133mr6071781wma.32.1469203095013; Fri, 22 Jul 2016 08:58:15 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id t188sm13178420wme.19.2016.07.22.08.58.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jul 2016 08:58:14 -0700 (PDT) From: Thomas Monjalon To: Reshma Pattan Cc: dev@dpdk.org, Ferruh Yigit Date: Fri, 22 Jul 2016 17:58:13 +0200 Message-ID: <1693429.JxOeB0lzyH@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <57922B75.6070102@intel.com> References: <1469195044-19018-1-git-send-email-reshma.pattan@intel.com> <57922B75.6070102@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] app/pdump: cleanup rte rings upon failures X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2016 15:58:15 -0000 2016-07-22 15:19, Ferruh Yigit: > On 7/22/2016 2:44 PM, Reshma Pattan wrote: > > Function create_mp_ring_vdev() for failure cases exits without > > freeing the created rte rings, because of this pdump tool cannot be > > rerun successfully. Added rte ring cleanup logic upon failures. > > > > Fixes: caa7028276b8 ("app/pdump: add tool for packet capturing") > > > > Signed-off-by: Reshma Pattan > > Acked-by: Ferruh Yigit Applied, thanks