From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 271022BAE for ; Fri, 7 Apr 2017 10:14:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1491552893; x=1523088893; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=fNhQ876VJR72JdQb7ir5dxiseCJIVELOVxg4Pd6gcfc=; b=Z1kXINROeOxDcsJToOPNU58TpHCpCE8PgMcwrFE8gN1KYXSS/E0lRUca YDe+0cBB8hysqNDgCD138owDS3SCWA==; Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Apr 2017 01:14:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,164,1488873600"; d="scan'208";a="953273301" Received: from yliu-dev.sh.intel.com ([10.239.67.162]) by orsmga003.jf.intel.com with ESMTP; 07 Apr 2017 01:14:51 -0700 From: Yuanhan Liu To: Wenzhuo Lu Cc: Yuanhan Liu , dpdk stable Date: Fri, 7 Apr 2017 16:11:26 +0800 Message-Id: <1491552724-3034-9-git-send-email-yuanhan.liu@linux.intel.com> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1491552724-3034-1-git-send-email-yuanhan.liu@linux.intel.com> References: <1491552724-3034-1-git-send-email-yuanhan.liu@linux.intel.com> Subject: [dpdk-stable] patch 'net/i40e: fix TC bitmap of VEB' has been queued to LTS release 16.11.2 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: Fri, 07 Apr 2017 08:14:53 -0000 Hi, FYI, your patch has been queued to LTS release 16.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 04/11/17. So please shout if anyone has objections. Thanks. --yliu --- >>From 38eb309997cd774fcf6f1b36a8815da9723bdde7 Mon Sep 17 00:00:00 2001 From: Wenzhuo Lu Date: Thu, 16 Feb 2017 11:29:17 +0800 Subject: [PATCH] net/i40e: fix TC bitmap of VEB [ upstream commit a58d3e3b8e060279453a265557b42b9630c104bb ] When setting up the VEB, default TC bitmap is used. But after setting the default TC bitmap, it's not stored. So when we're trying to get the enabled TCs on the VEB, it's always wrong. Fixes: 5135f3ca49a7 ("i40e: enable DCB in VMDQ VSIs") Signed-off-by: Wenzhuo Lu --- drivers/net/i40e/i40e_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index bf7e5a0..5c7647a 100644 --- a/drivers/net/i40e/i40e_ethdev.c +++ b/drivers/net/i40e/i40e_ethdev.c @@ -4105,6 +4105,7 @@ i40e_veb_setup(struct i40e_pf *pf, struct i40e_vsi *vsi) hw->aq.asq_last_status); goto fail; } + veb->enabled_tc = I40E_DEFAULT_TCMAP; /* get statistics index */ ret = i40e_aq_get_veb_parameters(hw, veb->seid, NULL, NULL, -- 1.9.0