From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 1878C1B969 for ; Tue, 15 May 2018 12:23:48 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 May 2018 03:23:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,403,1520924400"; d="scan'208";a="228609334" Received: from nikhilr-mobl.amr.corp.intel.com (HELO [10.106.138.6]) ([10.106.138.6]) by fmsmga005.fm.intel.com with ESMTP; 15 May 2018 03:23:46 -0700 To: Vipin Varghese , dev@dpdk.org, deepak.k.jain@intel.com References: <1526399325-110111-1-git-send-email-vipin.varghese@intel.com> From: "Rao, Nikhil" Cc: nikhil.rao@intel.com Message-ID: Date: Tue, 15 May 2018 15:53:40 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <1526399325-110111-1-git-send-email-vipin.varghese@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [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:23:49 -0000 On 5/15/2018 9:18 PM, Vipin Varghese wrote: > port id in test case is update to unsigned int 16 bit, to > prvent compilation faulure when RTE_ETH_MAX port is set more ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ prevent failure RTE_MAX_ETHPORTS > 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", > With above changes to commit message. Acked-by: Nikhil Rao