From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 751F81B8AF for ; Tue, 15 May 2018 12:06:35 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 May 2018 03:06:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,403,1520924400"; d="scan'208";a="41359477" Received: from unknown (HELO saesrv02-S2600CWR.intel.com) ([10.224.122.203]) by orsmga008.jf.intel.com with ESMTP; 15 May 2018 03:06:32 -0700 From: Vipin Varghese To: dev@dpdk.org, nikhil.rao@intel.com, deepak.k.jain@intel.com Cc: Vipin Varghese Date: Tue, 15 May 2018 21:18:45 +0530 Message-Id: <1526399325-110111-1-git-send-email-vipin.varghese@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH] test/eventdev: update the port id to 16 bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2018 10:06:36 -0000 port id in test case is update to unsigned int 16 bit, to prvent compilation faulure when RTE_ETH_MAX port is set more than 255. Signed-off-by: Vipin Varghese --- test/test/test_event_eth_rx_adapter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test/test_event_eth_rx_adapter.c b/test/test/test_event_eth_rx_adapter.c index ab55398..dee632b 100644 --- a/test/test/test_event_eth_rx_adapter.c +++ b/test/test/test_event_eth_rx_adapter.c @@ -107,7 +107,7 @@ port_init(uint8_t port, struct rte_mempool *mp) static int init_ports(int num_ports) { - uint8_t portid; + uint16_t portid; int retval; default_params.mp = rte_pktmbuf_pool_create("packet_pool", -- 2.7.4