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 7E2481B1C1 for ; Wed, 24 Jan 2018 16:39:22 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 34DDF226A5; Wed, 24 Jan 2018 10:39:22 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:39:22 -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=95BX71drhqr4T7G8r xBQNEa9QKqf0MnkcaJPMtRyhIQ=; b=hAzB+f0/c2E+8mgnLx/H8W5B0eUP90hWN xgGQP6AgpoxC9lJ6vmOARpL5oatf+IvEcoSQaazrajKHcGn2GVHBDMdgm47202zY O2QCVhuZBEaqgjWJl0XBZVoS8sGVwxLyE2jzZAIBF9Ei8fM7LoUPOekGMVY93F9l jmCAWoz/KeWIzGWMwCQBcnWDRfxszzQ4UcD0+4sPumcJAGwGW+cx2e9sxgax1sfx bkwtKZLM/aGzyIIen4j1MQWmPK+uP94CWoh34Y4rgmsfpzJTEE6VC66E/OG80RXk 2mTZszQUnV7SQmo0ZID5HqTyKPrwPvJs90u07ERh/5ddeXrLfvpTA== 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=95BX71drhqr4T7G8rxBQNEa9QKqf0MnkcaJPMtRyhIQ=; b=TEE5/7c4 4DOxr20xIbc0tr2vM4pepIhc5IIl2r7LscgCFuJH0cF8WUdP774hRb5X19+U/0VQ jGuVQLskyCitLWvPB58KV/eP0WTxLL2z6AdQTtc+Cr2R6ByRyWZLih1C/JUBg+uV HrHZWg22LQNYTpQ53S67+r7elkUeI61EGT7xz+BWxX8F17VdaIomiBqWgnx1QQFb kDAOv3uga6CFos9KpYknhC1jvVrtlvj7epAiGlwcmKZSIKaPLxms5uddA3Jiutbc 66ARYEVCAHBxdXUTxKTn2qYJhXd0795+NbXy8wxxRdRxvNdzBGbVqLA1HFZdrn0m EZjQjlUZ+OlpwQ== X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id F15E87E354; Wed, 24 Jan 2018 10:39:19 -0500 (EST) From: Yuanhan Liu To: Beilei Xing Cc: Qi Zhang , dpdk stable Date: Wed, 24 Jan 2018 23:32:25 +0800 Message-Id: <1516808026-25523-77-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 rule confiliction issue' 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:39:22 -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 3e3d216cfe594d3504d2d14e91de7f694194f00e Mon Sep 17 00:00:00 2001 From: Beilei Xing Date: Thu, 30 Nov 2017 14:36:08 +0800 Subject: [PATCH] net/i40e: fix FDIR rule confiliction issue [ upstream commit 301c2abeef640cf545d7763c5760d66593640e49 ] Failed to create two FDIR rules with different vlan id for the same PCTYPE. Root cause is that wrong hash key length is used. Fixes: 4149825bbdb9 ("net/i40e: finish integration FDIR with generic flow API") Signed-off-by: Beilei Xing Acked-by: Qi Zhang --- drivers/net/i40e/i40e_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index ffdf7d7..aff8de0 100644 --- a/drivers/net/i40e/i40e_ethdev.c +++ b/drivers/net/i40e/i40e_ethdev.c @@ -1006,7 +1006,7 @@ i40e_init_fdir_filter_list(struct rte_eth_dev *dev) struct rte_hash_parameters fdir_hash_params = { .name = fdir_hash_name, .entries = I40E_MAX_FDIR_FILTER_NUM, - .key_len = sizeof(struct rte_eth_fdir_input), + .key_len = sizeof(struct i40e_fdir_input), .hash_func = rte_hash_crc, .hash_func_init_val = 0, .socket_id = rte_socket_id(), -- 2.7.4