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 7A6C523A for ; Tue, 21 Nov 2017 14:23:09 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 3025020C91; Tue, 21 Nov 2017 08:23:09 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 21 Nov 2017 08:23:09 -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=h+BF0sTTbsVyHcjIf 0/JvCDYXij04mEgEEQcuRL3LaA=; b=qO43GO7DmiSOKXJ1uvdQE/Tx6+Rbcy3ad 7IcxaB2hXF6Sql1TNaKUxYVbSDsdu3a0ks92ZPNJ0pVtrjgdRgwjvHUf7CCcsOL5 a7PQpHCSYJhiUkLXpSlqKo+o4CjApwnwqAnqkoXTmh3UoeKSPLTHbL4i/W04AGfZ va2PXRbUGaIXvDpAVc/RdQ4Oszq5uKF6xMuWCERdBOkfMyicvEIwS9waeuSZBlgO EjPUZXrn/PoUqBW1MiXo4eujh3nxfdndpjkW2QsHKbgHtAQHQEnoppOAMDUEM8Rf ekMfkceBuAE/hbxpxksEMcXQO6nhqZr8CghohaauVXgbFCuSR9LlQ== 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=h+BF0sTTbsVyHcjIf0/JvCDYXij04mEgEEQcuRL3LaA=; b=OhBAN6kc g9X564fzTHdLETaanGXtZr2dySUp5V6i22X4o9ECDyU540CUgDAYl7Px79mAUW56 wdsfeFdEJzVZYsMtKJpdshmG5N5DE1COU+HwcIkza413ToAocE8h7CSNlGg0qeZN whHGhlPWEYNDIPmM1NZCT3Ra1REv+jcVeM7VWjy4hUNgz27t1MQycb5a86VAOvAM mnZxokeFDDWzUzaDq0BCroX0A/s/W8A2Cy80eiMmDfQE+VtRUhf7VoOde+3c5hwQ n/sbSdk8zNYXzTH2sK1kTPxHawhjmSUeDHtQZn7QxeAkeZnERx5mvCLm9QRq7weO WZ8vMxoQHwUQDg== X-ME-Sender: Received: from localhost.localdomain (unknown [180.158.62.0]) by mail.messagingengine.com (Postfix) with ESMTPA id 8982724810; Tue, 21 Nov 2017 08:23:06 -0500 (EST) From: Yuanhan Liu To: Ajit Khaparde Cc: dpdk stable Date: Tue, 21 Nov 2017 21:16:38 +0800 Message-Id: <1511270333-31002-56-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: use 64-bits of address for VLAN table' 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:23:09 -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 9ab97c94e13533154e063a9a3ec3eaf181d313f5 Mon Sep 17 00:00:00 2001 From: Ajit Khaparde Date: Thu, 28 Sep 2017 16:43:23 -0500 Subject: [PATCH] net/bnxt: use 64-bits of address for VLAN table [ upstream commit 044bf6e93c26df53c40711eaaf2482409efdbb76 ] We are wrongly using just 16 bits of address from rte_mem_virt2phy while filling the vlan table address instead of 64-bytes. Most likely a copy-paste error. Fixes: 36735a932ca7 ("net/bnxt: support set VF QOS and MAC anti spoof") Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_hwrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_hwrm.c b/drivers/net/bnxt/bnxt_hwrm.c index fe82f09..ceb4ab2 100644 --- a/drivers/net/bnxt/bnxt_hwrm.c +++ b/drivers/net/bnxt/bnxt_hwrm.c @@ -276,7 +276,7 @@ int bnxt_hwrm_cfa_l2_set_rx_mask(struct bnxt *bp, if (vlan_table) { if (!(mask & HWRM_CFA_L2_SET_RX_MASK_INPUT_MASK_VLAN_NONVLAN)) mask |= HWRM_CFA_L2_SET_RX_MASK_INPUT_MASK_VLANONLY; - req.vlan_tag_tbl_addr = rte_cpu_to_le_16( + req.vlan_tag_tbl_addr = rte_cpu_to_le_64( rte_mem_virt2phy(vlan_table)); req.num_vlan_tags = rte_cpu_to_le_32((uint32_t)vlan_count); } -- 2.7.4