DPDK patches and discussions
 help / color / mirror / Atom feed
* Re: [dpdk-dev] [dpdk-test-report] | ERROR | daily Intel builds (57/60)
       [not found] <ac403b$3dpoa8@fmsmga006.fm.intel.com>
@ 2017-06-15 13:43 ` Wei, FangfangX
  2017-06-15 17:50   ` [dpdk-dev] [PATCH] mem: support page locking on FreeBSD Thomas Monjalon
  0 siblings, 1 reply; 4+ messages in thread
From: Wei, FangfangX @ 2017-06-15 13:43 UTC (permalink / raw)
  To: test-report, dev, ajit.khaparde
  Cc: Xu, Qian Q, Liu, Yong, Chen, WeichunX, Lu, PeipeiX

Hi all,
I've verified the failure #1, #2 and #3.
It occurred by following commit:

commit b7778e8a1c00a76872a02840150022e2210bc912
Author: Ajit Khaparde <ajit.khaparde@broadcom.com>
Date: Thu Jun 1 12:06:59 2017 -0500
net/bnxt: refactor to properly allocate resources for PF/VF

Could anyone help to fix it?
Many thanks!

Best Regards
Fangfang Wei

-----Original Message-----
From: test-report [mailto:test-report-bounces@dpdk.org] On Behalf Of sys_stv@intel.com
Sent: Thursday, June 15, 2017 12:24 PM
To: test-report@dpdk.org
Subject: [dpdk-test-report] | ERROR | daily Intel builds (57/60)

Last commit Time   : Wed Jun 14 23:54:13 2017 +0200
Last Author        : Jerin Jacob
Last commit Hash   : 98a7ea332ba3da0f74ec951595d36a616165b255
Last comment       : fix typos using codespell utility

Build Summary      : 60 Builds Done, 57 Successful, 3 Failures.

Failure details    : 

Failure #1
FreeBSD11.0_64 / Linux 11.0-RELEASE-p1 / GCC 5.4.0
Config: x86_64-native-bsdapp-gcc
        CONFIG_RTE_BUILD_SHARED_LIB=y

PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.o  LD librte_pmd_bnxt.so.1.1
bnxt_hwrm.o: In function `bnxt_hwrm_func_qcaps':
bnxt_hwrm.c:(.text+0xc9a): undefined reference to `rte_mem_lock_page'
bnxt_hwrm.o: In function `bnxt_hwrm_ver_get':
bnxt_hwrm.c:(.text+0x150b): undefined reference to `rte_mem_lock_page'
bnxt_hwrm.o: In function `bnxt_alloc_hwrm_resources':
bnxt_hwrm.c:(.text+0x40c2): undefined reference to `rte_mem_lock_page'
bnxt_hwrm.o: In function `bnxt_hwrm_allocate_vfs':
bnxt_hwrm.c:(.text+0x65de): undefined reference to `rte_mem_lock_page'
bnxt_hwrm.o: In function `bnxt_hwrm_func_vf_vnic_query_and_config':
bnxt_hwrm.c:(.text+0x7874): undefined reference to `rte_mem_lock_page'
bnxt_hwrm.o:bnxt_hwrm.c:(.text+0x7b77): more undefined references to `rte_mem_lock_page' follow
collect2: error: ld returned 1 exit status

Failure #2
FreeBSD10.0_64 / Linux 10.0-RELEASE / GCC 4.8.4
Config: x86_64-native-bsdapp-gcc
        CONFIG_RTE_BUILD_SHARED_LIB=y

PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.o  LD librte_pmd_bnxt.so.1.1
bnxt_hwrm.o: In function `bnxt_hwrm_func_qcaps':
bnxt_hwrm.c:(.text+0xc9d): undefined reference to `rte_mem_lock_page'
bnxt_hwrm.o: In function `bnxt_hwrm_ver_get':
bnxt_hwrm.c:(.text+0x150b): undefined reference to `rte_mem_lock_page'
bnxt_hwrm.o: In function `bnxt_alloc_hwrm_resources':
bnxt_hwrm.c:(.text+0x4082): undefined reference to `rte_mem_lock_page'
bnxt_hwrm.o: In function `bnxt_hwrm_allocate_vfs':
bnxt_hwrm.c:(.text+0x659e): undefined reference to `rte_mem_lock_page'
bnxt_hwrm.o: In function `bnxt_hwrm_func_vf_vnic_query_and_config':
bnxt_hwrm.c:(.text+0x77f4): undefined reference to `rte_mem_lock_page'
bnxt_hwrm.o:bnxt_hwrm.c:(.text+0x7af7): more undefined references to `rte_mem_lock_page' follow
collect2: error: ld returned 1 exit status

