[dpdk-dev] [PATCH v5 1/5] bnx2x: fixed stats get

Ferruh Yigit ferruh.yigit at intel.com
Fri Jun 10 12:08:38 CEST 2016


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 at qlogic.com>
>> Signed-off-by: Harish Patil <harish.patil at 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




More information about the dev mailing list