From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 28A0EA0032 for ; Fri, 18 Feb 2022 13:42:08 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 239F040141; Fri, 18 Feb 2022 13:42:08 +0100 (CET) Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by mails.dpdk.org (Postfix) with ESMTP id E432940E2D for ; Fri, 18 Feb 2022 13:42:05 +0100 (CET) Received: by mail-wr1-f43.google.com with SMTP id f3so14235215wrh.7 for ; Fri, 18 Feb 2022 04:42:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MnDuj75Yp6HR/I6NgtUetLes9mEm6d4oJ9nHXScZCzo=; b=a6Z2YxPsxZeVlnp5nZAGZT+eEp0vVr99kHRBzeq79N5NznRjPBSXXNOxNUAHX15BIi CWCOMs1jMch4kt8EhIhoSz0Duv2NAAJ0N20gSh+HwWRu6NMgwDdvXmScyMOkUYxnzsl+ EarQAtGUcJ6RUrpY4sDOf+U6W57p0x/M5c7FMPBPQndyOAJt2rWVnSW/pJ5SKrwUej9Z iMR+fQBmvhpOU8tl+18AkX/epxzOQfI7VU82XNM/4/UzS1UwD03ANZdqlYfAzfdWe6L1 ljeaEWgm7ZbqHefeDK/Q3IMRKIU9cBWo9sEACppwOygmw89oKcvBRZ+LIhgRq+TVopp4 sMDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MnDuj75Yp6HR/I6NgtUetLes9mEm6d4oJ9nHXScZCzo=; b=Kmu7xBFkuAfjk+cEFpQ+a+861vVt4ILeeq580aa6AoipvUT9cFscBRsZAMYnSc5vsL v00ze7ilqEbN4tn4oUfow+yHDoX2ieEtDOD9mhXlVy9Ufnxy8JSWFeFkc7RoSGF+Q/Ik KYWdMkoePyXw7ugDjLlGI4JRgsjAzfNy9MRczDOhp52oVM65IpU/CT+X+CwDZ6cPPlh7 NeGxAAiQm8qc7YvbSmyS22eC2JDa9MKFxHruOCN3Sj+YstF6LhIearKUl826e4CPkxcp qfBeAlaiG2GdDiYbKmKH35qYNjWD3Yd/v5vOY6FWehnjr1xQKDpzC77Ly4Vmcp0JYkv7 C6XQ== X-Gm-Message-State: AOAM530P0BigLC/ChHrZcPf183T2icgdaBpkBkuO+FNdu+tTgXGCji2p lJ3WCIS5N2BqED3B13vWGaU= X-Google-Smtp-Source: ABdhPJw3wfoX01BaoRG39pmfa0BnAuZk9KH//Z0eRyjIJobRMqRLqMj8h22AistSDgt5L3K7ygdxtA== X-Received: by 2002:a5d:52ca:0:b0:1e5:8cbc:7f2e with SMTP id r10-20020a5d52ca000000b001e58cbc7f2emr5998537wrv.309.1645188125688; Fri, 18 Feb 2022 04:42:05 -0800 (PST) Received: from localhost ([2a01:4b00:f41a:3600:360b:9754:2e3a:c344]) by smtp.gmail.com with ESMTPSA id r11sm4099774wmb.19.2022.02.18.04.42.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Feb 2022 04:42:05 -0800 (PST) From: luca.boccassi@gmail.com To: Yunjian Wang Cc: Qi Zhang , dpdk stable Subject: patch 'net/ice: fix link up when starting device' has been queued to stable release 20.11.5 Date: Fri, 18 Feb 2022 12:38:19 +0000 Message-Id: <20220218123931.1749595-50-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220218123931.1749595-1-luca.boccassi@gmail.com> References: <20220218123931.1749595-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 20.11.5 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/20/22. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/ab9cde2e7239186fa75441db1881d6198d977042 Thanks. Luca Boccassi --- >From ab9cde2e7239186fa75441db1881d6198d977042 Mon Sep 17 00:00:00 2001 From: Yunjian Wang Date: Tue, 25 Jan 2022 09:39:07 +0800 Subject: [PATCH] net/ice: fix link up when starting device [ upstream commit 6c76b76dc64183eb2f24a52b90d4ff9feb4872f4 ] Currently, there is a possibility that the link status is not correct after set link up, the device ID is 159b. It would be fixed by calling ice_link_update() while the parameter 'wait_to_complete' is true. It's reasonable to wait for complete right after set link up as it is not in an link status change interrupt handling scenario. Fixes: cf911d90e366 ("net/ice: support link update") Signed-off-by: Yunjian Wang Acked-by: Qi Zhang --- drivers/net/ice/ice_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c index 2c63877ad6..6fb623de70 100644 --- a/drivers/net/ice/ice_ethdev.c +++ b/drivers/net/ice/ice_ethdev.c @@ -3569,7 +3569,7 @@ ice_dev_start(struct rte_eth_dev *dev) ice_dev_set_link_up(dev); /* Call get_link_info aq command to enable/disable LSE */ - ice_link_update(dev, 0); + ice_link_update(dev, 1); pf->adapter_stopped = false; -- 2.30.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-02-18 12:37:39.974156646 +0000 +++ 0050-net-ice-fix-link-up-when-starting-device.patch 2022-02-18 12:37:37.670791473 +0000 @@ -1 +1 @@ -From 6c76b76dc64183eb2f24a52b90d4ff9feb4872f4 Mon Sep 17 00:00:00 2001 +From ab9cde2e7239186fa75441db1881d6198d977042 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 6c76b76dc64183eb2f24a52b90d4ff9feb4872f4 ] + @@ -13 +14,0 @@ -Cc: stable@dpdk.org @@ -22 +23 @@ -index 6d85e421cf..d01acb8797 100644 +index 2c63877ad6..6fb623de70 100644 @@ -25 +26 @@ -@@ -3610,7 +3610,7 @@ ice_dev_start(struct rte_eth_dev *dev) +@@ -3569,7 +3569,7 @@ ice_dev_start(struct rte_eth_dev *dev)