[dpdk-dev] [PATCH v20.11] net/dpaa: fix public API port ID type

Ferruh Yigit ferruh.yigit at intel.com
Fri Jul 10 23:52:17 CEST 2020


Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
---
Hi Hemant,

Can you please send a deprecation notice to be able to fix in 20.11?

btw, is this API still used, if it is not used should it be deprecated?
---
 drivers/net/dpaa/rte_pmd_dpaa.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/dpaa/rte_pmd_dpaa.h b/drivers/net/dpaa/rte_pmd_dpaa.h
index 37eea9b032..07a5688291 100644
--- a/drivers/net/dpaa/rte_pmd_dpaa.h
+++ b/drivers/net/dpaa/rte_pmd_dpaa.h
@@ -31,6 +31,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



More information about the dev mailing list