From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id BA9892E7B for ; Mon, 6 Jul 2015 17:09:31 +0200 (CEST) Received: by wguu7 with SMTP id u7so143293290wgu.3 for ; Mon, 06 Jul 2015 08:09:31 -0700 (PDT) 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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=oqv4hP4Q4PSijKSw4qxTA8cR+YTFDES/dgZ3e5h5R9A=; b=dNk9i8LS0XoiYpBFod5Qjsf9Rk/jQLc47IGM0nicpZarI8ZlRkzNHC6MdbeuRBKo4S GzUTeHpolj7m8q3/tPIItNvirfuP4k+UMsqPUrp1DaqKrgzMcsMw7ViDgQ7Ml3YJ7j4i 8UAwhWFDL0Z7SzhIlFCOwjFhT7+50OJJsCRmzQ/uqGdAev8pvvluGJNxHXaQspPvXr7u pqtp9fLzeNprF8v3ShV5P1xrWhY5btN+sEVWo7STmMROmy5YbcnsA/GcYk4Ai8qyKfwq yUCSUnrgwHX41Tk2QVltvmZuuqBWfPjv48qcyDQfAhxcjpWKL9U4GqCsCZ98EJCq2OA0 6UTA== X-Gm-Message-State: ALoCoQn5Xq0ESbHTy+OP/c1AiBGcwCuqSHp0ToiYOpKTMxZuDG4mOaM/D+Z00Nak3d0LZVha0+Dq X-Received: by 10.194.48.108 with SMTP id k12mr95188579wjn.151.1436195371545; Mon, 06 Jul 2015 08:09:31 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id fb3sm47759658wib.21.2015.07.06.08.09.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Jul 2015 08:09:30 -0700 (PDT) From: Thomas Monjalon To: Bruce Richardson Date: Mon, 06 Jul 2015 17:08:21 +0200 Message-ID: <19413206.NgCdftO65V@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1435938006-22254-1-git-send-email-bruce.richardson@intel.com> References: <1435938006-22254-1-git-send-email-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 0/2] Fix crash with vpmd and mbuf debug 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: Mon, 06 Jul 2015 15:09:32 -0000 2015-07-03 16:40, Bruce Richardson: > When mbuf debug support is turned on in the build time config, crashes will > occur when clearing up the RX/TX rings, if the 10G vector PMD is in use. This > error can be reproduced using testpmd. > This patchset makes the setup/teardown code easier to debug by marking "cold" > code paths as such, and then fixes the errors by checking for already-freed > mbufs when clearing the rings. Applied, thanks