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 78BF21B1B8 for ; Wed, 24 Jan 2018 16:38:37 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2FC0E22374; Wed, 24 Jan 2018 10:38:37 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:38:37 -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=W4wzDp4ADeev+ZCgK wI811MHlWTR6BoviuOdq6nWMgY=; b=P/of/CXL0oY44PKhp6xkL3LL8WA3iSBa+ Iqa22j9gx0qnWXQ7FaRQv7aq/IshgChOtNt82HKf4RQYn4zJisqMGolvZ2ncqH2C R/d7ffayFQg1QFS6Xo/hZfu7nGmrzghkZ8sJgKGZ3Ec6D6wfAlAdTXyrCAOP8EhM s3UxXmgb87dBvMDa9lK5PQxfoZSG6tOB3m1JczoUx3wldtO3ikuR8X4oI5qkrVsd ezNVn8zb4zudrmJodO1cL6+6uRBulpnIYE9CqvcGawBCfRNOvnxOI91EmmQRHZsA QxmJt+Fj6wu2O085tNrjUkfZrLP/HsRLvhLF7gnrDLsxhWGrYz1Jg== 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=W4wzDp4ADeev+ZCgKwI811MHlWTR6BoviuOdq6nWMgY=; b=D1Z3jE8P ODD6AYZa1HK009y9g03bQnve3/VLgPFtU7bJNJu2vJErwDV+rPEk8eSzQzHO+56H otZdGnCwnDv4am2Wf/wv/snBRLFus721ES8tvLa8ITfa0tChG7sX0eV6Iw5ocm8u 1N45B7yJjyG6VcDt40c8XFzIkKoDOrAIkBqq9hOCzxjh+uS1ofKu7fZWx2b8lQjM gNjsdjW/wTRLw1pNDBQ1j7k2U9Nyl1QcfxUMzdAIxC/80RpgQ/BelbSSO1shImI9 GBWwwL3HU3xsX4D2Dsl59SAdwZjv69Pz+l5Hj1eLqASTNqK5OBGJGtNtvyzt5q43 /qWOy0Ju7Raepw== X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id 157ED7E354; Wed, 24 Jan 2018 10:38:34 -0500 (EST) From: Yuanhan Liu To: Beilei Xing Cc: Qi Zhang , dpdk stable Date: Wed, 24 Jan 2018 23:32:10 +0800 Message-Id: <1516808026-25523-62-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> References: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/i40e: fix FDIR input set conflict' has been queued to LTS release 17.11.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: Wed, 24 Jan 2018 15:38:37 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.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 01/26/18. So please shout if anyone has objections. Thanks. --yliu --- >>From e31777db64d2ac0ba400a14ca3deabe7ee1ced1a Mon Sep 17 00:00:00 2001 From: Beilei Xing Date: Mon, 18 Dec 2017 13:20:57 +0800 Subject: [PATCH] net/i40e: fix FDIR input set conflict [ upstream commit fade5c874397f24770b2464903ddc2c423a034b6 ] The first FDIR rule for some PCTYPE will configure input set and create flow, the following flows must use the same input set, otherwise it will cause input set conflict and fail to create flow. If it creates the first rule after flow flush, input set should be re-configured. Fixes: 42044b69c67d ("net/i40e: support input set selection for FDIR") Signed-off-by: Beilei Xing Acked-by: Qi Zhang --- drivers/net/i40e/i40e_flow.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c index 7e4936e..a9e7a0d 100644 --- a/drivers/net/i40e/i40e_flow.c +++ b/drivers/net/i40e/i40e_flow.c @@ -4406,6 +4406,7 @@ i40e_flow_flush_fdir_filter(struct i40e_pf *pf) struct rte_eth_dev *dev = pf->adapter->eth_dev; struct i40e_fdir_info *fdir_info = &pf->fdir; struct i40e_fdir_filter *fdir_filter; + enum i40e_filter_pctype pctype; struct rte_flow *flow; void *temp; int ret; @@ -4427,6 +4428,10 @@ i40e_flow_flush_fdir_filter(struct i40e_pf *pf) rte_free(flow); } } + + for (pctype = I40E_FILTER_PCTYPE_NONF_IPV4_UDP; + pctype <= I40E_FILTER_PCTYPE_L2_PAYLOAD; pctype++) + pf->fdir.inset_flag[pctype] = 0; } return ret; -- 2.7.4