Patch set 51756–51758

lib/rcu: add RCU library supporting QSBR mechanism

Submitter
Honnappa Nagarahalli
Date submitted
March 27, 2019, 5:52 a.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_mempool
== Build lib/librte_mbuf
== Build lib/librte_timer
== Build lib/librte_cfgfile
== Build lib/librte_cmdline
== Build lib/librte_net
== 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/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/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/i40e
== Build drivers/net/iavf
== Build drivers/net/ice
== Build drivers/net/ixgbe
== Build drivers/net/liquidio
== Build drivers/net/netvsc
== Build drivers/net/nfp
== Build drivers/net/bnxt
== Build drivers/net/null
== Build drivers/net/octeontx
== Build drivers/net/qede
== Build drivers/net/ring
== Build drivers/net/sfc
== Build drivers/net/tap
== Build drivers/net/thunderx
== Build drivers/net/vdev_netvsc
== Build drivers/net/virtio
== Build drivers/net/vmxnet3
== Build drivers/net/kni
== Build drivers/net/softnic
== Build drivers/net/vhost
== Build drivers/net/ifc
== Build drivers/baseband
== Build drivers/baseband/null
== Build drivers/crypto
== Build drivers/crypto/octeontx
== Build drivers/crypto/scheduler
== Build drivers/crypto/null
== Build drivers/crypto/dpaa2_sec
== Build drivers/crypto/dpaa_sec
== Build drivers/crypto/caam_jr
== Build drivers/crypto/virtio
== Build drivers/common/qat
== Build drivers/compress
== Build drivers/compress/octeontx
== Build drivers/event
== Build drivers/event/skeleton
== Build drivers/event/sw
== Build drivers/event/dsw
== Build drivers/event/octeontx
== Build drivers/event/dpaa
== Build drivers/event/dpaa2
== Build drivers/event/opdl
== Build drivers/raw
== Build drivers/raw/skeleton_rawdev
== Build drivers/raw/dpaa2_cmdif
== Build drivers/raw/dpaa2_qdma
== Build drivers/raw/ifpga_rawdev
== Build app
== Build app/test
  MKRES test_resource_c.res.o
  CC test_rcu_qsbr.o
In file included from /var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/app/test/test_rcu_qsbr.c:8:0:
/var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/x86_64-native-linuxapp-gcc/include/rte_rcu_qsbr.h: In function ‘rte_rcu_qsbr_thread_online’:
/var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/x86_64-native-linuxapp-gcc/include/rte_rcu_qsbr.h:227:2: error: implicit declaration of function ‘rte_smp_mb’ [-Werror=implicit-function-declaration]
  rte_smp_mb();
  ^
/var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/x86_64-native-linuxapp-gcc/include/rte_rcu_qsbr.h:227:2: error: nested extern declaration of ‘rte_smp_mb’ [-Werror=nested-externs]
In file included from /var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/x86_64-native-linuxapp-gcc/include/generic/rte_cycles.h:18:0,
                 from /var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/x86_64-native-linuxapp-gcc/include/rte_cycles.h:13,
                 from /var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/app/test/test_rcu_qsbr.c:12:
/var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/x86_64-native-linuxapp-gcc/include/rte_atomic.h: At top level:
/var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/x86_64-native-linuxapp-gcc/include/rte_atomic.h:67:1: error: conflicting types for ‘rte_smp_mb’ [-Werror]
 rte_smp_mb(void)
 ^
/var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/x86_64-native-linuxapp-gcc/include/rte_atomic.h:67:1: error: static declaration of ‘rte_smp_mb’ follows non-static declaration
In file included from /var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/app/test/test_rcu_qsbr.c:8:0:
/var/lib/jenkins/workspace/Apply-Custom-Patch-Set/dpdk/x86_64-native-linuxapp-gcc/include/rte_rcu_qsbr.h:227:2: note: previous implicit declaration of ‘rte_smp_mb’ was here
  rte_smp_mb();
  ^
cc1: all warnings being treated as errors
make[5]: *** [test_rcu_qsbr.o] Error 1
make[4]: *** [test] Error 2
make[3]: *** [app] Error 2
make[2]: *** [all] Error 2
make[1]: *** [pre_install] Error 2
make: *** [install] Error 2