From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhiyong Yang Subject: [PATCH 3/6] net/liquidio: fix port id type Date: Thu, 12 Oct 2017 17:32:49 +0800 Message-ID: <20171012093252.53100-4-zhiyong.yang@intel.com> References: <20171012093252.53100-1-zhiyong.yang@intel.com> Cc: ferruh.yigit@intel.com, Zhiyong Yang To: dev@dpdk.org Return-path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id AD24B1B1C2 for ; Thu, 12 Oct 2017 11:33:00 +0200 (CEST) In-Reply-To: <20171012093252.53100-1-zhiyong.yang@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- drivers/net/liquidio/lio_struct.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/liquidio/lio_struct.h b/drivers/net/liquidio/lio_struct.h index 635e47fbf..10e3976af 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_ */ -- 2.13.3