From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id E9D161B889 for ; Tue, 15 May 2018 14:24:31 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 May 2018 05:24:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,403,1520924400"; d="scan'208";a="41945056" Received: from unknown (HELO saesrv02-S2600CWR.intel.com) ([10.224.122.203]) by orsmga006.jf.intel.com with ESMTP; 15 May 2018 05:24:28 -0700 From: Vipin Varghese To: dev@dpdk.org, deepak.k.jain@intel.com, nikhil.rao@intel.com Cc: Vipin Varghese Date: Tue, 15 May 2018 23:36:42 +0530 Message-Id: <1526407602-112993-1-git-send-email-vipin.varghese@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1526399325-110111-1-git-send-email-vipin.varghese@intel.com> References: <1526399325-110111-1-git-send-email-vipin.varghese@intel.com> Subject: [dpdk-dev] [PATCH v2] 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 12:24:32 -0000 port id in test case is update to unsigned int 16 bit, to prevent compilation failure when RTE_MAX_ETHPORTS port is set more than 255. Signed-off-by: Vipin Varghese Acked-by: Nikhil Rao --- Changes for V2: spell check for commit message - Nikhil Rao --- 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