Failure #3
FreeBSD10.3_64 / Linux 10.3-RELEASE / GCC 4.8.5
Config: x86_64-native-bsdapp-gcc
        CONFIG_RTE_BUILD_SHARED_LIB=y

PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.o  LD librte_pmd_bnxt.so.1.1
bnxt_hwrm.o: In function `bnxt_hwrm_func_qcaps':
bnxt_hwrm.c:(.text+0xc9a): undefined reference to `rte_mem_lock_page'
bnxt_hwrm.o: In function `bnxt_hwrm_ver_get':
bnxt_hwrm.c:(.text+0x150b): undefined reference to `rte_mem_lock_page'
bnxt_hwrm.o: In function `bnxt_alloc_hwrm_resources':
bnxt_hwrm.c:(.text+0x40c2): undefined reference to `rte_mem_lock_page'
bnxt_hwrm.o: In function `bnxt_hwrm_allocate_vfs':
bnxt_hwrm.c:(.text+0x65de): undefined reference to `rte_mem_lock_page'
bnxt_hwrm.o: In function `bnxt_hwrm_func_vf_vnic_query_and_config':
bnxt_hwrm.c:(.text+0x7874): undefined reference to `rte_mem_lock_page'
bnxt_hwrm.o:bnxt_hwrm.c:(.text+0x7b77): more undefined references to `rte_mem_lock_page' follow
collect2: error: ld returned 1 exit status
DPDK/mk/rte.lib.mk:127: recipe for target 'librte_pmd_bnxt.so.1.1' failed
DPDK/mk/rte.subdir.mk:63: recipe for target 'bnxt' failed
DPDK/mk/rte.subdir.mk:63: recipe for target 'net' failed
DPDK/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
DPDK/mk/rte.sdkroot.mk:128: recipe for target 'all' failed
DPDK/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
DPDK/mk/rte.sdkroot.mk:107: recipe for target 'install' failed

Successful builds :
UBT144_32 / Linux 3.13.0-30 / GCC 4.8.4
Config: i686-native-linuxapp-gcc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y

UBT144_32 / Linux 3.13.0-30 / ICC 16.0.2
Config: i686-native-linuxapp-icc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y

SUSE11SP2_64 / Linux 3.0.13-0 / GCC 4.5.1
Config: x86_64-native-linuxapp-gcc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

SUSE11SP2_64 / Linux 3.0.13-0 / ICC 16.0.2
Config: x86_64-native-linuxapp-icc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

UBT144_64 / Linux 3.13.0-30 / GCC 4.8.2
Config: x86_64-native-linuxapp-gcc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

UBT144_64 / Linux 3.13.0-30 / ICC 16.0.2
Config: x86_64-native-linuxapp-icc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

UBT144_64 / Linux 3.13.0-30 / CLANG 3.4-1ubuntu3
Config: x86_64-native-linuxapp-clang

SUSE-SLES12SP1_64 / Linux 3.12.62-60 / GCC 4.8.5
Config: x86_64-native-linuxapp-gcc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

SUSE-SLES12SP1_64 / Linux 3.12.62-60 / ICC 16.0.2
Config: x86_64-native-linuxapp-icc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

SUSE-SLES12SP1_64 / Linux 3.12.62-60 / CLANG 3.7.0
Config: x86_64-native-linuxapp-clang

FreeBSD11.0_64 / Linux 11.0-RELEASE-p1 / CLANG 3.8.0
Config: x86_64-native-bsdapp-clang
        CONFIG_RTE_BUILD_SHARED_LIB=y

SUSE12SP3_64 / Linux 3.7.10-1 / GCC 4.7.2
Config: x86_64-native-linuxapp-gcc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

SUSE12SP3_64 / Linux 3.7.10-1 / ICC 16.0.2
Config: x86_64-native-linuxapp-icc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

SUSE12SP3_64 / Linux 3.7.10-1 / CLANG 3.2
Config: x86_64-native-linuxapp-clang

UBT124_64 / Linux 3.8.0-29 / GCC 4.6.3
Config: x86_64-native-linuxapp-gcc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

UBT124_64 / Linux 3.8.0-29 / ICC 16.0.2
Config: x86_64-native-linuxapp-icc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

UBT124_64 / Linux 3.8.0-29 / CLANG 3.0-6ubuntu3
Config: x86_64-native-linuxapp-clang

FreeBSD10.0_64 / Linux 10.0-RELEASE / CLANG 3.3
Config: x86_64-native-bsdapp-clang
        CONFIG_RTE_BUILD_SHARED_LIB=y

FreeBSD10.3_64 / Linux 10.3-RELEASE / CLANG 3.4.1
Config: x86_64-native-bsdapp-clang
        CONFIG_RTE_BUILD_SHARED_LIB=y

FC25_64 / Linux 4.8.6-300 / GCC 6.3.1
Config: x86_64-native-linuxapp-gcc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

FC25_64 / Linux 4.8.6-300 / ICC 16.0.2
Config: x86_64-native-linuxapp-icc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

FC25_64 / Linux 4.8.6-300 / CLANG 3.9.1
Config: x86_64-native-linuxapp-clang

UBT1610_64 / Linux 4.4.0-53 / GCC 5.4.0
Config: x86_64-native-linuxapp-gcc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

UBT1610_64 / Linux 4.4.0-53 / ICC 16.0.2
Config: x86_64-native-linuxapp-icc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

UBT1610_64 / Linux 4.4.0-53 / CLANG 3.8.0-2ubuntu4
Config: x86_64-native-linuxapp-clang

UBT164_64 / Linux 4.4.0-53 / GCC 5.4.0
Config: x86_64-native-linuxapp-gcc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

UBT164_64 / Linux 4.4.0-53 / ICC 16.0.2
Config: x86_64-native-linuxapp-icc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

UBT164_64 / Linux 4.4.0-53 / CLANG 3.8.0-2ubuntu4
Config: x86_64-native-linuxapp-clang

RHEL73_64 / Linux 3.10.0-514 / GCC 4.8.5
Config: x86_64-native-linuxapp-gcc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

RHEL73_64 / Linux 3.10.0-514 / ICC 16.0.2
Config: x86_64-native-linuxapp-icc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

RHEL73_64 / Linux 3.10.0-514 / CLANG 3.4.2
Config: x86_64-native-linuxapp-clang

CENTOS72_64 / Linux 3.10.0-327 / GCC 4.8.5
Config: x86_64-native-linuxapp-gcc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

CENTOS72_64 / Linux 3.10.0-327 / ICC 16.0.2
Config: x86_64-native-linuxapp-icc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

CENTOS72_64 / Linux 3.10.0-327 / CLANG 3.4.2
Config: x86_64-native-linuxapp-clang

FC20_64 / Linux 3.15.6-200 / GCC 4.8.3
Config: x86_64-native-linuxapp-gcc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

FC20_64 / Linux 3.15.6-200 / ICC 16.0.2
Config: x86_64-native-linuxapp-icc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

FC20_64 / Linux 3.15.6-200 / CLANG 3.4
Config: x86_64-native-linuxapp-clang

FC18_64 / Linux 3.6.10-4 / GCC 4.7.2
Config: x86_64-native-linuxapp-gcc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

FC18_64 / Linux 3.6.10-4 / ICC 16.0.2
Config: x86_64-native-linuxapp-icc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

FC18_64 / Linux 3.6.10-4 / CLANG 3.1
Config: x86_64-native-linuxapp-clang

FC24_64 / Linux 4.7.2-201 / GCC 6.3.1
Config: x86_64-native-linuxapp-gcc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

FC24_64 / Linux 4.7.2-201 / ICC 16.0.2
Config: x86_64-native-linuxapp-icc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

FC24_64 / Linux 4.7.2-201 / CLANG 3.8.0
Config: x86_64-native-linuxapp-clang

FC20_32 / Linux 3.19.8-100 / GCC 4.8.3
Config: i686-native-linuxapp-gcc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y

FC20_32 / Linux 3.19.8-100 / ICC 16.0.2
Config: i686-native-linuxapp-icc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y

RHEL72_64 / Linux 3.10.0-327 / GCC 4.8.5
Config: x86_64-native-linuxapp-gcc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

RHEL72_64 / Linux 3.10.0-327 / ICC 16.0.2
Config: x86_64-native-linuxapp-icc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

RHEL72_64 / Linux 3.10.0-327 / CLANG 3.4.2
Config: x86_64-native-linuxapp-clang

FC21_64 / Linux 4.1.13-100 / GCC 4.9.2
Config: x86_64-native-linuxapp-gcc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

FC21_64 / Linux 4.1.13-100 / ICC 16.0.2
Config: x86_64-native-linuxapp-icc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

FC21_64 / Linux 4.1.13-100 / CLANG 3.5.0
Config: x86_64-native-linuxapp-clang

CENTOS70_64 / Linux 3.10.0-327 / GCC 4.8.5
Config: x86_64-native-linuxapp-gcc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

CENTOS70_64 / Linux 3.10.0-327 / ICC 16.0.2
Config: x86_64-native-linuxapp-icc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

CENTOS70_64 / Linux 3.10.0-327 / CLANG 3.4.2
Config: x86_64-native-linuxapp-clang

RHEL70_64 / Linux 3.10.0-123 / GCC 4.8.5
Config: x86_64-native-linuxapp-gcc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

RHEL70_64 / Linux 3.10.0-123 / ICC 16.0.2
Config: x86_64-native-linuxapp-icc
        CONFIG_RTE_LIBRTE_PMD_PCAP=y,
        CONFIG_RTE_NIC_BYPASS=y,
        CONFIG_RTE_BUILD_SHARED_LIB=y,
        CONFIG_RTE_LIBRTE_VHOST=y,
        CONFIG_RTE_LIBRTE_PMD_QAT=y,
        CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y,
        CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y

RHEL70_64 / Linux 3.10.0-123 / CLANG 3.4.2
Config: x86_64-native-linuxapp-clang


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [dpdk-dev] [PATCH] mem: support page locking on FreeBSD
  2017-06-15 13:43 ` [dpdk-dev] [dpdk-test-report] | ERROR | daily Intel builds (57/60) Wei, FangfangX
