Last active
July 17, 2018 07:05
-
-
Save stanislav-chlebec/b622b12ec5b4a976a74e6de20e8a6fc1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################### | |
stanislav@contivvpp:~$ uname -r | |
4.10.0-38-generic | |
################################################################### | |
stanislav@contivvpp:~$ lsb_release -a | |
No LSB modules are available. | |
Distributor ID: Ubuntu | |
Description: Ubuntu 16.04.4 LTS | |
Release: 16.04 | |
Codename: xenial | |
################################################################### | |
stanislav@contivvpp:~$ lsmod | |
Module Size Used by | |
xt_nat 16384 1 | |
xt_tcpudp 16384 7 | |
ip_set 53248 0 | |
ip_vs_sh 16384 0 | |
ip_vs_wrr 16384 0 | |
ip_vs_rr 16384 0 | |
ip_vs 184320 6 ip_vs_wrr,ip_vs_rr,ip_vs_sh | |
xt_comment 16384 21 | |
xt_mark 16384 5 | |
vfio_pci 49152 0 | |
irqbypass 16384 1 vfio_pci | |
vfio_iommu_type1 24576 0 | |
vfio_virqfd 16384 1 vfio_pci | |
vfio 40960 2 vfio_iommu_type1,vfio_pci | |
ipt_MASQUERADE 16384 2 | |
nf_nat_masquerade_ipv4 16384 1 ipt_MASQUERADE | |
nf_conntrack_netlink 49152 0 | |
nfnetlink 16384 3 ip_set,nf_conntrack_netlink | |
xfrm_user 40960 1 | |
xfrm_algo 16384 1 xfrm_user | |
iptable_nat 16384 1 | |
nf_conntrack_ipv4 24576 9 | |
nf_defrag_ipv4 16384 1 nf_conntrack_ipv4 | |
nf_nat_ipv4 16384 1 iptable_nat | |
xt_addrtype 16384 4 | |
xt_conntrack 16384 5 | |
nf_nat 36864 3 xt_nat,nf_nat_masquerade_ipv4,nf_nat_ipv4 | |
nf_conntrack 163840 9 ip_vs,xt_nat,nf_conntrack_ipv4,ipt_MASQUERADE,nf_conntrack_netlink,nf_nat_masquerade_ipv4,xt_conntrack,nf_nat_ipv4,nf_nat | |
br_netfilter 24576 0 | |
bridge 172032 1 br_netfilter | |
stp 16384 1 bridge | |
llc 16384 2 bridge,stp | |
overlay 69632 12 | |
aufs 290816 0 | |
ipt_REJECT 16384 4 | |
nf_reject_ipv4 16384 1 ipt_REJECT | |
xt_multiport 16384 1 | |
iptable_filter 16384 1 | |
ip_tables 32768 2 iptable_filter,iptable_nat | |
x_tables 45056 11 xt_comment,xt_multiport,ipt_REJECT,xt_nat,ip_tables,iptable_filter,xt_mark,xt_tcpudp,ipt_MASQUERADE,xt_addrtype,xt_conntrack | |
cavium_rng_vf 16384 0 | |
nls_iso8859_1 16384 1 | |
i2c_thunderx 20480 0 | |
i2c_smbus 16384 1 i2c_thunderx | |
aes_ce_blk 20480 0 | |
crypto_simd 16384 1 aes_ce_blk | |
cryptd 32768 1 crypto_simd | |
aes_ce_cipher 16384 1 aes_ce_blk | |
crc32_ce 16384 0 | |
crct10dif_ce 16384 0 | |
ghash_ce 16384 0 | |
sha2_ce 16384 0 | |
sha1_ce 16384 0 | |
gpio_keys 20480 0 | |
shpchp 49152 0 | |
cavium_rng 16384 0 | |
uio_pdrv_genirq 16384 0 | |
uio 24576 1 uio_pdrv_genirq | |
tcp_westwood 16384 164 | |
ib_iser 65536 0 | |
rdma_cm 61440 1 ib_iser | |
iw_cm 53248 1 rdma_cm | |
ib_cm 53248 1 rdma_cm | |
ib_core 249856 4 ib_iser,ib_cm,rdma_cm,iw_cm | |
configfs 49152 2 rdma_cm | |
iscsi_tcp 24576 0 | |
libiscsi_tcp 28672 1 iscsi_tcp | |
libiscsi 61440 3 ib_iser,libiscsi_tcp,iscsi_tcp | |
scsi_transport_iscsi 118784 4 ib_iser,libiscsi,iscsi_tcp | |
dm_multipath 32768 0 | |
autofs4 53248 2 | |
raid10 57344 0 | |
raid456 151552 0 | |
async_raid6_recov 20480 1 raid456 | |
async_memcpy 16384 2 raid456,async_raid6_recov | |
async_pq 20480 2 raid456,async_raid6_recov | |
async_xor 16384 3 async_pq,raid456,async_raid6_recov | |
async_tx 16384 5 async_xor,async_pq,raid456,async_memcpy,async_raid6_recov | |
xor 20480 1 async_xor | |
raid6_pq 106496 3 async_pq,raid456,async_raid6_recov | |
libcrc32c 16384 3 ip_vs,raid456,nf_nat | |
raid1 45056 0 | |
raid0 20480 0 | |
multipath 20480 0 | |
linear 16384 0 | |
nicvf 65536 0 | |
nicpf 24576 0 | |
ast 69632 0 | |
i2c_algo_bit 16384 1 ast | |
ttm 118784 1 ast | |
drm_kms_helper 196608 1 ast | |
syscopyarea 16384 1 drm_kms_helper | |
sysfillrect 16384 1 drm_kms_helper | |
sysimgblt 16384 1 drm_kms_helper | |
fb_sys_fops 16384 1 drm_kms_helper | |
drm 454656 4 ast,ttm,drm_kms_helper | |
ahci 36864 2 | |
libahci 45056 1 ahci | |
thunder_bgx 28672 1 nicpf | |
thunder_xcv 16384 1 thunder_bgx | |
mdio_thunder 16384 0 | |
mdio_cavium 16384 1 mdio_thunder | |
################################################################### | |
stanislav@contivvpp:~$ ip a | |
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 | |
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 | |
inet 127.0.0.1/8 scope host lo | |
valid_lft forever preferred_lft forever | |
inet6 ::1/128 scope host | |
valid_lft forever preferred_lft forever | |
2: enP2p1s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 | |
link/ether 30:0e:d5:ff:0d:fd brd ff:ff:ff:ff:ff:ff | |
inet 147.75.72.194/30 brd 147.75.72.195 scope global enP2p1s0f1 | |
valid_lft forever preferred_lft forever | |
inet6 fe80::320e:d5ff:feff:dfd/64 scope link | |
valid_lft forever preferred_lft forever | |
4: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default | |
link/ether 02:42:f9:7c:51:48 brd ff:ff:ff:ff:ff:ff | |
inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0 | |
valid_lft forever preferred_lft forever | |
################################################################### | |
stanislav@contivvpp:~$ sudo lshw -class network -businfo | |
[sudo] password for stanislav: | |
Bus info Device Class Description | |
==================================================== | |
pci@0000:01:10.0 network THUNDERX BGX (Common Ethernet Interface) | |
pci@0002:01:00.0 network THUNDERX Network Interface Controller | |
pci@0002:01:00.1 enP2p1s0f1 network Illegal Vendor ID | |
pci@0002:01:00.2 network Illegal Vendor ID | |
pci@0002:01:00.3 network Illegal Vendor ID | |
pci@0002:01:00.4 network Illegal Vendor ID | |
pci@0002:01:00.5 network Illegal Vendor ID | |
pci@0002:01:00.6 network Illegal Vendor ID | |
pci@0002:01:00.7 network Illegal Vendor ID | |
pci@0002:01:01.0 network Illegal Vendor ID | |
pci@0002:01:01.1 network Illegal Vendor ID | |
pci@0002:01:01.2 network Illegal Vendor ID | |
pci@0002:01:01.3 network Illegal Vendor ID | |
pci@0002:01:01.4 network Illegal Vendor ID | |
pci@0002:01:01.5 network Illegal Vendor ID | |
pci@0002:01:01.6 network Illegal Vendor ID | |
pci@0002:01:01.7 network Illegal Vendor ID | |
pci@0002:01:02.0 network Illegal Vendor ID | |
pci@0002:01:02.1 network Illegal Vendor ID | |
pci@0002:01:02.2 network Illegal Vendor ID | |
pci@0002:01:02.3 network Illegal Vendor ID | |
pci@0002:01:02.4 network Illegal Vendor ID | |
pci@0002:01:02.5 network Illegal Vendor ID | |
pci@0002:01:02.6 network Illegal Vendor ID | |
pci@0002:01:02.7 network Illegal Vendor ID | |
pci@0002:01:03.0 network Illegal Vendor ID | |
pci@0002:00:03.0 network THUNDERX Traffic Network Switch | |
pci@0006:01:00.0 network THUNDERX Network Interface Controller | |
pci@0006:00:03.0 network THUNDERX Traffic Network Switch | |
stanislav@contivvpp:~$ | |
################################################################### | |
stanislav@contivvpp:~/dpdk/usertools$ ./dpdk-devbind.py --status | |
Network devices using DPDK-compatible driver | |
============================================ | |
0002:01:00.2 'Device a034' drv=vfio-pci unused=nicvf | |
Network devices using kernel driver | |
=================================== | |
0000:01:10.0 'THUNDERX BGX (Common Ethernet Interface) a026' if= drv=thunder-BGX unused=thunder_bgx,vfio-pci | |
0002:01:00.0 'THUNDERX Network Interface Controller a01e' if= drv=thunder-nic unused=nicpf,vfio-pci | |
0002:01:00.1 'Device a034' if=enP2p1s0f1 drv=thunder-nicvf unused=nicvf,vfio-pci *Active* | |
0002:01:00.3 'Device a034' if= drv=thunder-nicvf unused=nicvf,vfio-pci | |
0002:01:00.4 'Device a034' if= drv=thunder-nicvf unused=nicvf,vfio-pci | |
0002:01:00.5 'Device a034' if= drv=thunder-nicvf unused=nicvf,vfio-pci | |
0002:01:00.6 'Device a034' if= drv=thunder-nicvf unused=nicvf,vfio-pci | |
0002:01:00.7 'Device a034' if= drv=thunder-nicvf unused=nicvf,vfio-pci | |
0002:01:01.0 'Device a034' if= drv=thunder-nicvf unused=nicvf,vfio-pci | |
0002:01:01.1 'Device a034' if= drv=thunder-nicvf unused=nicvf,vfio-pci | |
0002:01:01.2 'Device a034' if= drv=thunder-nicvf unused=nicvf,vfio-pci | |
0002:01:01.3 'Device a034' if= drv=thunder-nicvf unused=nicvf,vfio-pci | |
0002:01:01.4 'Device a034' if= drv=thunder-nicvf unused=nicvf,vfio-pci | |
0002:01:01.5 'Device a034' if= drv=thunder-nicvf unused=nicvf,vfio-pci | |
0002:01:01.6 'Device a034' if= drv=thunder-nicvf unused=nicvf,vfio-pci | |
0002:01:01.7 'Device a034' if= drv=thunder-nicvf unused=nicvf,vfio-pci | |
0002:01:02.0 'Device a034' if= drv=thunder-nicvf unused=nicvf,vfio-pci | |
0002:01:02.1 'Device a034' if= drv=thunder-nicvf unused=nicvf,vfio-pci | |
0002:01:02.2 'Device a034' if= drv=thunder-nicvf unused=nicvf,vfio-pci | |
0002:01:02.3 'Device a034' if= drv=thunder-nicvf unused=nicvf,vfio-pci | |
0002:01:02.4 'Device a034' if= drv=thunder-nicvf unused=nicvf,vfio-pci | |
0002:01:02.5 'Device a034' if= drv=thunder-nicvf unused=nicvf,vfio-pci | |
0002:01:02.6 'Device a034' if= drv=thunder-nicvf unused=nicvf,vfio-pci | |
0002:01:02.7 'Device a034' if= drv=thunder-nicvf unused=nicvf,vfio-pci | |
0002:01:03.0 'Device a034' if= drv=thunder-nicvf unused=nicvf,vfio-pci | |
0006:01:00.0 'THUNDERX Network Interface Controller a01e' if= drv=thunder-nic unused=nicpf,vfio-pci | |
Other Network devices | |
===================== | |
0002:00:03.0 'THUNDERX Traffic Network Switch a01f' unused=vfio-pci | |
0006:00:03.0 'THUNDERX Traffic Network Switch a01f' unused=vfio-pci | |
Crypto devices using DPDK-compatible driver | |
=========================================== | |
<none> | |
Crypto devices using kernel driver | |
================================== | |
<none> | |
Other Crypto devices | |
==================== | |
<none> | |
Eventdev devices using DPDK-compatible driver | |
============================================= | |
<none> | |
Eventdev devices using kernel driver | |
==================================== | |
<none> | |
Other Eventdev devices | |
====================== | |
<none> | |
Mempool devices using DPDK-compatible driver | |
============================================ | |
<none> | |
Mempool devices using kernel driver | |
=================================== | |
<none> | |
Other Mempool devices | |
===================== | |
<none> | |
################################################################### | |
stanislav@contivvpp:~/dpdk/usertools$ docker --version | |
Docker version 18.06.0-ce-rc3, build cbfa3d9 | |
stanislav@contivvpp:~/dpdk/usertools$ | |
################################################################### | |
stanislav@contivvpp:~/dpdk/usertools$ make --version | |
GNU Make 4.1 | |
Built for aarch64-unknown-linux-gnu | |
Copyright (C) 1988-2014 Free Software Foundation, Inc. | |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. | |
stanislav@contivvpp:~/dpdk/usertools$ | |
################################################################### | |
I installed gcc according this manual | |
https://gist.github.com/application2000/73fd6f4bf1be6600a2cf9f56315a2d91 | |
sudo apt-get update && \ | |
sudo apt-get install build-essential software-properties-common -y && \ | |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \ | |
sudo apt-get update && \ | |
sudo apt-get install gcc-snapshot -y && \ | |
sudo apt-get update && \ | |
sudo apt-get install gcc-6 g++-6 -y && \ | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6 && \ | |
sudo apt-get install gcc-4.8 g++-4.8 -y && \ | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8; | |
################################################################### | |
{ | |
OTHER MACHIINE WITH UBUNTU 18.04 | |
where I had problems compiling DPDK | |
stanislav@vppagent:~$ gcc --version | |
gcc (Ubuntu/Linaro 7.3.0-16ubuntu3) 7.3.0 | |
Copyright (C) 2017 Free Software Foundation, Inc. | |
This is free software; see the source for copying conditions. There is NO | |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
} | |
################################################################### | |
stanislav@contivvpp:~/dpdk/usertools$ gcc --version | |
gcc (Ubuntu/Linaro 6.4.0-17ubuntu1~16.04) 6.4.0 20180424 | |
Copyright (C) 2017 Free Software Foundation, Inc. | |
This is free software; see the source for copying conditions. There is NO | |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
################################################################### | |
stanislav@contivvpp:~/dpdk/usertools$ gcc -dumpspecs | |
*asm: | |
%{mbig-endian:-EB} %{mlittle-endian:-EL} %{march=*:-march=%*} %(asm_cpu_spec)%{mabi=*:-mabi=%*} | |
*asm_debug: | |
%{g*:%{!g0:--gdwarf2}} %{fdebug-prefix-map=*:--debug-prefix-map %*} | |
*asm_final: | |
%{gsplit-dwarf: | |
objcopy --extract-dwo %{c:%{o*:%*}%{!o*:%b%O}}%{!c:%U%O} %{c:%{o*:%:replace-extension(%{o*:%*} .dwo)}%{!o*:%b.dwo}}%{!c:%b.dwo} | |
objcopy --strip-dwo %{c:%{o*:%*}%{!o*:%b%O}}%{!c:%U%O} } | |
*asm_options: | |
%{-target-help:%:print-asm-header()} %{v} %{w:-W} %{I*} %{gz|gz=zlib:--compress-debug-sections=zlib} %{gz=none:--compress-debug-sections=none} %{gz=zlib-gnu:--compress-debug-sections=zlib-gnu} %a %Y %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O} | |
*invoke_as: | |
%{!fwpa*: %{fcompare-debug=*|fdump-final-insns=*:%:compare-debug-dump-opt()} %{!S:-o %|.s | | |
as %(asm_options) %m.s %A } } | |
*cpp: | |
%{pthread:-D_REENTRANT} | |
*cpp_options: | |
%(cpp_unique_options) %1 %{m*} %{std*&ansi&trigraphs} %{W*&pedantic*} %{w} %{f*} %{g*:%{!g0:%{g*} %{!fno-working-directory:-fworking-directory}}} %{O*} %{undef} %{save-temps*:-fpch-preprocess} %(ssp_default) | |
*cpp_debug_options: | |
%{d*} | |
*cpp_unique_options: | |
%{!Q:-quiet} %{nostdinc*} %{C} %{CC} %{v} %{I*&F*} %{P} %I %{MD:-MD %{!o:%b.d}%{o*:%.d%*}} %{MMD:-MMD %{!o:%b.d}%{o*:%.d%*}} %{M} %{MM} %{MF*} %{MG} %{MP} %{MQ*} %{MT*} %{!E:%{!M:%{!MM:%{!MT:%{!MQ:%{MD|MMD:%{o*:-MQ %*}}}}}}} %{remap} %{g3|ggdb3|gstabs3|gcoff3|gxcoff3|gvms3:-dD} %{!iplugindir*:%{fplugin*:%:find-plugindir()}} %{H} %C %{D*&U*&A*} %{i*} %Z %i %{E|M|MM:%W{o*}} | |
*trad_capable_cpp: | |
cc1 -E %{traditional|traditional-cpp:-traditional-cpp} | |
*cc1: | |
%{profile:-p}%{%:sanitize(address):-funwind-tables} | |
*cc1_options: | |
%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}} %{!iplugindir*:%{fplugin*:%:find-plugindir()}} %1 %{!Q:-quiet} %{!dumpbase:-dumpbase %B} %{d*} %{m*} %{aux-info*} %{fcompare-debug-second:%:compare-debug-auxbase-opt(%b)} %{!fcompare-debug-second:%{c|S:%{o*:-auxbase-strip %*}%{!o*:-auxbase %b}}}%{!c:%{!S:-auxbase %b}} %{g*} %{O*} %{W*&pedantic*} %{w} %{std*&ansi&trigraphs} %{v:-version} %{pg:-p} %{p} %{f*} %{undef} %{Qn:-fno-ident} %{Qy:} %{-help:--help} %{-target-help:--target-help} %{-version:--version} %{-help=*:--help=%*} %{!fsyntax-only:%{S:%W{o*}%{!o*:-o %b.s}}} %{fsyntax-only:-o %j} %{-param*} %{coverage:-fprofile-arcs -ftest-coverage} | |
*cc1plus: | |
*link_gcc_c_sequence: | |
%{static:--start-group} %G %L %{static:--end-group}%{!static:%G} | |
*link_ssp: | |
%{fstack-protector|fstack-protector-all|fstack-protector-strong|fstack-protector-explicit:} | |
*ssp_default: | |
%{!fno-stack-protector:%{!fstack-protector-all:%{!ffreestanding:%{!nostdlib:%{!fstack-protector:-fstack-protector-strong}}}}} %{!Wformat:%{!Wformat=2:%{!Wformat=0:%{!Wall:-Wformat} %{!Wno-format-security:-Wformat-security}}}} | |
*endfile: | |
%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} %{fvtable-verify=none:%s; fvtable-verify=preinit:vtv_end_preinit.o%s; fvtable-verify=std:vtv_end.o%s} %{static:crtend.o%s; shared|pie:crtendS.o%s; :crtend.o%s} crtn.o%s | |
*link: | |
%{!r:--build-id} %{!static:--eh-frame-hdr} %{h*} --hash-style=gnu --as-needed %{static:-Bstatic} %{shared:-shared} %{symbolic:-Bsymbolic} %{!static: %{rdynamic:-export-dynamic} %{!shared:-dynamic-linker %{muclibc:/lib/ld-uClibc.so.0;:%{mbionic:/system/bin/linker;:%{mmusl:/lib/ld-musl-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1;:/lib/ld-linux-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1}}}}} -X %{mbig-endian:-EB} %{mlittle-endian:-EL} -maarch64linux%{mabi=ilp32:32}%{mbig-endian:b} %{mfix-cortex-a53-835769:--fix-cortex-a53-835769} %{!mno-fix-cortex-a53-843419:--fix-cortex-a53-843419} | |
*lib: | |
%{pthread:-lpthread} %{shared:-lc} %{!shared:%{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc}} | |
*link_gomp: | |
*libgcc: | |
%{static|static-libgcc:-lgcc -lgcc_eh}%{!static:%{!static-libgcc:%{!shared-libgcc:-lgcc --push-state --as-needed -lgcc_s --pop-state}%{shared-libgcc:-lgcc_s%{!shared: -lgcc}}}} | |
*startfile: | |
%{shared:; pg|p|profile:gcrt1.o%s; static:crt1.o%s; pie:Scrt1.o%s; :crt1.o%s} crti.o%s %{static:crtbeginT.o%s; shared|pie:crtbeginS.o%s; :crtbegin.o%s} %{fvtable-verify=none:%s; fvtable-verify=preinit:vtv_start_preinit.o%s; fvtable-verify=std:vtv_start.o%s} | |
*cross_compile: | |
0 | |
*version: | |
6.4.0 | |
*multilib: | |
. !mabi=lp64;lp64:../lib:aarch64-linux-gnu mabi=lp64; | |
*multilib_defaults: | |
mabi=lp64 | |
*multilib_extra: | |
*multilib_matches: | |
mabi=lp64 mabi=lp64; | |
*multilib_exclusions: | |
*multilib_options: | |
mabi=lp64 | |
*multilib_reuse: | |
*linker: | |
collect2 | |
*linker_plugin_file: | |
*lto_wrapper: | |
*lto_gcc: | |
*post_link: | |
*link_libgcc: | |
%D | |
*md_exec_prefix: | |
*md_startfile_prefix: | |
*md_startfile_prefix_1: | |
*startfile_prefix_spec: | |
*sysroot_spec: | |
--sysroot=%R | |
*sysroot_suffix_spec: | |
*sysroot_hdrs_suffix_spec: | |
*self_spec: | |
*asm_cpu_spec: | |
%{mcpu=*:-march=%:rewrite_mcpu(%{mcpu=*:%*})} | |
*link_command: | |
%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S: %(linker) %{!fno-use-linker-plugin:%{!fno-lto: -plugin %(linker_plugin_file) -plugin-opt=%(lto_wrapper) -plugin-opt=-fresolution=%u.res %{!nostdlib:%{!nodefaultlibs:%:pass-through-libs(%(link_gcc_c_sequence))}} }}%{flto|flto=*:%<fcompare-debug*} %{flto} %{fno-lto} %{flto=*} %l %{static|shared|r:;pie:-pie} %{fuse-ld=*:-fuse-ld=%*} %{gz|gz=zlib:--compress-debug-sections=zlib} %{gz=none:--compress-debug-sections=none} %{gz=zlib-gnu:--compress-debug-sections=zlib-gnu} -z relro %X %{o*} %{e*} %{N} %{n} %{r} %{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!nostartfiles:%S}} %{static|no-pie:} %{L*} %(mfwrap) %(link_libgcc) %{!nostdlib:%{fvtable-verify=std: -lvtv -u_vtable_map_vars_start -u_vtable_map_vars_end} %{fvtable-verify=preinit: -lvtv -u_vtable_map_vars_start -u_vtable_map_vars_end}} %{!nostdlib:%{!nodefaultlibs:%{%:sanitize(address):%{!shared:libasan_preinit%O%s} %{static-libasan:%{!shared:-Bstatic --whole-archive -lasan --no-whole-archive -Bdynamic}}%{!static-libasan:%{!fuse-ld=gold:--push-state} --no-as-needed -lasan %{fuse-ld=gold:--as-needed;:--pop-state}}} %{%:sanitize(thread):%{static-libtsan:%{!shared:-Bstatic --whole-archive -ltsan --no-whole-archive -Bdynamic}}%{!static-libtsan:%{!fuse-ld=gold:--push-state} --no-as-needed -ltsan %{fuse-ld=gold:--as-needed;:--pop-state}}} %{%:sanitize(leak):%{static-liblsan:%{!shared:-Bstatic --whole-archive -llsan --no-whole-archive -Bdynamic}}%{!static-liblsan:%{!fuse-ld=gold:--push-state} --no-as-needed -llsan %{fuse-ld=gold:--as-needed;:--pop-state}}}}} %o %{fopenacc|fopenmp|%:gt(%{ftree-parallelize-loops=*:%*} 1): %:include(libgomp.spec)%(link_gomp)} %{fcilkplus:%:include(libcilkrts.spec)%(link_cilkrts)} %{fgnu-tm:%:include(libitm.spec)%(link_itm)} %(mflib) %{fsplit-stack: --wrap=pthread_create} %{fprofile-arcs|fprofile-generate*|coverage:-lgcov} %{!nostdlib:%{!nodefaultlibs:%{%:sanitize(address): %{static-libasan:%:include(libsanitizer.spec)%(link_libasan)} %{static:%ecannot specify -static with -fsanitize=address}} %{%:sanitize(thread): %{static-libtsan:%:include(libsanitizer.spec)%(link_libtsan)} %{static:%ecannot specify -static with -fsanitize=thread}} %{%:sanitize(undefined):%{static-libubsan:-Bstatic} %{!static-libubsan:%{!fuse-ld=gold:--push-state }--no-as-needed} -lubsan %{static-libubsan:-Bdynamic} %{!static-libubsan:%{fuse-ld=gold:--as-needed;:--pop-state}} %{static-libubsan:%:include(libsanitizer.spec)%(link_libubsan)}} %{%:sanitize(leak): %{static-liblsan:%:include(libsanitizer.spec)%(link_liblsan)}}}} %{!nostdlib:%{!nodefaultlibs:%(link_ssp) %(link_gcc_c_sequence)}} %{!nostdlib:%{!nostartfiles:%E}} %{T*} | |
%(post_link) }}}}}} | |
stanislav@contivvpp:~/dpdk/usertools$ | |
################################################################### | |
stanislav@contivvpp:/boot$ cat config-4.10.0- | |
config-4.10.0-26-generic config-4.10.0-38-generic | |
stanislav@contivvpp:/boot$ cat config-4.10.0-38-generic | grep HUGETLBFS | |
CONFIG_SYS_SUPPORTS_HUGETLBFS=y | |
CONFIG_HUGETLBFS=y | |
stanislav@contivvpp:/boot$ cat config-4.10.0-38-generic | grep PROC_PAGE_MONITOR | |
CONFIG_PROC_PAGE_MONITOR=y | |
stanislav@contivvpp:/boot$ cat config-4.10.0-38-generic | grep HPET | |
# CONFIG_HPET is not set | |
stanislav@contivvpp:/boot$ | |
stanislav@contivvpp:/boot$ cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages | |
0 | |
stanislav@contivvpp:/boot$ cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages | |
0 | |
stanislav@contivvpp:/boot$ echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages | |
-bash: /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages: Permission denied | |
stanislav@contivvpp:/boot$ sudo echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages | |
-bash: /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages: Permission denied | |
stanislav@contivvpp:/boot$ cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages | |
0 | |
stanislav@contivvpp:/boot$ sudo echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages | |
-bash: /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages: Permission denied | |
stanislav@contivvpp:/boot$ cat /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages | |
0 | |
stanislav@contivvpp:/boot$ cat /sys/devices/system/node/node1/hugepages/hugepages-2048kB/nr_hugepages | |
0 | |
stanislav@contivvpp:/boot$ sudo echo 1024 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages | |
-bash: /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages: Permission denied | |
stanislav@contivvpp:/boot$ | |
stanislav@contivvpp:/boot$ | |
################################################################### | |
############### C O M P I L I N G ########################## | |
################################################################### | |
stanislav@contivvpp:~/dpdk$ make install T=arm64_thunderx_linuxapp_gcc | |
make[3]: *** No rule to make target '/home/stanislav/dpdk/config/defconfig_arm64_thunderx_linuxapp_gcc', needed by '/home/stanislav/dpdk/arm64_thunderx_linuxapp_gcc/.config'. Stop. | |
/home/stanislav/dpdk/mk/rte.sdkroot.mk:65: recipe for target 'config' failed | |
make[2]: *** [config] Error 2 | |
/home/stanislav/dpdk/mk/rte.sdkinstall.mk:57: recipe for target 'pre_install' failed | |
make[1]: *** [pre_install] Error 2 | |
/home/stanislav/dpdk/mk/rte.sdkroot.mk:79: recipe for target 'install' failed | |
make: *** [install] Error 2 | |
stanislav@contivvpp:~/dpdk$ | |
stanislav@contivvpp:~/dpdk$ make install T=arm64_native_linuxapp_gcc | |
make[3]: *** No rule to make target '/home/stanislav/dpdk/config/defconfig_arm64_native_linuxapp_gcc', needed by '/home/stanislav/dpdk/arm64_native_linuxapp_gcc/.config'. Stop. | |
/home/stanislav/dpdk/mk/rte.sdkroot.mk:65: recipe for target 'config' failed | |
make[2]: *** [config] Error 2 | |
/home/stanislav/dpdk/mk/rte.sdkinstall.mk:57: recipe for target 'pre_install' failed | |
make[1]: *** [pre_install] Error 2 | |
/home/stanislav/dpdk/mk/rte.sdkroot.mk:79: recipe for target 'install' failed | |
make: *** [install] Error 2 | |
stanislav@contivvpp:~/dpdk$ | |
################################################################### | |
############ R E P O S I T O R Y ###################################### | |
################################################################### | |
stanislav@contivvpp:~/dpdk$ git status | |
On branch master | |
Your branch is up-to-date with 'origin/master'. | |
nothing to commit, working directory clean | |
stanislav@contivvpp:~/dpdk$ git log | |
commit c27dbc300eee78c2eb33e84181617fdd7cbaaae4 | |
Author: Thomas Monjalon <thomas@monjalon.net> | |
Date: Mon Jul 16 01:17:18 2018 +0200 | |
version: 18.08-rc1 | |
Signed-off-by: Thomas Monjalon <thomas@monjalon.net> | |
################################################################### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment