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 6FE7B23C for ; Tue, 21 Nov 2017 14:29:53 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1B71E20B4D; Tue, 21 Nov 2017 08:29:53 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 21 Nov 2017 08:29:53 -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=kM8oqrFhKxsr97/SZ TD4+3EaxPOf2yiooANIhwFgN9I=; b=eGSv6Bhgibb5D4uNTZLnrU9U41P+rYGFD 87sSddi111xrirxjzaTyFaSKgTbqAcxNn4Z8SgCSxbHPTG7BobZZR+/8QVe1CMf+ kH/DEF1+L9CnChXpF7kcocSv9oNNJcgeMOASzuwidi6+Wap6BWeXW7j7u+j9W3Xc gxrbOHcjHu7/ZenMgKnWu29Ymn1DPWJQtVw7xw7MtJp0NGVzM4Mq9hIveyhODg/W 0Qmwf7sL00WCsIEH51D8PId54dl4nhHDTDtddF/JvJC/qg1Y0/4GmQnjg6vgR02I RXbCOD6kCoVgVeHAHA+TxLa6bvh5if4jGhR/tgTlrNXri4L1SwyUA== 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=kM8oqrFhKxsr97/SZTD4+3EaxPOf2yiooANIhwFgN9I=; b=NWSlTWx0 iNRlTNBi4ibh7+2+exmlhUSES6CxfRHOESxQmdIEAwcX8eVoLPjReMfW6lYZIKFg CNEeSUVkOySxPUzPlBwirBJYwdABhmUv0So3MH5T0g8PVbiwfMsj+Ox7CA9MtfAf MA6Ghzx9hs15etMVXnyqaA4Jd/xeKBlGlaNgIcs6/WWcH4E5zYnPHlQNisnkaVYl T9PYiCZtEaDP+dFIZJ9yDPbiejkyMIcmJsMJE7tAWE4pRCes3FhsIq6DBUGqxIXX O6bTz7S0SPkU68MTj74Mmy+8fOESodvu9r4vrgbGSC9hOnPtF9kD51xA2vutxg9r FgYiNhqAMJMEWA== X-ME-Sender: Received: from localhost.localdomain (unknown [180.158.62.0]) by mail.messagingengine.com (Postfix) with ESMTPA id 24F0524810; Tue, 21 Nov 2017 08:29:50 -0500 (EST) From: Yuanhan Liu To: Ajit Khaparde Cc: dpdk stable Date: Tue, 21 Nov 2017 21:18:26 +0800 Message-Id: <1511270333-31002-164-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/bnxt: check VLANs from pool map only for VMDq' 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:29:53 -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 ad9f7d9ceadeefecb8dd64471fc3ff0e2387fa3e Mon Sep 17 00:00:00 2001 From: Ajit Khaparde Date: Tue, 24 Oct 2017 16:19:53 -0500 Subject: [PATCH] net/bnxt: check VLANs from pool map only for VMDq [ upstream commit bb102e136816d85901fceeaf2aaf7138cb581e87 ] Fixes: 75cd6fb1d901 ("net/bnxt: fix the association of a MACVLAN per VNIC") Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_hwrm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_hwrm.c b/drivers/net/bnxt/bnxt_hwrm.c index 896405c..27885c0 100644 --- a/drivers/net/bnxt/bnxt_hwrm.c +++ b/drivers/net/bnxt/bnxt_hwrm.c @@ -367,7 +367,8 @@ int bnxt_hwrm_set_filter(struct bnxt *bp, uint16_t j = dst_id - 1; //TODO: Is there a better way to add VLANs to each VNIC in case of VMDQ - if (conf->pool_map[j].pools & (1UL << j)) { + if ((dev_conf->rxmode.mq_mode & ETH_MQ_RX_VMDQ_FLAG) && + conf->pool_map[j].pools & (1UL << j)) { RTE_LOG(DEBUG, PMD, "Add vlan %u to vmdq pool %u\n", conf->pool_map[j].vlan_id, j); -- 2.7.4