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 9BD0AA04B2 for ; Tue, 25 Aug 2020 19:51:30 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8D898F90; Tue, 25 Aug 2020 19:51:30 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 07C66A3; Tue, 25 Aug 2020 19:51:26 +0200 (CEST) IronPort-SDR: Q+PyWguzELrvOgYyOMkmKtIiNFo5WDAtFmIVyY9KjEaTEONFuu1aatpd1qKBdeFAwbUAbu9yFW GD7180GtvIGQ== X-IronPort-AV: E=McAfee;i="6000,8403,9723"; a="143828598" X-IronPort-AV: E=Sophos;i="5.76,353,1592895600"; d="scan'208";a="143828598" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2020 10:51:10 -0700 IronPort-SDR: K0o58JZUDBnfUOpT3jWf4jTTYUD5NV1iDYgXYTmca8XqYp6uz4kL1dHWdDAg8u95ukcI0YIL4L Wk0b4biPD0EQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,353,1592895600"; d="scan'208";a="499938615" Received: from silpixa00399752.ir.intel.com (HELO silpixa00399752.ger.corp.intel.com) ([10.237.222.180]) by fmsmga005.fm.intel.com with ESMTP; 25 Aug 2020 10:51:08 -0700 From: Ferruh Yigit To: dev@dpdk.org, Ray Kinsella , Neil Horman , John McNamara , Marko Kovacevic , Hemant Agrawal , Sachin Saxena Cc: Ferruh Yigit , stable@dpdk.org Date: Tue, 25 Aug 2020 18:51:06 +0100 Message-Id: <20200825175106.1614124-1-ferruh.yigit@intel.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20200710215217.1409242-1-ferruh.yigit@intel.com> References: <20200710215217.1409242-1-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [PATCH v2] net/dpaa: fix public API port ID type 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" 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 --- v2: * Remove deprecation notice --- 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(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 345c38d5b6..249d4c50a1 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -254,9 +254,6 @@ Deprecation Notices experimental in v20.11 DPDK release. For more details, please see `the thread `_. -* 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 c15e2b5462..e84f904071 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa/dpaa_ethdev.c @@ -1354,7 +1354,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; 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.25.4