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 2EE58237 for ; Tue, 21 Nov 2017 14:21:35 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id D82C420C94; Tue, 21 Nov 2017 08:21:34 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 21 Nov 2017 08:21:34 -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=N4lspbNs+FSbY/oCZ Cbei3a7rwjkSm7Gb1WXdH0Wk0Q=; b=KahAuXusNZzsn51IMl/vxCteWoWZJOgY3 Rmzh3UTFz0O4yT9eD9ME3VlHj7t197XCd1t4sY96p0FJeGNj9y1uS05XpJCilHQK j/yWECSBbvYE1c6JJEz+R5f+bngUcXguJW3YA2Wl9VfrR0X856+yuuF8SCTF3VDY i2wjNpxKk/FpGxQoGH4110lVIizVejpfZNv/4teVVjfRe5I+wPseIKewDg/94t63 HgxcVUxL2Q9FIokTNn4ePjpIU5xVMOJHnRyKicEqTk8EySqfL4NZq0p6vA7xOFpR DfdsR805CLng925AUFjEBVMIAh3JgP99xop4OIM/h5iMXf5sZLBIA== 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=N4lspbNs+FSbY/oCZCbei3a7rwjkSm7Gb1WXdH0Wk0Q=; b=RFyyAtHG CyIn/2az12aklnT0On7QFppBihuxjIIXawXzu71BemfkB+NS6k86e3/Qx3OzqV65 yHf/aiQUaI43+oESQn5K/3V6AALyepteHjDt5Vx0TACKVbNoVBEPAHOBXbPH0UVA yWQ9R7Gy9IGOhOxsz6yJakFD/9hV10v9GAyQDG68PEulwGKQFRyrMVETWuNc82Sl osFPTqpNaCqnL5nn0t93xT0i+mnT+3my1Cv0Bl4yzWMosDX1mZKoBGNTbGlbC+6R JqiAEbCK9UpQL5kCP/WxTn+txgG+tWK4/NteBFaC+a+BLgDJVuba5Qa8UcFVcj3J NVmfDo8MV5mjJA== X-ME-Sender: Received: from localhost.localdomain (unknown [180.158.62.0]) by mail.messagingengine.com (Postfix) with ESMTPA id A5887247A9; Tue, 21 Nov 2017 08:21:31 -0500 (EST) From: Yuanhan Liu To: David Harton Cc: Beilei Xing , dpdk stable Date: Tue, 21 Nov 2017 21:16:16 +0800 Message-Id: <1511270333-31002-34-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 i40evf MAC filter 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:21:35 -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 193e9157a3599d23be7b4481ba33ac3e8973e48a Mon Sep 17 00:00:00 2001 From: David Harton Date: Tue, 12 Sep 2017 23:21:10 -0400 Subject: [PATCH] net/i40e: fix i40evf MAC filter table [ upstream commit 7a4afbad98eddc88216e7ef5cf152c86e2c09fc2 ] The i40e maintains a single MAC filter table for both unicast and multicast addresses. The i40e_validate_mac_addr function was preventing multicast addresses from being added to the table via i40evf_add_mac_addr. Fixed the issue by adjusting the check in i40evf_add_mac_addr. Fixes: 4861cde46116 ("i40e: new poll mode driver") Fixes: 97ac72aa71a9 ("i40e: support setting VF MAC address") Signed-off-by: David Harton Acked-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev_vf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c index f6bd574..3e242e8 100644 --- a/drivers/net/i40e/i40e_ethdev_vf.c +++ b/drivers/net/i40e/i40e_ethdev_vf.c @@ -888,7 +888,7 @@ i40evf_add_mac_addr(struct rte_eth_dev *dev, int err; struct vf_cmd_info args; - if (i40e_validate_mac_addr(addr->addr_bytes) != I40E_SUCCESS) { + if (is_zero_ether_addr(addr)) { PMD_DRV_LOG(ERR, "Invalid mac:%x:%x:%x:%x:%x:%x", addr->addr_bytes[0], addr->addr_bytes[1], addr->addr_bytes[2], addr->addr_bytes[3], -- 2.7.4