From: Zhiyong Yang Date: Thu, 12 Oct 2017 09:32:49 +0000 (+0800) Subject: net/liquidio: fix port id type X-Git-Tag: spdx-start~1376 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6e8b40b36c9d704cbe0b8d9445fe15fb12f9a4f4;p=dpdk.git net/liquidio: fix port id type port_id in struct lio_device should be increased range to uint16_t since port id in rte_eth_dev_data has already been defined as uint16_t. Fixes: f8244c6399d9 ("ethdev: increase port id range") Signed-off-by: Zhiyong Yang --- diff --git a/drivers/net/liquidio/lio_struct.h b/drivers/net/liquidio/lio_struct.h index 635e47fbf5..10e3976afd 100644 --- a/drivers/net/liquidio/lio_struct.h +++ b/drivers/net/liquidio/lio_struct.h @@ -684,7 +684,7 @@ struct lio_device { uint8_t nb_tx_queues; uint8_t port_configured; struct lio_rss_ctx rss_state; - uint8_t port_id; + uint16_t port_id; char firmware_version[LIO_FW_VERSION_LENGTH]; }; #endif /* _LIO_STRUCT_H_ */