From mboxrd@z Thu Jan 1 00:00:00 1970 From: Helin Zhang Subject: [PATCH 3/3] app/testpmd: fix ICC compile issue Date: Fri, 6 Nov 2015 15:48:36 +0800 Message-ID: <1446796116-1219-4-git-send-email-helin.zhang@intel.com> References: <1446796116-1219-1-git-send-email-helin.zhang@intel.com> To: dev@dpdk.org Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 6B4B48E6D for ; Fri, 6 Nov 2015 08:48:51 +0100 (CET) In-Reply-To: <1446796116-1219-1-git-send-email-helin.zhang@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" It fixes compile issue on ICC 13.0.0. Error logs: app/test-pmd/cmdline.c(8160): error #188: enumerated type mixed with another type entry.input.flow.tunnel_flow.tunnel_type = Signed-off-by: Helin Zhang --- app/test-pmd/cmdline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index c637198..38cf923 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -8158,7 +8158,7 @@ cmd_flow_director_filter_parsed(void *parsed_result, &res->mac_addr, sizeof(struct ether_addr)); entry.input.flow.tunnel_flow.tunnel_type = - str2fdir_tunneltype(res->tunnel_type); + (enum rte_eth_fdir_tunnel_type)str2fdir_tunneltype(res->tunnel_type); entry.input.flow.tunnel_flow.tunnel_id = rte_cpu_to_be_32(res->tunnel_id_value); } -- 1.8.1.4