From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ferruh.yigit@intel.com>
Received: from mga03.intel.com (mga03.intel.com [134.134.136.65])
 by dpdk.org (Postfix) with ESMTP id 629D02BA7
 for <dev@dpdk.org>; Fri, 10 Jun 2016 12:08:41 +0200 (CEST)
Received: from orsmga003.jf.intel.com ([10.7.209.27])
 by orsmga103.jf.intel.com with ESMTP; 10 Jun 2016 03:08:41 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.26,449,1459839600"; d="scan'208";a="825427601"
Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.221.96])
 ([10.237.221.96])
 by orsmga003.jf.intel.com with ESMTP; 10 Jun 2016 03:08:39 -0700
To: Bruce Richardson <bruce.richardson@intel.com>,
 Rasesh Mody <rasesh.mody@qlogic.com>
References: <1463011585-15429-1-git-send-email-rasesh.mody@qlogic.com>
 <20160608161505.GA10096@bricha3-MOBL3>
Cc: dev@dpdk.org, Dept-EngDPDKDev@qlogic.com,
 Harish Patil <harish.patil@qlogic.com>
From: Ferruh Yigit <ferruh.yigit@intel.com>
Message-ID: <575A91A6.9030605@intel.com>
Date: Fri, 10 Jun 2016 11:08:38 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101
 Thunderbird/38.7.2
MIME-Version: 1.0
In-Reply-To: <20160608161505.GA10096@bricha3-MOBL3>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Subject: Re: [dpdk-dev] [PATCH v5 1/5] bnx2x: fixed stats get
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Jun 2016 10:08:42 -0000

On 6/8/2016 5:15 PM, Bruce Richardson wrote:
> On Wed, May 11, 2016 at 05:06:21PM -0700, Rasesh Mody wrote:
>> Fix stats_get() routine to display drop counters under imissed counter.
>>
>> Fixes: 540a211084a7 ("bnx2x: driver core")
>>
>> Signed-off-by: Rasesh Mody <rasesh.mody@qlogic.com>
>> Signed-off-by: Harish Patil <harish.patil@qlogic.com>
> 
> Patchset applied to dpdk-next-net/rel_16_07
> 
> /Bruce
> 

This patchset is cause a compile error with ICC, I will send a patch to
disable some warning with ICC.

Please find compile warning as reference:
== Build drivers/net/bnx2x
  CC bnx2x.o
.../drivers/net/bnx2x/bnx2x.c(1248): error #188: enumerated type mixed
with another type
                cqe_fp_type = cqe_fp_flags & ETH_FAST_PATH_RX_CQE_TYPE;
                            ^

.../drivers/net/bnx2x/bnx2x.c(3566): error #188: enumerated type mixed
with another type
        op_code = ((drv_info_ctl & DRV_INFO_CONTROL_OP_CODE_MASK) >>
                ^

.../drivers/net/bnx2x/bnx2x.c(7731): error #188: enumerated type mixed
with another type
        mf_info->afex_vlan_mode =
                                ^

compilation aborted for .../drivers/net/bnx2x/bnx2x.c (code 2)
.../mk/internal/rte.compile-pre.mk:126: recipe for target 'bnx2x.o' failed
make[4]: *** [bnx2x.o] Error 2
  CC bnx2x_rxtx.o
  CC bnx2x_stats.o
.../drivers/net/bnx2x/bnx2x_stats.c(1287): error #188: enumerated type
mixed with another type
        state = sc->stats_state;
              ^

compilation aborted for .../drivers/net/bnx2x/bnx2x_stats.c (code 2)
.../mk/internal/rte.compile-pre.mk:126: recipe for target
'bnx2x_stats.o' failed
make[4]: *** [bnx2x_stats.o] Error 2
  CC bnx2x_ethdev.o
  CC ecore_sp.o
.../drivers/net/bnx2x/ecore_sp.c(2508): error #188: enumerated type
mixed with another type
                o->set_one_rule(sc, o, cnt, &cfg_data, cmd_pos->type);
                                                       ^

.../drivers/net/bnx2x/ecore_sp.c(2542): error #188: enumerated type
mixed with another type
                o->set_one_rule(sc, o, cnt, NULL, cmd_pos->type);
                                                  ^

.../drivers/net/bnx2x/ecore_sp.c(3644): error #188: enumerated type
mixed with another type
                o->complete_cmd(sc, o, pending_bit);
                                       ^

.../drivers/net/bnx2x/ecore_sp.c(3656): error #188: enumerated type
mixed with another type
                        rc = o->wait_comp(sc, o, pending_bit);
                                                 ^

compilation aborted for .../drivers/net/bnx2x/ecore_sp.c (code 2)
.../mk/internal/rte.compile-pre.mk:126: recipe for target 'ecore_sp.o'
failed
make[4]: *** [ecore_sp.o] Error 2
  CC elink.o
.../drivers/net/bnx2x/elink.c(5032): error #188: enumerated type mixed
with another type
                return 1;
                       ^

.../drivers/net/bnx2x/elink.c(5042): error #188: enumerated type mixed
with another type
                return 1;
                       ^

.../drivers/net/bnx2x/elink.c(6738): error #188: enumerated type mixed
with another type
        return 1;
               ^

.../drivers/net/bnx2x/elink.c(7560): error #188: enumerated type mixed
with another type
        elink_status_t rc = 0;
                            ^

.../drivers/net/bnx2x/elink.c(8464): error #188: enumerated type mixed
with another type
        return elink_8706_8726_read_status(phy, params, vars);
               ^

compilation aborted for .../drivers/net/bnx2x/elink.c (code 2)
.../mk/internal/rte.compile-pre.mk:126: recipe for target 'elink.o' failed
make[4]: *** [elink.o] Error 2
  CC bnx2x_vfpf.o
make[4]: Target 'all' not remade because of errors.
.../mk/rte.subdir.mk:61: recipe for target 'bnx2x' failed
make[3]: *** [bnx2x] Error 2