From e6399f6b9037cd3ec250bcc5aff602c19632f189 Mon Sep 17 00:00:00 2001 From: Zhiyong Yang Date: Fri, 13 Oct 2017 21:16:57 +0800 Subject: [PATCH] net/mrvl: fix port id type port id should be defined as uint16_t. Fixes: f8244c6399d9 ("ethdev: increase port id range") Signed-off-by: Zhiyong Yang --- drivers/net/mrvl/mrvl_qos.c | 2 +- drivers/net/mrvl/mrvl_qos.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/mrvl/mrvl_qos.c b/drivers/net/mrvl/mrvl_qos.c index 796509b1bd..c7b96ef1df 100644 --- a/drivers/net/mrvl/mrvl_qos.c +++ b/drivers/net/mrvl/mrvl_qos.c @@ -486,7 +486,7 @@ setup_tc(struct pp2_ppio_tc_params *param, uint8_t inqs, * @returns 0 in case of success, negative value otherwise. */ int -mrvl_configure_rxqs(struct mrvl_priv *priv, uint8_t portid, +mrvl_configure_rxqs(struct mrvl_priv *priv, uint16_t portid, uint16_t max_queues) { size_t i, tc; diff --git a/drivers/net/mrvl/mrvl_qos.h b/drivers/net/mrvl/mrvl_qos.h index 0fcc85ca75..90c08e98dd 100644 --- a/drivers/net/mrvl/mrvl_qos.h +++ b/drivers/net/mrvl/mrvl_qos.h @@ -94,7 +94,7 @@ mrvl_get_qoscfg(const char *key __rte_unused, const char *path, * @returns 0 in case of success, negative value otherwise. */ int -mrvl_configure_rxqs(struct mrvl_priv *priv, uint8_t portid, +mrvl_configure_rxqs(struct mrvl_priv *priv, uint16_t portid, uint16_t max_queues); /** -- 2.20.1