@ 2017-06-15 17:50   ` Thomas Monjalon
  2017-06-16 14:31     ` Bruce Richardson
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Monjalon @ 2017-06-15 17:50 UTC (permalink / raw)
  To: ajit.khaparde; +Cc: fangfangx.wei, dev

The function rte_mem_lock_page() was added for Linux only.
The file eal_common_memory.c is a better place to make it
available in FreeBSD also.

The issue is seen when trying to compile bnxt on FreeBSD:
	bnxt_hwrm.c: undefined reference to `rte_mem_lock_page'

Fixes: 3097de6e6bfb ("mem: get physical address of any pointer")

Reported-by: Fangfang Wei <fangfangx.wei@intel.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
 lib/librte_eal/common/eal_common_memory.c | 12 ++++++++++++
 lib/librte_eal/linuxapp/eal/eal_memory.c  | 10 ----------
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/lib/librte_eal/common/eal_common_memory.c b/lib/librte_eal/common/eal_common_memory.c
index 6155752e9..279457001 100644
--- a/lib/librte_eal/common/eal_common_memory.c
+++ b/lib/librte_eal/common/eal_common_memory.c
@@ -35,7 +35,9 @@
 #include <stdint.h>
 #include <stdlib.h>
 #include <stdarg.h>
+#include <unistd.h>
 #include <inttypes.h>
+#include <sys/mman.h>
 #include <sys/queue.h>
 
 #include <rte_memory.h>
@@ -135,6 +137,16 @@ rte_eal_memdevice_init(void)
 	return 0;
 }
 
+/* Lock page in physical memory and prevent from swapping. */
+int
+rte_mem_lock_page(const void *virt)
+{
+	unsigned long virtual = (unsigned long)virt;
+	int page_size = getpagesize();
+	unsigned long aligned = (virtual & ~ (page_size - 1));
+	return mlock((void*)aligned, page_size);
+}
+
 /* init memory subsystem */
 int
 rte_eal_memory_init(void)
diff --git a/lib/librte_eal/linuxapp/eal/eal_memory.c b/lib/librte_eal/linuxapp/eal/eal_memory.c
index 9c9baf628..e17c9cb5d 100644
--- a/lib/librte_eal/linuxapp/eal/eal_memory.c
+++ b/lib/librte_eal/linuxapp/eal/eal_memory.c
@@ -118,16 +118,6 @@ test_phys_addrs_available(void)
 	}
 }
 
-/* Lock page in physical memory and prevent from swapping. */
-int
-rte_mem_lock_page(const void *virt)
-{
-	unsigned long virtual = (unsigned long)virt;
-	int page_size = getpagesize();
-	unsigned long aligned = (virtual & ~ (page_size - 1));
-	return mlock((void*)aligned, page_size);
-}
-
 /*
  * Get physical address of any mapped virtual address in the current process.
  */
-- 
2.13.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] mem: support page locking on FreeBSD
  2017-06-15 17:50   ` [dpdk-dev] [PATCH] mem: support page locking on FreeBSD Thomas Monjalon
