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 AADA5A04DD for ; Wed, 28 Oct 2020 11:47:57 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9C278C9F0; Wed, 28 Oct 2020 11:47:56 +0100 (CET) Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by dpdk.org (Postfix) with ESMTP id 30F81C9CC for ; Wed, 28 Oct 2020 11:47:53 +0100 (CET) Received: by mail-wr1-f54.google.com with SMTP id b8so5182814wrn.0 for ; Wed, 28 Oct 2020 03:47:53 -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=GHNXAW7oAVFd2soGnpcykmp0VU9P+baplnHGF+C4MCk=; b=jrLZv22a9teGMiDkr4r0ZgF+z1BgcxiEDTxdhRi9DH5QYIKQuFvLHqYEc3BXbEsxQT IlyWvUXEX+edYT+7w5yy0EThK5QJ1xDc6/VL3yp+1Yv/cRyp5OD5VeXa/Hi8cO0/6ZF6 61iuIlKqwXscco3vzb9sKrxFBnEoEHbJAYhdM/22EtF/lnHl/kSYrLDLp+SNpu8T9tBS 6V8H7DOgrCQGoIkXgMaiTdCtvypY8o+tmwOHiS4QfzX1Z36ip353MvMQ7FeL/TgEZnms /IzxCrenY/T3T8emsQAsbazRkiRod4s0C+5CG01TIp2xHvy84QP2Cn9fWspeBN1Q25PZ hy1g== 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=GHNXAW7oAVFd2soGnpcykmp0VU9P+baplnHGF+C4MCk=; b=E8mLkEa1rwM0fe+uaMK9lHtItqPvGdFz14UOvtlKtHsAFImoH5JUjIIrNX+gZzLdJG 9vBhDl2XPcNuep7pg+/PkbRfubAIp7Y3rGeCZ+dmKi8te/Ck44nZeZG1K2UXEXp8abRX dVEHe5mtQB0tIPG0pvWc77vcQXW1nfKGiw0NGz51ZchMt9lur0e0+/LyXQfq7pJkiR+p vdsU7ZXHubL3YI0eJxYpUVZhP/Ba97fvFrr3+rMiSPVgB8bpNcNWZhBLugIV8TI57xwV JIHk358LmgQfdOkNvM7At3IhAVTAPNnfJyCmwj+/PkUwX2DerEdPLqt1xnrgnpGvqJwt GYaQ== X-Gm-Message-State: AOAM533kLb6xkhv3Gnt13rw3Kle2GF9sfCbZ3ECRGkJHdsOtBXAs5hoY QzsPSFWzurbgh+1ClUiMzc8= X-Google-Smtp-Source: ABdhPJysec/AoqPGUamqCWoLo9lM8Tf6heN92Hnm5cxNaPU0TauF4Tg2AL+O7RW1uZTYdqHYNN8+NA== X-Received: by 2002:a05:6000:1051:: with SMTP id c17mr7851151wrx.290.1603882072946; Wed, 28 Oct 2020 03:47:52 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id v19sm5684760wmj.31.2020.10.28.03.47.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Oct 2020 03:47:52 -0700 (PDT) From: luca.boccassi@gmail.com To: Ferruh Yigit Cc: Hemant Agrawal , dpdk stable Date: Wed, 28 Oct 2020 10:43:13 +0000 Message-Id: <20201028104606.3504127-34-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201028104606.3504127-1-luca.boccassi@gmail.com> References: <20201028104606.3504127-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/dpaa: fix port ID type in API' has been queued to stable release 19.11.6 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.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 10/30/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 f93ade8e2e3a0454f62fbbbf8e15872857a87232 Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Tue, 25 Aug 2020 18:51:06 +0100 Subject: [PATCH] net/dpaa: fix port ID type in API [ upstream commit ae8f4cf3283e4036b56709cee74ddfa386de5f6b ] Updating the type for 'port' variable from 'uint8_t' to 'uint16_t'. Fixes: 8c3495f5d2dd ("net/dpaa: support loopback API") Signed-off-by: Ferruh Yigit Acked-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 2 +- drivers/net/dpaa/rte_pmd_dpaa.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index 5f81968d80..a54ec0deb6 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa/dpaa_ethdev.c @@ -1120,7 +1120,7 @@ is_dpaa_supported(struct rte_eth_dev *dev) } int -rte_pmd_dpaa_set_tx_loopback(uint8_t port, uint8_t on) +rte_pmd_dpaa_set_tx_loopback(uint16_t port, uint8_t on) { struct rte_eth_dev *dev; struct dpaa_if *dpaa_intf; diff --git a/drivers/net/dpaa/rte_pmd_dpaa.h b/drivers/net/dpaa/rte_pmd_dpaa.h index 8d244bb491..ec45633ba2 100644 --- a/drivers/net/dpaa/rte_pmd_dpaa.h +++ b/drivers/net/dpaa/rte_pmd_dpaa.h @@ -29,6 +29,6 @@ * - (-EINVAL) if bad parameter. */ int -rte_pmd_dpaa_set_tx_loopback(uint8_t port, uint8_t on); +rte_pmd_dpaa_set_tx_loopback(uint16_t port, uint8_t on); #endif /* _PMD_DPAA_H_ */ -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-10-28 10:35:12.853715367 +0000 +++ 0034-net-dpaa-fix-port-ID-type-in-API.patch 2020-10-28 10:35:11.476829611 +0000 @@ -1,40 +1,26 @@ -From ae8f4cf3283e4036b56709cee74ddfa386de5f6b Mon Sep 17 00:00:00 2001 +From f93ade8e2e3a0454f62fbbbf8e15872857a87232 Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Tue, 25 Aug 2020 18:51:06 +0100 Subject: [PATCH] net/dpaa: fix port ID type in API +[ upstream commit ae8f4cf3283e4036b56709cee74ddfa386de5f6b ] + Updating the type for 'port' variable from 'uint8_t' to 'uint16_t'. Fixes: 8c3495f5d2dd ("net/dpaa: support loopback API") -Cc: stable@dpdk.org Signed-off-by: Ferruh Yigit Acked-by: Hemant Agrawal --- - doc/guides/rel_notes/deprecation.rst | 3 --- - drivers/net/dpaa/dpaa_ethdev.c | 2 +- - drivers/net/dpaa/rte_pmd_dpaa.h | 2 +- - 3 files changed, 2 insertions(+), 5 deletions(-) + drivers/net/dpaa/dpaa_ethdev.c | 2 +- + drivers/net/dpaa/rte_pmd_dpaa.h | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) -diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst -index 09646b29fb..5f568f4b72 100644 ---- a/doc/guides/rel_notes/deprecation.rst -+++ b/doc/guides/rel_notes/deprecation.rst -@@ -193,9 +193,6 @@ Deprecation Notices - following the IPv6 header, as proposed in RFC - https://mails.dpdk.org/archives/dev/2020-August/177257.html. - --* pmd_dpaa: The API ``rte_pmd_dpaa_set_tx_loopback`` will have extended -- ``port_id`` definition from ``uint8_t`` to ``uint16_t``. -- - * vhost: Vhost-user dequeue zero-copy support will be removed in 20.11. - The only known user is OVS where the feature is still experimental, - and has not received any update for 2.5 years. diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c -index a077b98c3e..8a6b19b5ce 100644 +index 5f81968d80..a54ec0deb6 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa/dpaa_ethdev.c -@@ -1473,7 +1473,7 @@ is_dpaa_supported(struct rte_eth_dev *dev) +@@ -1120,7 +1120,7 @@ is_dpaa_supported(struct rte_eth_dev *dev) } int @@ -42,7 +28,7 @@ +rte_pmd_dpaa_set_tx_loopback(uint16_t port, uint8_t on) { struct rte_eth_dev *dev; - + struct dpaa_if *dpaa_intf; diff --git a/drivers/net/dpaa/rte_pmd_dpaa.h b/drivers/net/dpaa/rte_pmd_dpaa.h index 8d244bb491..ec45633ba2 100644 --- a/drivers/net/dpaa/rte_pmd_dpaa.h