From: Zhiyong Yang Date: Fri, 13 Oct 2017 13:16:57 +0000 (+0800) Subject: net/mrvl: fix port id type X-Git-Tag: spdx-start~1317 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e6399f6b9037cd3ec250bcc5aff602c19632f189;p=dpdk.git 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 --- 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); /**