From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id 4DD1F28F3 for ; Wed, 23 May 2018 14:10:23 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id f8-v6so8531854wmc.4 for ; Wed, 23 May 2018 05:10:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=FFR+Y2dKWAtN55rbUWUym6j/Gae/MpR4pVNZozLK20U=; b=ivbtdP9YUQdFYGHrWLQBhfOrPAgKcgY6bIghUbd5T26mUKPByNqqXa4GHF2WuosRHg pKO42o4aVH1fLU4OyA4bBp19bbC4B0+y26slJwNmm87L5qUPkdeuIhqeeDmkioIPMP6y tWQgHBXsDXMt9GN20833Ipy4+L1+kBsREHa++qDTQhCXdKjOdK2ZPpwDHfegz5vf+U0h hnUk0a0qaxAg6z0C4tAmXyMrLsOn3j+k2BvLxYwTbOJGI+jGAPoZDs2M6NN7NCF03EPn lAahdms/xx331ptFHFxtb9YNXHNCGyyC+j7xDgkK+l3+3NZL+DOKh4ayO1oeCioe1DKa utkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=FFR+Y2dKWAtN55rbUWUym6j/Gae/MpR4pVNZozLK20U=; b=MPqM7XjH/e/pSdEokw71oH9KxMSyzyzKsPMTMbScKiYct1jnI6LdKNNo49FnroLy+8 hzykoaWPWkazMwK8SlA5KxN196yoconcRqf/3rN8ZCinlaKQKRZnWFERKhdBeQ8nPgHj 4C7T6bziwugb0nXNVZQsfUOyiw/1OVMOCqDkS++WTHI1sa5Jr/CRL3V2gY+yAnDOC24k Sx/78Qb3muLF/Obey0Rq1EoLACE2dECAkVzXsT4b5mLtkIbNwMDgN+OKxVcnA1niJG9y GnMrEWQLIABK1rWX7tkWSZb/UIpMUW43N9yLSfqkkuybz0pIYjWTdr8Yi8oKZlHkhPJk /07w== X-Gm-Message-State: ALKqPwdJ2fn6cyLBjbqofxNdQcj+lbM5RtRpX9/lcfX/oVvNXtadJKGJ QKj0wBh+e3sAaW1sX0BUBy8= X-Google-Smtp-Source: AB8JxZrrNtWpfqIbBz9DKR6XaykCKQlDXXCSYuvYduOXwGG04BNUT7oWnM1OoC1WsAC1FqnD9BABgw== X-Received: by 2002:a1c:8e47:: with SMTP id q68-v6mr4418874wmd.104.1527077422857; Wed, 23 May 2018 05:10:22 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id b16-v6sm19067788wrm.89.2018.05.23.05.10.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 May 2018 05:10:22 -0700 (PDT) From: luca.boccassi@gmail.com To: Beilei Xing Cc: Qi Zhang , dpdk stable Date: Wed, 23 May 2018 13:09:15 +0100 Message-Id: <20180523121010.8385-4-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180523121010.8385-1-luca.boccassi@gmail.com> References: <20180516101323.2234-2-luca.boccassi@gmail.com> <20180523121010.8385-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/i40e: fix failing to disable FDIR Tx queue' has been queued to stable release 18.02.2 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, 23 May 2018 12:10:23 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/25/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From c56c154c4dd505aac07499c5186c6d4bf67db3e9 Mon Sep 17 00:00:00 2001 From: Beilei Xing Date: Wed, 16 May 2018 00:19:05 +0800 Subject: [PATCH] net/i40e: fix failing to disable FDIR Tx queue [ upstream commit ba2e8c6f29346245c0e1ff23f84fd10e076a9bbc ] If flow director is enabled, FDIR Tx queue can't be disabled when exiting application. Root cause is FDIR Tx queue is not disabled before removing HMC backing store. Fixes: 71d35259ff67 ("i40e: tear down flow director") Signed-off-by: Beilei Xing Acked-by: Qi Zhang --- drivers/net/i40e/i40e_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 4f4456d4a..1ebda8dbd 100644 --- a/drivers/net/i40e/i40e_ethdev.c +++ b/drivers/net/i40e/i40e_ethdev.c @@ -2327,6 +2327,8 @@ i40e_dev_close(struct rte_eth_dev *dev) i40e_pf_disable_irq0(hw); rte_intr_disable(intr_handle); + i40e_fdir_teardown(pf); + /* shutdown and destroy the HMC */ i40e_shutdown_lan_hmc(hw); @@ -2338,7 +2340,6 @@ i40e_dev_close(struct rte_eth_dev *dev) pf->vmdq = NULL; /* release all the existing VSIs and VEBs */ - i40e_fdir_teardown(pf); i40e_vsi_release(pf->main_vsi); /* shutdown the adminq */ -- 2.14.2