Patch set 57619 v4

[v4] net/i40e: fix vf runtime queues rss config

Submitter
Zhang, Xiao
Applied on
dpdk-next-net-intel (d37997a2f8f6f8451297f7052e684cb04c486a1b)
Date submitted
Aug. 12, 2019, 5:43 p.m.

Test Results Build Error

Configuration done using x86_64-native-linuxapp-gcc
== Build lib
== Build lib/librte_kvargs
== Build lib/librte_eal
== Build lib/librte_eal/common
== Build lib/librte_eal/linux
== Build lib/librte_eal/linux/eal
== Build lib/librte_pci
== Build lib/librte_ring
== Build lib/librte_stack
== Build lib/librte_mempool
== Build lib/librte_mbuf
== Build lib/librte_timer
== Build lib/librte_cfgfile
== Build lib/librte_net
== Build lib/librte_cmdline
== Build lib/librte_meter
== Build lib/librte_ethdev
== Build lib/librte_bbdev
== Build lib/librte_cryptodev
== Build lib/librte_security
== Build lib/librte_compressdev
== Build lib/librte_hash
== Build lib/librte_eventdev
== Build lib/librte_rawdev
== Build lib/librte_vhost
== Build lib/librte_efd
== Build lib/librte_lpm
== Build lib/librte_acl
== Build lib/librte_member
== Build lib/librte_ip_frag
== Build lib/librte_gro
== Build lib/librte_jobstats
== Build lib/librte_metrics
== Build lib/librte_bitratestats
== Build lib/librte_latencystats
== Build lib/librte_power
== Build lib/librte_sched
== Build lib/librte_kni
== Build lib/librte_port
== Build lib/librte_table
== Build lib/librte_flow_classify
== Build lib/librte_distributor
== Build lib/librte_pipeline
== Build lib/librte_reorder
== Build lib/librte_pdump
== Build lib/librte_gso
== Build lib/librte_bpf
== Build lib/librte_ipsec
== Build lib/librte_rcu
== Build buildtools
== Build buildtools/pmdinfogen
== Build kernel
== Build kernel/linux
== Build kernel/linux/igb_uio
  Building modules, stage 2.
  MODPOST 1 modules
== Build kernel/linux/kni
  Building modules, stage 2.
  MODPOST 1 modules
== Build drivers
== Build drivers/common
== Build drivers/common/cpt
== Build drivers/common/octeontx
== Build drivers/common/octeontx2
== Build drivers/common/dpaax
== Build drivers/bus
== Build drivers/bus/dpaa
== Build drivers/bus/fslmc
== Build drivers/bus/ifpga
== Build drivers/bus/pci
== Build drivers/bus/vdev
== Build drivers/bus/vmbus
== Build drivers/mempool
== Build drivers/mempool/bucket
== Build drivers/mempool/dpaa
== Build drivers/mempool/dpaa2
== Build drivers/mempool/ring
== Build drivers/mempool/stack
== Build drivers/mempool/octeontx
== Build drivers/mempool/octeontx2
== Build drivers/net
== Build drivers/net/af_packet
== Build drivers/net/ark
== Build drivers/net/atlantic
== Build drivers/net/avp
== Build drivers/net/axgbe
== Build drivers/net/bonding
== Build drivers/net/cxgbe
== Build drivers/net/dpaa
== Build drivers/net/dpaa2
== Build drivers/net/e1000
== Build drivers/net/ena
== Build drivers/net/enetc
== Build drivers/net/enic
== Build drivers/net/failsafe
== Build drivers/net/fm10k
== Build drivers/net/hinic
== Build drivers/net/i40e
  CC i40e_ethdev_vf.o
/var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/drivers/net/i40e/i40e_ethdev_vf.c: In function ‘i40evf_config_rss’:
/var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/drivers/net/i40e/i40e_ethdev_vf.c:2603:11: error: conflicting types for ‘lut’
  uint8_t *lut;
           ^
/var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/drivers/net/i40e/i40e_ethdev_vf.c:2600:17: note: previous definition of ‘lut’ was here
  uint32_t i, j, lut = 0, nb_q = (I40E_VFQF_HLUT_MAX_INDEX + 1) * 4;
                 ^
/var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/drivers/net/i40e/i40e_ethdev_vf.c:2618:15: error: invalid operands to binary << (have ‘uint8_t *’ and ‘int’)
    lut = (lut << 8) | j;
               ^
/var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/drivers/net/i40e/i40e_ethdev_vf.c:2620:5: error: passing argument 1 of ‘rte_write32’ makes integer from pointer without a cast [-Werror]
     I40E_WRITE_REG(hw, I40E_VFQF_HLUT(i >> 2), lut);
     ^
In file included from /var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/x86_64-native-linuxapp-gcc/include/rte_io.h:12:0,
                 from /var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/drivers/net/i40e/base/i40e_osdep.h:20,
                 from /var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/drivers/net/i40e/base/i40e_type.h:9,
                 from /var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/drivers/net/i40e/base/i40e_prototype.h:8,
                 from /var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/drivers/net/i40e/i40e_ethdev_vf.c:34:
/var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/x86_64-native-linuxapp-gcc/include/generic/rte_io.h:335:1: note: expected ‘uint32_t’ but argument is of type ‘uint8_t *’
 rte_write32(uint32_t value, volatile void *addr)
 ^
/var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/drivers/net/i40e/i40e_ethdev_vf.c: At top level:
cc1: error: unrecognized command line option "-Wno-address-of-packed-member" [-Werror]
cc1: all warnings being treated as errors
make[6]: *** [i40e_ethdev_vf.o] Error 1
make[5]: *** [i40e] Error 2
make[4]: *** [net] Error 2
make[3]: *** [drivers] Error 2
make[2]: *** [all] Error 2
make[1]: *** [pre_install] Error 2
make: *** [install] Error 2