DPDK patches and discussions
 help / color / mirror / Atom feed
From: Helin Zhang <helin.zhang@intel.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH 3/3] app/testpmd: fix ICC compile issue
Date: Fri,  6 Nov 2015 15:48:36 +0800	[thread overview]
Message-ID: <1446796116-1219-4-git-send-email-helin.zhang@intel.com> (raw)
In-Reply-To: <1446796116-1219-1-git-send-email-helin.zhang@intel.com>

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 <helin.zhang@intel.com>
---
 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

  parent reply	other threads:[~2015-11-06  7:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-06  7:48 [dpdk-dev] [PATCH 0/3] fix compile issues Helin Zhang
2015-11-06  7:48 ` [dpdk-dev] [PATCH 1/3] bonding: fix ICC compile issue Helin Zhang
2015-11-06  8:08   ` De Lara Guarch, Pablo
2015-11-06  7:48 ` [dpdk-dev] [PATCH 2/3] i40e: " Helin Zhang
2015-11-06  8:11   ` De Lara Guarch, Pablo
2015-11-06  7:48 ` Helin Zhang [this message]
2015-11-09  2:45 ` [dpdk-dev] [PATCH v2 0/2] fix compile issues on ICC Helin Zhang
2015-11-09  2:45   ` [dpdk-dev] [PATCH v2 1/2] i40e: fix ICC compile issue Helin Zhang
2015-11-09  2:45   ` [dpdk-dev] [PATCH v2 2/2] app/testpmd: " Helin Zhang
2015-11-10  9:34   ` [dpdk-dev] [PATCH v2 0/2] fix compile issues on ICC De Lara Guarch, Pablo
2015-11-11  6:11   ` [dpdk-dev] [PATCH v3 " Helin Zhang
2015-11-11  6:11     ` [dpdk-dev] [PATCH v3 1/2] i40e: fix ICC compile issue Helin Zhang
2015-11-11  6:11     ` [dpdk-dev] [PATCH v3 2/2] app/testpmd: " Helin Zhang
     [not found]     ` <E115CCD9D858EF4F90C690B0DCB4D8973C856E99@IRSMSX108.ger.corp.intel.com>
2015-11-11 18:25       ` [dpdk-dev] [PATCH v3 0/2] fix compile issues on ICC Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1446796116-1219-4-git-send-email-helin.zhang@intel.com \
    --to=helin.zhang@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).