From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 69634235 for ; Tue, 21 Nov 2017 14:28:40 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 139AE20CC8; Tue, 21 Nov 2017 08:28:40 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 21 Nov 2017 08:28:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=rBR+DzbusCzKD+mkE Twe8jMrnDN6ltR8xv7v+d63FiM=; b=SUW1vOuFkBcO5etgUhPnV9QCknKfUu0L8 j1hmOg22M919W/pkWgrFUsQLIW0LFr0IblIcvTUuVBdYSCeIbq47ov9Y96Mi/afS KR2NcviWyq5AYLW+s+K92Ty75OsHkSrRESc4awnzrNnNK3K3uJnEn5aQJcruU6u2 6pJTNKaRrq7gsZxnqursXc2QGZTE48tlfqb1MHmUJGYGUjGEV1PnEm2o2nY+Z6/B 83Wx6SxTB6pvGB/WqzpA6DuyMu9vg9kXuqdp5YEnea4wM4xf3Fhw41xN8uPp6THB zRIPVD2BHE1sFHr3WnIVA94Rix8AH3RfRRa235PwXk4umOvlIy7sA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=rBR+DzbusCzKD+mkETwe8jMrnDN6ltR8xv7v+d63FiM=; b=hDvWJkGI hvH+9G0vzdAzJIgizIlFMqccZyJiGhETPyUlh51JOkkYX2hKXEUPvRhjyJFmikCv acJ/o3v04vVxvVo9beQbIHN3L02xL7KiacMdScn7q3KfBMapqLPbXEbUGthsDS4l HCf1KsjreaspIFFHD3JpAbOymRnP6vu9dN5G79Wt0cteLONQZ9+dCeJ6aKns3t58 VjcTnaPwR5sAqFQWQ/ZBUkmYPK9pVg/Y7nIzQVZQy9e5MnsC9W7d0K6c0NxMeA2M TTzgiEI7e8WU3MvO740AaP2mApgw/wWShbsCGYEadEmB3AuZU93SzRdYxaFLlRJf DwrPkS1AQa0fGQ== X-ME-Sender: Received: from localhost.localdomain (unknown [180.158.62.0]) by mail.messagingengine.com (Postfix) with ESMTPA id EEEC4248B4; Tue, 21 Nov 2017 08:28:34 -0500 (EST) From: Yuanhan Liu To: Wenzhuo Lu Cc: Cristian Dumitrescu , dpdk stable Date: Tue, 21 Nov 2017 21:18:07 +0800 Message-Id: <1511270333-31002-145-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511270333-31002-1-git-send-email-yliu@fridaylinux.org> References: <1511270333-31002-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/i40e: fix parent when adding TM node' has been queued to stable release 17.08.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2017 13:28:40 -0000 Hi, FYI, your patch has been queued to stable release 17.08.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/24/17. So please shout if anyone has objections. Thanks. --yliu --- >>From ee7d9bf79f352f15506d6b61f64d58a64daef558 Mon Sep 17 00:00:00 2001 From: Wenzhuo Lu Date: Tue, 17 Oct 2017 13:50:40 +0800 Subject: [PATCH] net/i40e: fix parent when adding TM node [ upstream commit 49b6b461afa1418c6fc53237447e456a5242d95d ] Queue's parent is TC not port. It's wrong to always set the parent to root. Fixes: e0ff4d304ccf ("net/ixgbe: support adding TM node") Signed-off-by: Wenzhuo Lu Acked-by: Cristian Dumitrescu --- drivers/net/i40e/i40e_tm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_tm.c b/drivers/net/i40e/i40e_tm.c index f4d1cb8..49afd51 100644 --- a/drivers/net/i40e/i40e_tm.c +++ b/drivers/net/i40e/i40e_tm.c @@ -621,7 +621,7 @@ i40e_node_add(struct rte_eth_dev *dev, uint32_t node_id, tm_node->priority = priority; tm_node->weight = weight; tm_node->reference_count = 0; - tm_node->parent = pf->tm_conf.root; + tm_node->parent = parent_node; tm_node->shaper_profile = shaper_profile; (void)rte_memcpy(&tm_node->params, params, sizeof(struct rte_tm_node_params)); -- 2.7.4