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 4D7E423B for ; Tue, 21 Nov 2017 14:19:50 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0324220A8A; Tue, 21 Nov 2017 08:19:50 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 21 Nov 2017 08:19:50 -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=GWzvwlu0q8/z7pequ 8JuZEo6Q9EwiEXu/yiOr/S1WKA=; b=stm7z2XnSQ+7L/QVe7jy4EliaYNiyZAa5 qsgBhhPfatKx1LhdXc+kxhGZNu+NosNMna4SCmNPgAse1gDeWPlTAfciDTqu6Qdw OokRUDcEBfOYH7r+SQijYpR9dvQiuuMMycXblwmojdoW89oEKYqjhdTXTsR1nViv L2o90kuJZfgMQeJ1cnRwsKuAsbr7UNgodUgbVlWXzc4T5pNXtvEeIfudHaz7RTli fNzqb/CWqq9Zk4zozTeXK5bwVjd3jYi9G2oC+Ngk+DOSrt0vcP3Wh3jRCzU4kONU 2yPCxAtBeXssp2pWcCZImP4VsgvQkwaoL1ij+BkaKa3g72wInWQ+Q== 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=GWzvwlu0q8/z7pequ8JuZEo6Q9EwiEXu/yiOr/S1WKA=; b=HVsfdSjm b44p7hcdEFFnbL1qbn57/ZxcZe7XnzWfynX/o3m+KC5x7FwUrxcNRMepSScMWLyz GGydMo/dq9AVwAT+qW3Q5C44ngL8i775xEvlct977HNTC97Wp+92W/ewN+U/lTXE NrK2/MkXA5BhOPE7GBL3QkoFzfDLb2KIKcZRrDNqSGk7Bfr4hFtzJPHRVIaghCkw reu8bggYUSqqhbLIfBkmwocoFkwgDc2ys5d0wvC1KfhgBxcZ05/T5RPEhktkkISU 6ClOsc1foStR3p77SO1JCY+7KRKyVEXspn5apsjJaPV5M1wFAoR+UdQNkp7jYlGa SeHZrJrXiGTRtA== X-ME-Sender: Received: from localhost.localdomain (unknown [180.158.62.0]) by mail.messagingengine.com (Postfix) with ESMTPA id 09A60248B4; Tue, 21 Nov 2017 08:19:47 -0500 (EST) From: Yuanhan Liu To: Wei Zhao Cc: dpdk stable Date: Tue, 21 Nov 2017 21:15:50 +0800 Message-Id: <1511270333-31002-8-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/ixgbe: fix MAC VLAN filter fail problem' 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:19:50 -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 bbe4f4f0c3d66718ae7718e2967d50c8304bb6a9 Mon Sep 17 00:00:00 2001 From: Wei Zhao Date: Tue, 8 Aug 2017 14:19:18 +0800 Subject: [PATCH] net/ixgbe: fix MAC VLAN filter fail problem [ upstream commit a2ba854ec616b686ae3e16380a47aea1898e9c74 ] Add a mode type check for MAC VLAN mode, if fdir is in this mode, it do not need to do sanity check for x550. Fixes: dc0c16105d2d ("ixgbe: fix X550 flow director check") Signed-off-by: Wei Zhao --- drivers/net/ixgbe/ixgbe_fdir.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_fdir.c b/drivers/net/ixgbe/ixgbe_fdir.c index eb2d558..7c10cab 100644 --- a/drivers/net/ixgbe/ixgbe_fdir.c +++ b/drivers/net/ixgbe/ixgbe_fdir.c @@ -1276,7 +1276,8 @@ ixgbe_fdir_filter_program(struct rte_eth_dev *dev, rule->ixgbe_fdir.formatted.flow_type == IXGBE_ATR_FLOW_TYPE_IPV6) && (info->mask.src_port_mask != 0 || - info->mask.dst_port_mask != 0)) { + info->mask.dst_port_mask != 0) && + rule->mode != RTE_FDIR_MODE_PERFECT_MAC_VLAN) { PMD_DRV_LOG(ERR, "By this device," " IPv4 is not supported without" " L4 protocol and ports masked!"); -- 2.7.4