From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46])
 by dpdk.org (Postfix) with ESMTP id 7DC7E8E81
 for <dev@dpdk.org>; Tue, 24 Nov 2015 23:28:28 +0100 (CET)
Received: by wmww144 with SMTP id w144so157822178wmw.1
 for <dev@dpdk.org>; Tue, 24 Nov 2015 14:28:28 -0800 (PST)
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:organization:user-agent
 :in-reply-to:references:mime-version:content-transfer-encoding
 :content-type; bh=NAVKqpk9tTE9BZi+ccauPet5rN/1D1Cv68FTnbYqA8k=;
 b=DPmv7KH8RdqRF8LH8TXBVKjdRNI1pzH38lXhQ+xBKzm4MeyRZmk8q+W0r+sPVD5bcD
 Oa7PC9ZTtvvMsOsRCx2x0k/xBOgrW5KvHUk+jCYFIS1gWVw3dQO/u92CkVRcemfUSfXC
 0vjIRaxmQtgepzzw1cVTZw6aJy9MtfWOwYwU+FUQ+IQiOM/XtjjNPUldCXuwxSErgmGL
 Vuog/TBY/dCnexxcYovXULldD7UPtWXqbUHs6hnFKYPZjbeaalQ8OapdAs11uHvw4gjO
 TL5EXz1yyYj/30CV7PEp5kKzyHaRWgZiXamPmVbLfxnk/cqrLzjEi8fBY5Ai5SwdXNi3
 Parg==
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=NAVKqpk9tTE9BZi+ccauPet5rN/1D1Cv68FTnbYqA8k=;
 b=IN/sayZt75E/8cNkGQfTBSpACbNhvQWkmgy4SvMtNbqNG0T0fC2/RzixDJcNQyjgte
 ufcvP+DYqHjIrPvrVk3DpkFcyGF5j4WtNB5d9SYWGCB96BBdlNATz7AcxJ+2EpZ+jrbt
 mgA/FueTG5f+FEx0KaUwF6a0qDwiESoGrMLmCheaOq2s3+zj+1KmvEttqIsH3lcgDjvr
 nTpxKjZuADgyNzpaiVjBg5Zo+VpOJKBhI3u6B1yGJ5Jz+eUnrywvnxdFQtJRhc7uTlSU
 StYq54sBTM6aSovAsVtHFHIemOPQXbj5nyILGJechzF8OM27O2IV+RD3eevNtgpt4WwS
 3zSw==
X-Gm-Message-State: ALoCoQmm3IroZLXVVk81GDSvdLnCNDK75f4xLySd80b1W+y3aIdajBzs/bNVAhQC9bJ7dQRekmkB
X-Received: by 10.28.225.84 with SMTP id y81mr756838wmg.87.1448404108375;
 Tue, 24 Nov 2015 14:28:28 -0800 (PST)
Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136])
 by smtp.gmail.com with ESMTPSA id t2sm4722319wmt.1.2015.11.24.14.28.27
 (version=TLSv1/SSLv3 cipher=OTHER);
 Tue, 24 Nov 2015 14:28:27 -0800 (PST)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Simon Kagstrom <simon.kagstrom@netinsight.net>
Date: Tue, 24 Nov 2015 23:27:09 +0100
Message-ID: <4124667.VOLfeeqxbI@xps13>
Organization: 6WIND
User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; )
In-Reply-To: <20151117091448.5419c28f@miho>
References: <20151117091448.5419c28f@miho>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v2] rte_sched: release enqueued mbufs on
	rte_sched_port_free()
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Nov 2015 22:28:28 -0000

2015-11-17 09:14, Simon Kagstrom:
> Otherwise mbufs will leak when the port is destroyed. The
> rte_sched_port_qbase() and rte_sched_port_qsize() functions are used
> in free now, so move them up.
> 
> Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>

Applied, thanks