From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DC725A0518 for ; Fri, 24 Jul 2020 14:08:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D4AB71C039; Fri, 24 Jul 2020 14:08:35 +0200 (CEST) Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by dpdk.org (Postfix) with ESMTP id 813DA1C1BC for ; Fri, 24 Jul 2020 14:08:34 +0200 (CEST) Received: by mail-wm1-f66.google.com with SMTP id k20so402944wmi.5 for ; Fri, 24 Jul 2020 05:08:34 -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 :mime-version:content-transfer-encoding; bh=PGuszrEHHQPwvD5nSOgOcoep954OvC4LuyoPnew2D/o=; b=jZrbEjlNhFDQSzlLu2XSvI8uf+zlB4ZhME0GeBuHETpMH5/lsINGHCPq3/DOIR5jBc 2gzPKAxhoKKUDi2CkhtQtEXxz//NixgFHEbobyidlyVYR1vdsgWDyoOgHtTu/ZjfmZ6H U3Q8RLkyxMpShNhSvVQmvdlbkSoPFs2dwdn6w0wCpuKKsfSDb5VFj+kcoAyfgNYTnDcQ h3gkKQ/1i1DqahKhZgaJGq1HQfttE0UkCt6jtRD9JW3rjl6gLiweD+CrLsR7qXFL6nTW Ylr6VJmde6SUQRvoITCARuXcUKMrs7nPzDYA43/BPlr6GubGhyf691fB6RordxZ+079q gDUA== 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:mime-version:content-transfer-encoding; bh=PGuszrEHHQPwvD5nSOgOcoep954OvC4LuyoPnew2D/o=; b=e9sZnKTYAwy/yGlA+i7fGMQYjHQhisS6ESnd3na2JkdK2b5xgD4u3sGE4aZ7897WKk 8ToGMI8WdIm1iB1jO9cFP3GDJf+ZwpjiQSbR/Lg1grQ65qIB6WGScpCxAP0j+XpMrDk8 6Lu/xu6wOCzMBi3wZ08NxRotA5HT2xwfm9fIbsemr8uNSZsx+V//xG0oH2Wd5oKRJ4+U ZMlwuV4tQEBZyYd/hMCoUdedqp3KBkWXJm9AgKil2qHW4nuna393e7Kt9OnZPlKRwpgh pQnSSxcOaY71NJ34fBq44tITc9Vf4f3NDegQhsbvAGJVwbN8TtMFxShCltB4UQdMxXeI Rkxg== X-Gm-Message-State: AOAM531Zy5prJ2CQV2TwD14zPn4/g0iJJwRXsBCuHeS3kQKZwUNaa7VM xgpkvfqrq6vkdKj7TtbhAS9vsTuCniV51A== X-Google-Smtp-Source: ABdhPJyVWXdOalJRrAPhhSxhnJlYITEamcDlmTBsnnmBDZ9bWcYusznjBICfOOVHSdgTYM4EcGHkqA== X-Received: by 2002:a1c:7d95:: with SMTP id y143mr5685671wmc.45.1595592514212; Fri, 24 Jul 2020 05:08:34 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id w16sm1329565wrg.95.2020.07.24.05.08.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 05:08:32 -0700 (PDT) From: luca.boccassi@gmail.com To: Pavel Ivashchenko Cc: Qi Zhang , dpdk stable Date: Fri, 24 Jul 2020 12:59:17 +0100 Message-Id: <20200724120030.1863487-119-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200724120030.1863487-1-luca.boccassi@gmail.com> References: <20200724120030.1863487-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/i40e: fix getting EEPROM information' has been queued to stable release 19.11.4 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: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to stable release 19.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/26/20. 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. Thanks. Luca Boccassi --- >From 1ccf6600589bfbf66753b7b55f9ac3b85132a767 Mon Sep 17 00:00:00 2001 From: Pavel Ivashchenko Date: Thu, 2 Jul 2020 12:37:17 +0000 Subject: [PATCH] net/i40e: fix getting EEPROM information [ upstream commit 2fc1d6da882563ab80786d69b6d7c9d0e4ce860a ] Fixes: 50130a0c4440 ("net/i40e/base: change AQ command for PHY access") Signed-off-by: Pavel Ivashchenko 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 67a44e25f..083e23ccb 100644 --- a/drivers/net/i40e/i40e_ethdev.c +++ b/drivers/net/i40e/i40e_ethdev.c @@ -11980,7 +11980,7 @@ static int i40e_get_module_eeprom(struct rte_eth_dev *dev, } status = i40e_aq_get_phy_register(hw, I40E_AQ_PHY_REG_ACCESS_EXTERNAL_MODULE, - addr, offset, 1, &value, NULL); + addr, 1, offset, &value, NULL); if (status) return -EIO; data[i] = (uint8_t)value; -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-07-24 12:53:53.119164948 +0100 +++ 0119-net-i40e-fix-getting-EEPROM-information.patch 2020-07-24 12:53:48.403008621 +0100 @@ -1,10 +1,11 @@ -From 2fc1d6da882563ab80786d69b6d7c9d0e4ce860a Mon Sep 17 00:00:00 2001 +From 1ccf6600589bfbf66753b7b55f9ac3b85132a767 Mon Sep 17 00:00:00 2001 From: Pavel Ivashchenko Date: Thu, 2 Jul 2020 12:37:17 +0000 Subject: [PATCH] net/i40e: fix getting EEPROM information +[ upstream commit 2fc1d6da882563ab80786d69b6d7c9d0e4ce860a ] + Fixes: 50130a0c4440 ("net/i40e/base: change AQ command for PHY access") -Cc: stable@dpdk.org Signed-off-by: Pavel Ivashchenko Acked-by: Qi Zhang @@ -13,10 +14,10 @@ 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c -index 472ce2a9e..777e14926 100644 +index 67a44e25f..083e23ccb 100644 --- a/drivers/net/i40e/i40e_ethdev.c +++ b/drivers/net/i40e/i40e_ethdev.c -@@ -12081,7 +12081,7 @@ static int i40e_get_module_eeprom(struct rte_eth_dev *dev, +@@ -11980,7 +11980,7 @@ static int i40e_get_module_eeprom(struct rte_eth_dev *dev, } status = i40e_aq_get_phy_register(hw, I40E_AQ_PHY_REG_ACCESS_EXTERNAL_MODULE,