From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f48.google.com (mail-pg0-f48.google.com [74.125.83.48]) by dpdk.org (Postfix) with ESMTP id 0437A7D72 for ; Mon, 21 Aug 2017 11:33:55 +0200 (CEST) Received: by mail-pg0-f48.google.com with SMTP id m133so14695955pga.5 for ; Mon, 21 Aug 2017 02:33:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=VWhiMI0LdXsdrq5vUfJTLkDixvNeAOxG4hD16AsrZHM=; b=q36UWcn2Z3o0cvu5L2z25HNTQMjrVTkKgPfEky4j0xo0PwviEmwXTjEKzvwG7yMtt/ XMi3mkGFtqCqmBzhkNLJjO7uZLkypb1SSLCz6KquEMB1nkYxnEEn0mbP4DZZ1nqsFFTP Z/XhgoO1r8iBpR+Qhogvp6/TBxN+6aIF9AvV6C2JAG5yR3ooX3+RNgeoIOJ7OelBcc4Q 1HxeFqxA1yhPYgkYLodpfemGXgAFDULV1ilA5+lBnFxfv0QMjHX4H5dsv7B57EkUHFER v1q2saxw7WbloREIleGjxi2KsIDEwkm2e7Kme1IkWDMPdN2gkUAvw8dzi2tR9VrYuicW UaJw== 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=VWhiMI0LdXsdrq5vUfJTLkDixvNeAOxG4hD16AsrZHM=; b=amB91sOmN0QqH7iSuhTyNig6hvyZZIWreuB5Yiym9gsBr+OLq0nTlgxTS9v1F4MQAL F3pDD7PZcVJfxXbngfrhOGF/UYbgYOx2+3yrQ51ROadplfZp0o6TPYFyXoXJPThTcrui qwJedzi1TQqSwEY49Vg+TLEcaK3Mo3GPh1MbnvFxh2+ZTHZnjvDF1fI619ulU2ouSp3/ CBNhlh4srvrdbzswoR0vdiWERlODs29U0P9CZ1T606ef5PZcBzs9whJCVgu5dxaWvKG+ aVHaGSLlxx0kIOqGIzG1xBOp4Yem9qTCtlLkmNhtBHVPL9+dAJ96hpXNHgJKwE0NjMjE iXoQ== X-Gm-Message-State: AHYfb5hYSvmiuuo6mqRXrxpJSr+vxpln6Ebi94lLGbfiPyIJdCwlg8KT MEHvkuWmus99mmgh X-Received: by 10.84.241.197 with SMTP id t5mr19108217plm.473.1503308034351; Mon, 21 Aug 2017 02:33:54 -0700 (PDT) Received: from localhost.localdomain ([45.63.61.64]) by smtp.gmail.com with ESMTPSA id 69sm23355087pfh.186.2017.08.21.02.33.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 21 Aug 2017 02:33:53 -0700 (PDT) From: Yuanhan Liu To: Jingjing Wu Cc: dpdk stable , Yuanhan Liu Date: Mon, 21 Aug 2017 17:30:24 +0800 Message-Id: <1503307878-16728-10-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1503307878-16728-1-git-send-email-yliu@fridaylinux.org> References: <1503307878-16728-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/i40e: fix LSC interrupt' has been queued to stable release 17.05.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: Mon, 21 Aug 2017 09:33:55 -0000 Hi, FYI, your patch has been queued to stable release 17.05.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 08/24/17. So please shout if anyone has objections. Thanks. --yliu --- >>From 310da7957ccfd856ee899c969edfe41fe880d491 Mon Sep 17 00:00:00 2001 From: Jingjing Wu Date: Thu, 13 Jul 2017 17:43:22 +0800 Subject: [PATCH] net/i40e: fix LSC interrupt [ upstream commit d58244b9cf5460d0f00c3e0ecdf7b062f07f447b ] If LSC flag is changed to off at last device start, the enable flag is not cleared in HW. This patch fixes it. Fixes: f4668a33efe5 ("net/i40e: fix link status change interrupt") Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index a51620c..0c35fa7 100644 --- a/drivers/net/i40e/i40e_ethdev.c +++ b/drivers/net/i40e/i40e_ethdev.c @@ -2008,7 +2008,7 @@ i40e_dev_start(struct rte_eth_dev *dev) if (dev->data->dev_conf.intr_conf.lsc != 0) PMD_INIT_LOG(INFO, "lsc won't enable because of no intr multiplex"); - } else if (dev->data->dev_conf.intr_conf.lsc != 0) { + } else { ret = i40e_aq_set_phy_int_mask(hw, ~(I40E_AQ_EVENT_LINK_UPDOWN | I40E_AQ_EVENT_MODULE_QUAL_FAIL | @@ -2016,7 +2016,7 @@ i40e_dev_start(struct rte_eth_dev *dev) if (ret != I40E_SUCCESS) PMD_DRV_LOG(WARNING, "Fail to set phy mask"); - /* Call get_link_info aq commond to enable LSE */ + /* Call get_link_info aq commond to enable/disable LSE */ i40e_dev_link_update(dev, 0); } -- 2.7.4