From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id CD87F7F18 for ; Fri, 7 Nov 2014 00:05:54 +0100 (CET) Received: by mail-wg0-f42.google.com with SMTP id k14so2403624wgh.1 for ; Thu, 06 Nov 2014 15:15:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=VQKscmgL++TzFPmIB6yBdflpHtbnuenJKq6eJSLUe6k=; b=Ln19tRlJTq7lwNN2u6xmw520+nbhRXNUgIVLkA5nu0ms659gPLpAJ3ka/ddFg9E8qD T4APeVuHam1lsPt5mrRI8L5/JO7N8gAh13eCEg9IraJEjsyME0IGerMzUsfFrieCQj3W +ObEPmw9M+fDDUvdJCALAigal2+8UypnDpm51AMNHWKEIwsHTbHZqpPDfltc6tdFQCR6 UMBYEkZuCIW3r0TcmR2EsTCWfVUYLTIIwO1D5Lt6CwW59pZ8WjiYUiaF4bDcizPqtqJX g75+7NABvVilooEeSfWB9rbhjU6vOKnt3GlYW+SU00MDB4hLF6WkZraf6suNKj01TjwQ A1lg== X-Gm-Message-State: ALoCoQkaOrNA05NDYCRdsCC8FtnJnRENpa5jpy6ZU7w2tseClkJdgQ0oTKbzS9YT0hUN9sQqVS2/ X-Received: by 10.180.9.103 with SMTP id y7mr46668312wia.5.1415315724188; Thu, 06 Nov 2014 15:15:24 -0800 (PST) Received: from localhost.localdomain (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id ws2sm9553690wjc.32.2014.11.06.15.15.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 06 Nov 2014 15:15:23 -0800 (PST) From: Thomas Monjalon To: dev@dpdk.org Date: Fri, 7 Nov 2014 00:14:48 +0100 Message-Id: <1415315688-12830-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.1.3 Subject: [dpdk-dev] [PATCH] i40e: fix build with icc X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2014 23:05:54 -0000 Since commit d798a94 ("mac vlan filter"), ICC reports this error: lib/librte_pmd_i40e/i40e_ethdev.c(1763): error #188: enumerated type mixed with another type Indeed, RTE_ETH_FILTER_NONE comes from enum rte_filter_type but enum rte_filter_op is expected. Signed-off-by: Thomas Monjalon --- lib/librte_pmd_i40e/i40e_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c b/lib/librte_pmd_i40e/i40e_ethdev.c index 4570795..5074262 100644 --- a/lib/librte_pmd_i40e/i40e_ethdev.c +++ b/lib/librte_pmd_i40e/i40e_ethdev.c @@ -1760,7 +1760,7 @@ i40e_mac_filter_handle(struct rte_eth_dev *dev, enum rte_filter_op filter_op, filter = (struct rte_eth_mac_filter *)(arg); switch (filter_op) { - case RTE_ETH_FILTER_NONE: + case RTE_ETH_FILTER_NOP: ret = I40E_SUCCESS; break; case RTE_ETH_FILTER_ADD: -- 2.1.3