@ 2017-06-16 14:31     ` Bruce Richardson
  2017-06-16 14:52       ` Thomas Monjalon
  0 siblings, 1 reply; 4+ messages in thread
From: Bruce Richardson @ 2017-06-16 14:31 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: ajit.khaparde, fangfangx.wei, dev

On Thu, Jun 15, 2017 at 07:50:55PM +0200, Thomas Monjalon wrote:
> The function rte_mem_lock_page() was added for Linux only.
> The file eal_common_memory.c is a better place to make it
> available in FreeBSD also.
> 
> The issue is seen when trying to compile bnxt on FreeBSD:
> 	bnxt_hwrm.c: undefined reference to `rte_mem_lock_page'
> 
> Fixes: 3097de6e6bfb ("mem: get physical address of any pointer")
> 
> Reported-by: Fangfang Wei <fangfangx.wei@intel.com>
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> ---
This fixes gcc and clang errors on FreeBSD so

Acked-by: Bruce Richardson <bruce.richardson@intel.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] mem: support page locking on FreeBSD
  2017-06-16 14:31     ` Bruce Richardson
@ 2017-06-16 14:52       ` Thomas Monjalon
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2017-06-16 14:52 UTC (permalink / raw)
  To: dev; +Cc: Bruce Richardson, ajit.khaparde, fangfangx.wei

16/06/2017 16:31, Bruce Richardson:
> On Thu, Jun 15, 2017 at 07:50:55PM +0200, Thomas Monjalon wrote:
> > The function rte_mem_lock_page() was added for Linux only.
> > The file eal_common_memory.c is a better place to make it
> > available in FreeBSD also.
> > 
> > The issue is seen when trying to compile bnxt on FreeBSD:
> > 	bnxt_hwrm.c: undefined reference to `rte_mem_lock_page'
> > 
> > Fixes: 3097de6e6bfb ("mem: get physical address of any pointer")
> > 
> > Reported-by: Fangfang Wei <fangfangx.wei@intel.com>
> > Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> > ---
> This fixes gcc and clang errors on FreeBSD so
> 
> Acked-by: Bruce Richardson <bruce.richardson@intel.com>

Applied

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-06-16 14:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <ac403b$3dpoa8@fmsmga006.fm.intel.com>
2017-06-15 13:43 ` [dpdk-dev] [dpdk-test-report] | ERROR | daily Intel builds (57/60) Wei, FangfangX
2017-06-15 17:50   ` [dpdk-dev] [PATCH] mem: support page locking on FreeBSD Thomas Monjalon
2017-06-16 14:31     ` Bruce Richardson
2017-06-16 14:52       ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).