Patch set 66481–66487 v2

add Intel DCF PMD support

Submitter
Wang, Haiyue
Applied on
dpdk-next-net-intel (76a05f2f5038de31db7d5697e5f6393753781d4c)
Date submitted
March 10, 2020, 6:50 a.m.

Test Results Build Error

Configuration done using x86_64-native-linuxapp-gcc
== Build lib
== Build lib/librte_kvargs
== Build lib/librte_eal
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/mk/toolchain/gcc/rte.toolchain-compat.mk:30: AVX512 support disabled because of binutils 2.30. See Bug 97
== 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_rib
== Build lib/librte_fib
== 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 drivers
== Build drivers/common
== Build drivers/common/cpt
== Build drivers/common/octeontx
== Build drivers/common/octeontx2
== Build drivers/common/dpaax
== Build drivers/common/iavf
== 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/hns3
== Build drivers/net/i40e
== Build drivers/net/iavf
== Build drivers/net/ice
  CC ice_dcf.o
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/drivers/net/ice/ice_dcf.c: In function ‘ice_dcf_get_vf_resource’:
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/drivers/net/ice/ice_dcf.c:235:42: error: ‘VIRTCHNL_VF_CAP_DCF’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VFR_VFACTIVE’?
         VIRTCHNL_VF_CAP_ADV_LINK_SPEED | VIRTCHNL_VF_CAP_DCF |
                                          ^~~~~~~~~~~~~~~~~~~
                                          VIRTCHNL_VFR_VFACTIVE
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/drivers/net/ice/ice_dcf.c:235:42: note: each undeclared identifier is reported only once for each function it appears in
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/drivers/net/ice/ice_dcf.c: In function ‘ice_dcf_get_vf_vsi_map’:
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/drivers/net/ice/ice_dcf.c:279:40: error: ‘VIRTCHNL_OP_DCF_GET_VSI_MAP’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ADD_DEL_VLAN_MAX’?
  err = ice_dcf_send_cmd_req_no_irq(hw, VIRTCHNL_OP_DCF_GET_VSI_MAP,
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        VIRTCHNL_OP_ADD_DEL_VLAN_MAX
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/drivers/net/ice/ice_dcf.c:295:19: error: dereferencing pointer to incomplete type ‘struct virtchnl_dcf_vsi_map’
  if (len < sizeof(*vsi_map) || !vsi_map->num_vfs ||
                   ^~~~~~~~
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/drivers/net/ice/ice_dcf.c: In function ‘ice_dcf_mode_disable’:
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/drivers/net/ice/ice_dcf.c:334:40: error: ‘VIRTCHNL_OP_DCF_DISABLE’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DEL_VLAN’?
  err = ice_dcf_send_cmd_req_no_irq(hw, VIRTCHNL_OP_DCF_DISABLE,
                                        ^~~~~~~~~~~~~~~~~~~~~~~
                                        VIRTCHNL_OP_DEL_VLAN
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/drivers/net/ice/ice_dcf.c: In function ‘ice_dcf_send_aq_cmd’:
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/drivers/net/ice/ice_dcf.c:475:18: error: ‘VIRTCHNL_OP_DCF_CMD_DESC’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_SET_RSS_HENA’?
  desc_cmd.v_op = VIRTCHNL_OP_DCF_CMD_DESC;
                  ^~~~~~~~~~~~~~~~~~~~~~~~
                  VIRTCHNL_OP_SET_RSS_HENA
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/drivers/net/ice/ice_dcf.c:486:18: error: ‘VIRTCHNL_OP_DCF_CMD_BUFF’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DCF_CMD_DESC’?
  buff_cmd.v_op = VIRTCHNL_OP_DCF_CMD_BUFF;
                  ^~~~~~~~~~~~~~~~~~~~~~~~
                  VIRTCHNL_OP_DCF_CMD_DESC
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/drivers/net/ice/ice_dcf.c: At top level:
cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ [-Werror]
cc1: all warnings being treated as errors
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'ice_dcf.o' failed
make[6]: *** [ice_dcf.o] Error 1
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/mk/rte.subdir.mk:35: recipe for target 'ice' failed
make[5]: *** [ice] Error 2
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/mk/rte.subdir.mk:35: recipe for target 'net' failed
make[4]: *** [net] Error 2
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'drivers' failed
make[3]: *** [drivers] Error 2
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed
make[2]: *** [all] Error 2
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed
make[1]: *** [pre_install] Error 2
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed
make: *** [install] Error 2