issues
search
emmericp
/
ixy
A simple yet fast user space network driver for Intel 10 Gbit/s NICs written from scratch
BSD 3-Clause "New" or "Revised" License
1.2k
stars
125
forks
source link
Fix broken loop in vfio setup
#25
Closed
ackxolotl
closed
4 years ago
ackxolotl
commented
4 years ago
Fixes #22.
ackxolotl
commented
4 years ago
@ixy-ci test
ixy-ci
commented
4 years ago
Test
passed
!
pktgen logs
``` $ sudo apt update WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Get:1 http://deb.debian.org/debian buster InRelease [122 kB] Get:2 http://security.debian.org buster/updates InRelease [65.4 kB] Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB] Get:4 http://deb.debian.org/debian buster-backports InRelease [46.7 kB] Get:5 http://deb.debian.org/debian buster/main Sources [7,832 kB] Get:6 http://deb.debian.org/debian buster/main amd64 Packages [7,908 kB] Get:7 http://deb.debian.org/debian buster/main Translation-en [5,969 kB] Get:8 http://deb.debian.org/debian buster-backports/main Sources [123 kB] Get:9 http://deb.debian.org/debian buster-backports/main amd64 Packages [150 kB] Get:10 http://deb.debian.org/debian buster-backports/main Translation-en [126 kB] Get:11 http://security.debian.org buster/updates/main Sources [93.0 kB] Get:12 http://security.debian.org buster/updates/main amd64 Packages [161 kB] Get:13 http://security.debian.org buster/updates/main Translation-en [83.3 kB] Fetched 22.7 MB in 4s (5,694 kB/s) Reading package lists... Building dependency tree... Reading state information... 27 packages can be upgraded. Run 'apt list --upgradable' to see them. $ sudo apt install -y git WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: git-man libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm6 libldap-2.4-2 libldap-common libnghttp2-14 libperl5.28 librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libssh2-1 patch perl perl-modules-5.28 Suggested packages: git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql ed diffutils-doc perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl make libb-debug-perl liblocale-codes-perl The following NEW packages will be installed: git git-man libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm6 libldap-2.4-2 libldap-common libnghttp2-14 libperl5.28 librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libssh2-1 patch perl perl-modules-5.28 0 upgraded, 18 newly installed, 0 to remove and 27 not upgraded. Need to get 15.7 MB of archives. After this operation, 87.8 MB of additional disk space will be used. Get:1 http://security.debian.org buster/updates/main amd64 git-man all 1:2.20.1-2+deb10u1 [1,620 kB] Get:2 http://deb.debian.org/debian buster/main amd64 perl-modules-5.28 all 5.28.1-6 [2,873 kB] Get:3 http://security.debian.org buster/updates/main amd64 git amd64 1:2.20.1-2+deb10u1 [5,620 kB] Get:4 http://deb.debian.org/debian buster/main amd64 libgdbm6 amd64 1.18.1-4 [64.7 kB] Get:5 http://deb.debian.org/debian buster/main amd64 libgdbm-compat4 amd64 1.18.1-4 [44.1 kB] Get:6 http://deb.debian.org/debian buster/main amd64 libperl5.28 amd64 5.28.1-6 [3,883 kB] Get:7 http://deb.debian.org/debian buster/main amd64 perl amd64 5.28.1-6 [204 kB] Get:8 http://deb.debian.org/debian buster/main amd64 libsasl2-modules-db amd64 2.1.27+dfsg-1 [69.0 kB] Get:9 http://deb.debian.org/debian buster/main amd64 libsasl2-2 amd64 2.1.27+dfsg-1 [106 kB] Get:10 http://deb.debian.org/debian buster/main amd64 libldap-common all 2.4.47+dfsg-3+deb10u1 [89.6 kB] Get:11 http://deb.debian.org/debian buster/main amd64 libldap-2.4-2 amd64 2.4.47+dfsg-3+deb10u1 [225 kB] Get:12 http://deb.debian.org/debian buster/main amd64 libnghttp2-14 amd64 1.36.0-2+deb10u1 [85.0 kB] Get:13 http://deb.debian.org/debian buster/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2 [60.5 kB] Get:14 http://deb.debian.org/debian buster/main amd64 libssh2-1 amd64 1.8.0-2.1 [140 kB] Get:15 http://deb.debian.org/debian buster/main amd64 libcurl3-gnutls amd64 7.64.0-4 [329 kB] Get:16 http://deb.debian.org/debian buster/main amd64 liberror-perl all 0.17027-2 [30.9 kB] Get:17 http://deb.debian.org/debian buster/main amd64 libsasl2-modules amd64 2.1.27+dfsg-1 [104 kB] Get:18 http://deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB] debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 18.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Fetched 15.7 MB in 0s (44.0 MB/s) Selecting previously unselected package perl-modules-5.28. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26960 files and directories currently installed.) Preparing to unpack .../00-perl-modules-5.28_5.28.1-6_all.deb ... Unpacking perl-modules-5.28 (5.28.1-6) ... Selecting previously unselected package libgdbm6:amd64. Preparing to unpack .../01-libgdbm6_1.18.1-4_amd64.deb ... Unpacking libgdbm6:amd64 (1.18.1-4) ... Selecting previously unselected package libgdbm-compat4:amd64. Preparing to unpack .../02-libgdbm-compat4_1.18.1-4_amd64.deb ... Unpacking libgdbm-compat4:amd64 (1.18.1-4) ... Selecting previously unselected package libperl5.28:amd64. Preparing to unpack .../03-libperl5.28_5.28.1-6_amd64.deb ... Unpacking libperl5.28:amd64 (5.28.1-6) ... Selecting previously unselected package perl. Preparing to unpack .../04-perl_5.28.1-6_amd64.deb ... Unpacking perl (5.28.1-6) ... Selecting previously unselected package libsasl2-modules-db:amd64. Preparing to unpack .../05-libsasl2-modules-db_2.1.27+dfsg-1_amd64.deb ... Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-1) ... Selecting previously unselected package libsasl2-2:amd64. Preparing to unpack .../06-libsasl2-2_2.1.27+dfsg-1_amd64.deb ... Unpacking libsasl2-2:amd64 (2.1.27+dfsg-1) ... Selecting previously unselected package libldap-common. Preparing to unpack .../07-libldap-common_2.4.47+dfsg-3+deb10u1_all.deb ... Unpacking libldap-common (2.4.47+dfsg-3+deb10u1) ... Selecting previously unselected package libldap-2.4-2:amd64. Preparing to unpack .../08-libldap-2.4-2_2.4.47+dfsg-3+deb10u1_amd64.deb ... Unpacking libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ... Selecting previously unselected package libnghttp2-14:amd64. Preparing to unpack .../09-libnghttp2-14_1.36.0-2+deb10u1_amd64.deb ... Unpacking libnghttp2-14:amd64 (1.36.0-2+deb10u1) ... Selecting previously unselected package librtmp1:amd64. Preparing to unpack .../10-librtmp1_2.4+20151223.gitfa8646d.1-2_amd64.deb ... Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ... Selecting previously unselected package libssh2-1:amd64. Preparing to unpack .../11-libssh2-1_1.8.0-2.1_amd64.deb ... Unpacking libssh2-1:amd64 (1.8.0-2.1) ... Selecting previously unselected package libcurl3-gnutls:amd64. Preparing to unpack .../12-libcurl3-gnutls_7.64.0-4_amd64.deb ... Unpacking libcurl3-gnutls:amd64 (7.64.0-4) ... Selecting previously unselected package liberror-perl. Preparing to unpack .../13-liberror-perl_0.17027-2_all.deb ... Unpacking liberror-perl (0.17027-2) ... Selecting previously unselected package git-man. Preparing to unpack .../14-git-man_1%3a2.20.1-2+deb10u1_all.deb ... Unpacking git-man (1:2.20.1-2+deb10u1) ... Selecting previously unselected package git. Preparing to unpack .../15-git_1%3a2.20.1-2+deb10u1_amd64.deb ... Unpacking git (1:2.20.1-2+deb10u1) ... Selecting previously unselected package libsasl2-modules:amd64. Preparing to unpack .../16-libsasl2-modules_2.1.27+dfsg-1_amd64.deb ... Unpacking libsasl2-modules:amd64 (2.1.27+dfsg-1) ... Selecting previously unselected package patch. Preparing to unpack .../17-patch_2.7.6-3+deb10u1_amd64.deb ... Unpacking patch (2.7.6-3+deb10u1) ... Setting up perl-modules-5.28 (5.28.1-6) ... Setting up libsasl2-modules:amd64 (2.1.27+dfsg-1) ... Setting up libnghttp2-14:amd64 (1.36.0-2+deb10u1) ... Setting up libldap-common (2.4.47+dfsg-3+deb10u1) ... Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-1) ... Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ... Setting up patch (2.7.6-3+deb10u1) ... Setting up libsasl2-2:amd64 (2.1.27+dfsg-1) ... Setting up git-man (1:2.20.1-2+deb10u1) ... Setting up libssh2-1:amd64 (1.8.0-2.1) ... Setting up libgdbm6:amd64 (1.18.1-4) ... Setting up libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ... Setting up libcurl3-gnutls:amd64 (7.64.0-4) ... Setting up libgdbm-compat4:amd64 (1.18.1-4) ... Setting up libperl5.28:amd64 (5.28.1-6) ... Setting up perl (5.28.1-6) ... Setting up liberror-perl (0.17027-2) ... Setting up git (1:2.20.1-2+deb10u1) ... Processing triggers for libc-bin (2.28-10) ... $ git clone https://github.com/ackxolotl/ixy --branch 💩 --single-branch --recurse-submodules Cloning into 'ixy'... $ cd ixy && sudo apt-get install -y cmake gcc Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: binutils binutils-common binutils-x86-64-linux-gnu cmake-data cpp cpp-8 gcc-8 libarchive13 libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0 libcurl4 libgcc-8-dev libgomp1 libisl19 libitm1 libjsoncpp1 liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 librhash0 libtsan0 libubsan1 libuv1 linux-libc-dev make manpages manpages-dev Suggested packages: binutils-doc cmake-doc ninja-build cpp-doc gcc-8-locales gcc-multilib autoconf automake libtool flex bison gdb gcc-doc gcc-8-multilib gcc-8-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan5-dbg liblsan0-dbg libtsan0-dbg libubsan1-dbg libmpx2-dbg libquadmath0-dbg lrzip glibc-doc make-doc man-browser The following NEW packages will be installed: binutils binutils-common binutils-x86-64-linux-gnu cmake cmake-data cpp cpp-8 gcc gcc-8 libarchive13 libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0 libcurl4 libgcc-8-dev libgomp1 libisl19 libitm1 libjsoncpp1 liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 librhash0 libtsan0 libubsan1 libuv1 linux-libc-dev make manpages manpages-dev 0 upgraded, 35 newly installed, 0 to remove and 27 not upgraded. Need to get 41.7 MB of archives. After this operation, 164 MB of additional disk space will be used. Get:1 http://security.debian.org buster/updates/main amd64 linux-libc-dev amd64 4.19.67-2+deb10u2 [1,234 kB] Get:2 http://deb.debian.org/debian buster/main amd64 manpages all 4.16-2 [1,295 kB] Get:3 http://deb.debian.org/debian buster/main amd64 binutils-common amd64 2.31.1-16 [2,073 kB] Get:4 http://deb.debian.org/debian buster/main amd64 libbinutils amd64 2.31.1-16 [478 kB] Get:5 http://deb.debian.org/debian buster/main amd64 binutils-x86-64-linux-gnu amd64 2.31.1-16 [1,823 kB] Get:6 http://deb.debian.org/debian buster/main amd64 binutils amd64 2.31.1-16 [56.8 kB] Get:7 http://deb.debian.org/debian buster/main amd64 cmake-data all 3.13.4-1 [1,476 kB] Get:8 http://deb.debian.org/debian buster/main amd64 libarchive13 amd64 3.3.3-4+deb10u1 [313 kB] Get:9 http://deb.debian.org/debian buster/main amd64 libcurl4 amd64 7.64.0-4 [332 kB] Get:10 http://deb.debian.org/debian buster/main amd64 libjsoncpp1 amd64 1.7.4-3 [75.6 kB] Get:11 http://deb.debian.org/debian buster/main amd64 librhash0 amd64 1.3.8-1 [122 kB] Get:12 http://deb.debian.org/debian buster/main amd64 libuv1 amd64 1.24.1-1 [110 kB] Get:13 http://deb.debian.org/debian buster/main amd64 cmake amd64 3.13.4-1 [3,480 kB] Get:14 http://deb.debian.org/debian buster/main amd64 libisl19 amd64 0.20-2 [587 kB] Get:15 http://deb.debian.org/debian buster/main amd64 libmpfr6 amd64 4.0.2-1 [775 kB] Get:16 http://deb.debian.org/debian buster/main amd64 libmpc3 amd64 1.1.0-1 [41.3 kB] Get:17 http://deb.debian.org/debian buster/main amd64 cpp-8 amd64 8.3.0-6 [8,914 kB] Get:18 http://deb.debian.org/debian buster/main amd64 cpp amd64 4:8.3.0-1 [19.4 kB] Get:19 http://deb.debian.org/debian buster/main amd64 libcc1-0 amd64 8.3.0-6 [46.6 kB] Get:20 http://deb.debian.org/debian buster/main amd64 libgomp1 amd64 8.3.0-6 [75.8 kB] Get:21 http://deb.debian.org/debian buster/main amd64 libitm1 amd64 8.3.0-6 [27.7 kB] Get:22 http://deb.debian.org/debian buster/main amd64 libatomic1 amd64 8.3.0-6 [9,032 B] Get:23 http://deb.debian.org/debian buster/main amd64 libasan5 amd64 8.3.0-6 [362 kB] Get:24 http://deb.debian.org/debian buster/main amd64 liblsan0 amd64 8.3.0-6 [131 kB] Get:25 http://deb.debian.org/debian buster/main amd64 libtsan0 amd64 8.3.0-6 [283 kB] Get:26 http://deb.debian.org/debian buster/main amd64 libubsan1 amd64 8.3.0-6 [120 kB] Get:27 http://deb.debian.org/debian buster/main amd64 libmpx2 amd64 8.3.0-6 [11.4 kB] Get:28 http://deb.debian.org/debian buster/main amd64 libquadmath0 amd64 8.3.0-6 [133 kB] Get:29 http://deb.debian.org/debian buster/main amd64 libgcc-8-dev amd64 8.3.0-6 [2,298 kB] Get:30 http://deb.debian.org/debian buster/main amd64 gcc-8 amd64 8.3.0-6 [9,452 kB] Get:31 http://deb.debian.org/debian buster/main amd64 gcc amd64 4:8.3.0-1 [5,196 B] Get:32 http://deb.debian.org/debian buster/main amd64 libc-dev-bin amd64 2.28-10 [275 kB] Get:33 http://deb.debian.org/debian buster/main amd64 libc6-dev amd64 2.28-10 [2,691 kB] Get:34 http://deb.debian.org/debian buster/main amd64 make amd64 4.2.1-1.2 [341 kB] Get:35 http://deb.debian.org/debian buster/main amd64 manpages-dev all 4.16-2 [2,232 kB] debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Fetched 41.7 MB in 1s (42.7 MB/s) Selecting previously unselected package manpages. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29941 files and directories currently installed.) Preparing to unpack .../00-manpages_4.16-2_all.deb ... Unpacking manpages (4.16-2) ... Selecting previously unselected package binutils-common:amd64. Preparing to unpack .../01-binutils-common_2.31.1-16_amd64.deb ... Unpacking binutils-common:amd64 (2.31.1-16) ... Selecting previously unselected package libbinutils:amd64. Preparing to unpack .../02-libbinutils_2.31.1-16_amd64.deb ... Unpacking libbinutils:amd64 (2.31.1-16) ... Selecting previously unselected package binutils-x86-64-linux-gnu. Preparing to unpack .../03-binutils-x86-64-linux-gnu_2.31.1-16_amd64.deb ... Unpacking binutils-x86-64-linux-gnu (2.31.1-16) ... Selecting previously unselected package binutils. Preparing to unpack .../04-binutils_2.31.1-16_amd64.deb ... Unpacking binutils (2.31.1-16) ... Selecting previously unselected package cmake-data. Preparing to unpack .../05-cmake-data_3.13.4-1_all.deb ... Unpacking cmake-data (3.13.4-1) ... Selecting previously unselected package libarchive13:amd64. Preparing to unpack .../06-libarchive13_3.3.3-4+deb10u1_amd64.deb ... Unpacking libarchive13:amd64 (3.3.3-4+deb10u1) ... Selecting previously unselected package libcurl4:amd64. Preparing to unpack .../07-libcurl4_7.64.0-4_amd64.deb ... Unpacking libcurl4:amd64 (7.64.0-4) ... Selecting previously unselected package libjsoncpp1:amd64. Preparing to unpack .../08-libjsoncpp1_1.7.4-3_amd64.deb ... Unpacking libjsoncpp1:amd64 (1.7.4-3) ... Selecting previously unselected package librhash0:amd64. Preparing to unpack .../09-librhash0_1.3.8-1_amd64.deb ... Unpacking librhash0:amd64 (1.3.8-1) ... Selecting previously unselected package libuv1:amd64. Preparing to unpack .../10-libuv1_1.24.1-1_amd64.deb ... Unpacking libuv1:amd64 (1.24.1-1) ... Selecting previously unselected package cmake. Preparing to unpack .../11-cmake_3.13.4-1_amd64.deb ... Unpacking cmake (3.13.4-1) ... Selecting previously unselected package libisl19:amd64. Preparing to unpack .../12-libisl19_0.20-2_amd64.deb ... Unpacking libisl19:amd64 (0.20-2) ... Selecting previously unselected package libmpfr6:amd64. Preparing to unpack .../13-libmpfr6_4.0.2-1_amd64.deb ... Unpacking libmpfr6:amd64 (4.0.2-1) ... Selecting previously unselected package libmpc3:amd64. Preparing to unpack .../14-libmpc3_1.1.0-1_amd64.deb ... Unpacking libmpc3:amd64 (1.1.0-1) ... Selecting previously unselected package cpp-8. Preparing to unpack .../15-cpp-8_8.3.0-6_amd64.deb ... Unpacking cpp-8 (8.3.0-6) ... Selecting previously unselected package cpp. Preparing to unpack .../16-cpp_4%3a8.3.0-1_amd64.deb ... Unpacking cpp (4:8.3.0-1) ... Selecting previously unselected package libcc1-0:amd64. Preparing to unpack .../17-libcc1-0_8.3.0-6_amd64.deb ... Unpacking libcc1-0:amd64 (8.3.0-6) ... Selecting previously unselected package libgomp1:amd64. Preparing to unpack .../18-libgomp1_8.3.0-6_amd64.deb ... Unpacking libgomp1:amd64 (8.3.0-6) ... Selecting previously unselected package libitm1:amd64. Preparing to unpack .../19-libitm1_8.3.0-6_amd64.deb ... Unpacking libitm1:amd64 (8.3.0-6) ... Selecting previously unselected package libatomic1:amd64. Preparing to unpack .../20-libatomic1_8.3.0-6_amd64.deb ... Unpacking libatomic1:amd64 (8.3.0-6) ... Selecting previously unselected package libasan5:amd64. Preparing to unpack .../21-libasan5_8.3.0-6_amd64.deb ... Unpacking libasan5:amd64 (8.3.0-6) ... Selecting previously unselected package liblsan0:amd64. Preparing to unpack .../22-liblsan0_8.3.0-6_amd64.deb ... Unpacking liblsan0:amd64 (8.3.0-6) ... Selecting previously unselected package libtsan0:amd64. Preparing to unpack .../23-libtsan0_8.3.0-6_amd64.deb ... Unpacking libtsan0:amd64 (8.3.0-6) ... Selecting previously unselected package libubsan1:amd64. Preparing to unpack .../24-libubsan1_8.3.0-6_amd64.deb ... Unpacking libubsan1:amd64 (8.3.0-6) ... Selecting previously unselected package libmpx2:amd64. Preparing to unpack .../25-libmpx2_8.3.0-6_amd64.deb ... Unpacking libmpx2:amd64 (8.3.0-6) ... Selecting previously unselected package libquadmath0:amd64. Preparing to unpack .../26-libquadmath0_8.3.0-6_amd64.deb ... Unpacking libquadmath0:amd64 (8.3.0-6) ... Selecting previously unselected package libgcc-8-dev:amd64. Preparing to unpack .../27-libgcc-8-dev_8.3.0-6_amd64.deb ... Unpacking libgcc-8-dev:amd64 (8.3.0-6) ... Selecting previously unselected package gcc-8. Preparing to unpack .../28-gcc-8_8.3.0-6_amd64.deb ... Unpacking gcc-8 (8.3.0-6) ... Selecting previously unselected package gcc. Preparing to unpack .../29-gcc_4%3a8.3.0-1_amd64.deb ... Unpacking gcc (4:8.3.0-1) ... Selecting previously unselected package libc-dev-bin. Preparing to unpack .../30-libc-dev-bin_2.28-10_amd64.deb ... Unpacking libc-dev-bin (2.28-10) ... Selecting previously unselected package linux-libc-dev:amd64. Preparing to unpack .../31-linux-libc-dev_4.19.67-2+deb10u2_amd64.deb ... Unpacking linux-libc-dev:amd64 (4.19.67-2+deb10u2) ... Selecting previously unselected package libc6-dev:amd64. Preparing to unpack .../32-libc6-dev_2.28-10_amd64.deb ... Unpacking libc6-dev:amd64 (2.28-10) ... Selecting previously unselected package make. Preparing to unpack .../33-make_4.2.1-1.2_amd64.deb ... Unpacking make (4.2.1-1.2) ... Selecting previously unselected package manpages-dev. Preparing to unpack .../34-manpages-dev_4.16-2_all.deb ... Unpacking manpages-dev (4.16-2) ... Setting up libarchive13:amd64 (3.3.3-4+deb10u1) ... Setting up manpages (4.16-2) ... Setting up binutils-common:amd64 (2.31.1-16) ... Setting up linux-libc-dev:amd64 (4.19.67-2+deb10u2) ... Setting up libgomp1:amd64 (8.3.0-6) ... Setting up libasan5:amd64 (8.3.0-6) ... Setting up libuv1:amd64 (1.24.1-1) ... Setting up make (4.2.1-1.2) ... Setting up libmpfr6:amd64 (4.0.2-1) ... Setting up libquadmath0:amd64 (8.3.0-6) ... Setting up libmpc3:amd64 (1.1.0-1) ... Setting up libatomic1:amd64 (8.3.0-6) ... Setting up libmpx2:amd64 (8.3.0-6) ... Setting up libubsan1:amd64 (8.3.0-6) ... Setting up libisl19:amd64 (0.20-2) ... Setting up librhash0:amd64 (1.3.8-1) ... Setting up libcurl4:amd64 (7.64.0-4) ... Setting up cmake-data (3.13.4-1) ... Setting up libbinutils:amd64 (2.31.1-16) ... Setting up cpp-8 (8.3.0-6) ... Setting up libc-dev-bin (2.28-10) ... Setting up libcc1-0:amd64 (8.3.0-6) ... Setting up liblsan0:amd64 (8.3.0-6) ... Setting up libitm1:amd64 (8.3.0-6) ... Setting up libjsoncpp1:amd64 (1.7.4-3) ... Setting up binutils-x86-64-linux-gnu (2.31.1-16) ... Setting up libtsan0:amd64 (8.3.0-6) ... Setting up manpages-dev (4.16-2) ... Setting up binutils (2.31.1-16) ... Setting up libgcc-8-dev:amd64 (8.3.0-6) ... Setting up cpp (4:8.3.0-1) ... Setting up cmake (3.13.4-1) ... Setting up libc6-dev:amd64 (2.28-10) ... Setting up gcc-8 (8.3.0-6) ... Setting up gcc (4:8.3.0-1) ... Processing triggers for libc-bin (2.28-10) ... $ cd ixy && mkdir build $ cd ixy && cd build && cmake .. -- The C compiler identification is GNU 8.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Configuring done -- Generating done -- Build files have been written to: /home/debian/ixy/build $ cd ixy && cd build && make Scanning dependencies of target ixy-vfio [ 3%] Building C object CMakeFiles/ixy-vfio.dir/src/libixy-vfio.c.o [ 6%] Linking C shared library libixy-vfio.so [ 6%] Built target ixy-vfio Scanning dependencies of target ixy-pcap [ 9%] Building C object CMakeFiles/ixy-pcap.dir/src/app/ixy-pcap.c.o [ 12%] Building C object CMakeFiles/ixy-pcap.dir/src/pci.c.o [ 15%] Building C object CMakeFiles/ixy-pcap.dir/src/memory.c.o [ 18%] Building C object CMakeFiles/ixy-pcap.dir/src/stats.c.o [ 21%] Building C object CMakeFiles/ixy-pcap.dir/src/interrupts.c.o [ 25%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/device.c.o [ 28%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/ixgbe.c.o [ 31%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/virtio.c.o [ 34%] Building C object CMakeFiles/ixy-pcap.dir/src/libixy-vfio.c.o [ 37%] Linking C executable ixy-pcap [ 37%] Built target ixy-pcap Scanning dependencies of target ixy-pktgen [ 40%] Building C object CMakeFiles/ixy-pktgen.dir/src/app/ixy-pktgen.c.o [ 43%] Building C object CMakeFiles/ixy-pktgen.dir/src/pci.c.o [ 46%] Building C object CMakeFiles/ixy-pktgen.dir/src/memory.c.o [ 50%] Building C object CMakeFiles/ixy-pktgen.dir/src/stats.c.o [ 53%] Building C object CMakeFiles/ixy-pktgen.dir/src/interrupts.c.o [ 56%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/device.c.o [ 59%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/ixgbe.c.o [ 62%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/virtio.c.o [ 65%] Building C object CMakeFiles/ixy-pktgen.dir/src/libixy-vfio.c.o [ 68%] Linking C executable ixy-pktgen [ 68%] Built target ixy-pktgen Scanning dependencies of target ixy-fwd [ 71%] Building C object CMakeFiles/ixy-fwd.dir/src/app/ixy-fwd.c.o [ 75%] Building C object CMakeFiles/ixy-fwd.dir/src/pci.c.o [ 78%] Building C object CMakeFiles/ixy-fwd.dir/src/memory.c.o [ 81%] Building C object CMakeFiles/ixy-fwd.dir/src/stats.c.o [ 84%] Building C object CMakeFiles/ixy-fwd.dir/src/interrupts.c.o [ 87%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/device.c.o [ 90%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/ixgbe.c.o [ 93%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/virtio.c.o [ 96%] Building C object CMakeFiles/ixy-fwd.dir/src/libixy-vfio.c.o [100%] Linking C executable ixy-fwd [100%] Built target ixy-fwd $ cd ixy && sudo ./setup-hugetlbfs.sh $ sudo mv runner /usr/bin/runner $ sudo build/ixy-pktgen $PCI_ADDR_PKTGEN [DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page [DEBUG] /home/debian/ixy/src/pci.c:59 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/config [DEBUG] /home/debian/ixy/src/pci.c:59 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/config [DEBUG] /home/debian/ixy/src/pci.c:59 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/resource0 [DEBUG] /home/debian/ixy/src/driver/virtio.c:275 virtio_legacy_init(): Configuring bar0 [DEBUG] /home/debian/ixy/src/driver/virtio.c:284 virtio_legacy_init(): Host features: 79ffffef [DEBUG] /home/debian/ixy/src/driver/virtio.c:291 virtio_legacy_init(): Guest features before negotiation: 0 [DEBUG] /home/debian/ixy/src/driver/virtio.c:293 virtio_legacy_init(): Guest features after negotiation: 8060003 [DEBUG] /home/debian/ixy/src/driver/virtio.c:229 virtio_legacy_setup_rx_queue(): Max queue size of rx queue #0: 256 [DEBUG] /home/debian/ixy/src/driver/virtio.c:234 virtio_legacy_setup_rx_queue(): Notifcation offset 65535 [DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page [DEBUG] /home/debian/ixy/src/driver/virtio.c:238 virtio_legacy_setup_rx_queue(): Allocated 10244 bytes for virt queue at 0x7fa006800000 [DEBUG] /home/debian/ixy/src/driver/virtio.c:244 virtio_legacy_setup_rx_queue(): vring desc: 0x7fa006800000, vring avail: 0x7fa006801000, vring used: 0x7fa006802000 [DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page [DEBUG] /home/debian/ixy/src/driver/virtio.c:55 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #1: 256 [DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page [DEBUG] /home/debian/ixy/src/driver/virtio.c:62 virtio_legacy_setup_tx_queue(): Allocated 10244 bytes for virt queue at 0x7fa006400000 [DEBUG] /home/debian/ixy/src/driver/virtio.c:68 virtio_legacy_setup_tx_queue(): vring desc: 0x7fa006400000, vring avail: 0x7fa006401000, vring used: 0x7fa006402000 [DEBUG] /home/debian/ixy/src/driver/virtio.c:84 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535 [DEBUG] /home/debian/ixy/src/driver/virtio.c:55 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #2: 64 [DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page [DEBUG] /home/debian/ixy/src/driver/virtio.c:62 virtio_legacy_setup_tx_queue(): Allocated 4612 bytes for virt queue at 0x7fa006200000 [DEBUG] /home/debian/ixy/src/driver/virtio.c:68 virtio_legacy_setup_tx_queue(): vring desc: 0x7fa006200000, vring avail: 0x7fa006200400, vring used: 0x7fa006201000 [DEBUG] /home/debian/ixy/src/driver/virtio.c:84 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535 [DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page [DEBUG] /home/debian/ixy/src/driver/virtio.c:125 virtio_legacy_send_command(): Found free desc slot at 0 (64) [DEBUG] /home/debian/ixy/src/driver/virtio.c:177 virtio_legacy_send_command(): e 0x7fa00620100c: id 0 len 0 ```
fwd logs
``` $ sudo apt update WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Get:1 http://security.debian.org buster/updates InRelease [65.4 kB] Get:2 http://deb.debian.org/debian buster InRelease [122 kB] Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB] Get:4 http://deb.debian.org/debian buster-backports InRelease [46.7 kB] Get:5 http://security.debian.org buster/updates/main Sources [93.0 kB] Get:6 http://security.debian.org buster/updates/main amd64 Packages [161 kB] Get:7 http://security.debian.org buster/updates/main Translation-en [83.3 kB] Get:8 http://deb.debian.org/debian buster/main Sources [7,832 kB] Get:9 http://deb.debian.org/debian buster/main amd64 Packages [7,908 kB] Get:10 http://deb.debian.org/debian buster/main Translation-en [5,969 kB] Get:11 http://deb.debian.org/debian buster-backports/main Sources [123 kB] Get:12 http://deb.debian.org/debian buster-backports/main amd64 Packages [150 kB] Get:13 http://deb.debian.org/debian buster-backports/main Translation-en [126 kB] Fetched 22.7 MB in 4s (6,124 kB/s) Reading package lists... Building dependency tree... Reading state information... 27 packages can be upgraded. Run 'apt list --upgradable' to see them. $ sudo apt install -y git WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: git-man libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm6 libldap-2.4-2 libldap-common libnghttp2-14 libperl5.28 librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libssh2-1 patch perl perl-modules-5.28 Suggested packages: git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql ed diffutils-doc perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl make libb-debug-perl liblocale-codes-perl The following NEW packages will be installed: git git-man libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm6 libldap-2.4-2 libldap-common libnghttp2-14 libperl5.28 librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libssh2-1 patch perl perl-modules-5.28 0 upgraded, 18 newly installed, 0 to remove and 27 not upgraded. Need to get 15.7 MB of archives. After this operation, 87.8 MB of additional disk space will be used. Get:1 http://security.debian.org buster/updates/main amd64 git-man all 1:2.20.1-2+deb10u1 [1,620 kB] Get:2 http://deb.debian.org/debian buster/main amd64 perl-modules-5.28 all 5.28.1-6 [2,873 kB] Get:3 http://security.debian.org buster/updates/main amd64 git amd64 1:2.20.1-2+deb10u1 [5,620 kB] Get:4 http://deb.debian.org/debian buster/main amd64 libgdbm6 amd64 1.18.1-4 [64.7 kB] Get:5 http://deb.debian.org/debian buster/main amd64 libgdbm-compat4 amd64 1.18.1-4 [44.1 kB] Get:6 http://deb.debian.org/debian buster/main amd64 libperl5.28 amd64 5.28.1-6 [3,883 kB] Get:7 http://deb.debian.org/debian buster/main amd64 perl amd64 5.28.1-6 [204 kB] Get:8 http://deb.debian.org/debian buster/main amd64 libsasl2-modules-db amd64 2.1.27+dfsg-1 [69.0 kB] Get:9 http://deb.debian.org/debian buster/main amd64 libsasl2-2 amd64 2.1.27+dfsg-1 [106 kB] Get:10 http://deb.debian.org/debian buster/main amd64 libldap-common all 2.4.47+dfsg-3+deb10u1 [89.6 kB] Get:11 http://deb.debian.org/debian buster/main amd64 libldap-2.4-2 amd64 2.4.47+dfsg-3+deb10u1 [225 kB] Get:12 http://deb.debian.org/debian buster/main amd64 libnghttp2-14 amd64 1.36.0-2+deb10u1 [85.0 kB] Get:13 http://deb.debian.org/debian buster/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2 [60.5 kB] Get:14 http://deb.debian.org/debian buster/main amd64 libssh2-1 amd64 1.8.0-2.1 [140 kB] Get:15 http://deb.debian.org/debian buster/main amd64 libcurl3-gnutls amd64 7.64.0-4 [329 kB] Get:16 http://deb.debian.org/debian buster/main amd64 liberror-perl all 0.17027-2 [30.9 kB] Get:17 http://deb.debian.org/debian buster/main amd64 libsasl2-modules amd64 2.1.27+dfsg-1 [104 kB] Get:18 http://deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB] debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 18.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Fetched 15.7 MB in 0s (42.9 MB/s) Selecting previously unselected package perl-modules-5.28. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26960 files and directories currently installed.) Preparing to unpack .../00-perl-modules-5.28_5.28.1-6_all.deb ... Unpacking perl-modules-5.28 (5.28.1-6) ... Selecting previously unselected package libgdbm6:amd64. Preparing to unpack .../01-libgdbm6_1.18.1-4_amd64.deb ... Unpacking libgdbm6:amd64 (1.18.1-4) ... Selecting previously unselected package libgdbm-compat4:amd64. Preparing to unpack .../02-libgdbm-compat4_1.18.1-4_amd64.deb ... Unpacking libgdbm-compat4:amd64 (1.18.1-4) ... Selecting previously unselected package libperl5.28:amd64. Preparing to unpack .../03-libperl5.28_5.28.1-6_amd64.deb ... Unpacking libperl5.28:amd64 (5.28.1-6) ... Selecting previously unselected package perl. Preparing to unpack .../04-perl_5.28.1-6_amd64.deb ... Unpacking perl (5.28.1-6) ... Selecting previously unselected package libsasl2-modules-db:amd64. Preparing to unpack .../05-libsasl2-modules-db_2.1.27+dfsg-1_amd64.deb ... Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-1) ... Selecting previously unselected package libsasl2-2:amd64. Preparing to unpack .../06-libsasl2-2_2.1.27+dfsg-1_amd64.deb ... Unpacking libsasl2-2:amd64 (2.1.27+dfsg-1) ... Selecting previously unselected package libldap-common. Preparing to unpack .../07-libldap-common_2.4.47+dfsg-3+deb10u1_all.deb ... Unpacking libldap-common (2.4.47+dfsg-3+deb10u1) ... Selecting previously unselected package libldap-2.4-2:amd64. Preparing to unpack .../08-libldap-2.4-2_2.4.47+dfsg-3+deb10u1_amd64.deb ... Unpacking libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ... Selecting previously unselected package libnghttp2-14:amd64. Preparing to unpack .../09-libnghttp2-14_1.36.0-2+deb10u1_amd64.deb ... Unpacking libnghttp2-14:amd64 (1.36.0-2+deb10u1) ... Selecting previously unselected package librtmp1:amd64. Preparing to unpack .../10-librtmp1_2.4+20151223.gitfa8646d.1-2_amd64.deb ... Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ... Selecting previously unselected package libssh2-1:amd64. Preparing to unpack .../11-libssh2-1_1.8.0-2.1_amd64.deb ... Unpacking libssh2-1:amd64 (1.8.0-2.1) ... Selecting previously unselected package libcurl3-gnutls:amd64. Preparing to unpack .../12-libcurl3-gnutls_7.64.0-4_amd64.deb ... Unpacking libcurl3-gnutls:amd64 (7.64.0-4) ... Selecting previously unselected package liberror-perl. Preparing to unpack .../13-liberror-perl_0.17027-2_all.deb ... Unpacking liberror-perl (0.17027-2) ... Selecting previously unselected package git-man. Preparing to unpack .../14-git-man_1%3a2.20.1-2+deb10u1_all.deb ... Unpacking git-man (1:2.20.1-2+deb10u1) ... Selecting previously unselected package git. Preparing to unpack .../15-git_1%3a2.20.1-2+deb10u1_amd64.deb ... Unpacking git (1:2.20.1-2+deb10u1) ... Selecting previously unselected package libsasl2-modules:amd64. Preparing to unpack .../16-libsasl2-modules_2.1.27+dfsg-1_amd64.deb ... Unpacking libsasl2-modules:amd64 (2.1.27+dfsg-1) ... Selecting previously unselected package patch. Preparing to unpack .../17-patch_2.7.6-3+deb10u1_amd64.deb ... Unpacking patch (2.7.6-3+deb10u1) ... Setting up perl-modules-5.28 (5.28.1-6) ... Setting up libsasl2-modules:amd64 (2.1.27+dfsg-1) ... Setting up libnghttp2-14:amd64 (1.36.0-2+deb10u1) ... Setting up libldap-common (2.4.47+dfsg-3+deb10u1) ... Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-1) ... Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ... Setting up patch (2.7.6-3+deb10u1) ... Setting up libsasl2-2:amd64 (2.1.27+dfsg-1) ... Setting up git-man (1:2.20.1-2+deb10u1) ... Setting up libssh2-1:amd64 (1.8.0-2.1) ... Setting up libgdbm6:amd64 (1.18.1-4) ... Setting up libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ... Setting up libcurl3-gnutls:amd64 (7.64.0-4) ... Setting up libgdbm-compat4:amd64 (1.18.1-4) ... Setting up libperl5.28:amd64 (5.28.1-6) ... Setting up perl (5.28.1-6) ... Setting up liberror-perl (0.17027-2) ... Setting up git (1:2.20.1-2+deb10u1) ... Processing triggers for libc-bin (2.28-10) ... $ git clone https://github.com/ackxolotl/ixy --branch 💩 --single-branch --recurse-submodules Cloning into 'ixy'... $ cd ixy && sudo apt-get install -y cmake gcc Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: binutils binutils-common binutils-x86-64-linux-gnu cmake-data cpp cpp-8 gcc-8 libarchive13 libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0 libcurl4 libgcc-8-dev libgomp1 libisl19 libitm1 libjsoncpp1 liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 librhash0 libtsan0 libubsan1 libuv1 linux-libc-dev make manpages manpages-dev Suggested packages: binutils-doc cmake-doc ninja-build cpp-doc gcc-8-locales gcc-multilib autoconf automake libtool flex bison gdb gcc-doc gcc-8-multilib gcc-8-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan5-dbg liblsan0-dbg libtsan0-dbg libubsan1-dbg libmpx2-dbg libquadmath0-dbg lrzip glibc-doc make-doc man-browser The following NEW packages will be installed: binutils binutils-common binutils-x86-64-linux-gnu cmake cmake-data cpp cpp-8 gcc gcc-8 libarchive13 libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0 libcurl4 libgcc-8-dev libgomp1 libisl19 libitm1 libjsoncpp1 liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 librhash0 libtsan0 libubsan1 libuv1 linux-libc-dev make manpages manpages-dev 0 upgraded, 35 newly installed, 0 to remove and 27 not upgraded. Need to get 41.7 MB of archives. After this operation, 164 MB of additional disk space will be used. Get:1 http://security.debian.org buster/updates/main amd64 linux-libc-dev amd64 4.19.67-2+deb10u2 [1,234 kB] Get:2 http://deb.debian.org/debian buster/main amd64 manpages all 4.16-2 [1,295 kB] Get:3 http://deb.debian.org/debian buster/main amd64 binutils-common amd64 2.31.1-16 [2,073 kB] Get:4 http://deb.debian.org/debian buster/main amd64 libbinutils amd64 2.31.1-16 [478 kB] Get:5 http://deb.debian.org/debian buster/main amd64 binutils-x86-64-linux-gnu amd64 2.31.1-16 [1,823 kB] Get:6 http://deb.debian.org/debian buster/main amd64 binutils amd64 2.31.1-16 [56.8 kB] Get:7 http://deb.debian.org/debian buster/main amd64 cmake-data all 3.13.4-1 [1,476 kB] Get:8 http://deb.debian.org/debian buster/main amd64 libarchive13 amd64 3.3.3-4+deb10u1 [313 kB] Get:9 http://deb.debian.org/debian buster/main amd64 libcurl4 amd64 7.64.0-4 [332 kB] Get:10 http://deb.debian.org/debian buster/main amd64 libjsoncpp1 amd64 1.7.4-3 [75.6 kB] Get:11 http://deb.debian.org/debian buster/main amd64 librhash0 amd64 1.3.8-1 [122 kB] Get:12 http://deb.debian.org/debian buster/main amd64 libuv1 amd64 1.24.1-1 [110 kB] Get:13 http://deb.debian.org/debian buster/main amd64 cmake amd64 3.13.4-1 [3,480 kB] Get:14 http://deb.debian.org/debian buster/main amd64 libisl19 amd64 0.20-2 [587 kB] Get:15 http://deb.debian.org/debian buster/main amd64 libmpfr6 amd64 4.0.2-1 [775 kB] Get:16 http://deb.debian.org/debian buster/main amd64 libmpc3 amd64 1.1.0-1 [41.3 kB] Get:17 http://deb.debian.org/debian buster/main amd64 cpp-8 amd64 8.3.0-6 [8,914 kB] Get:18 http://deb.debian.org/debian buster/main amd64 cpp amd64 4:8.3.0-1 [19.4 kB] Get:19 http://deb.debian.org/debian buster/main amd64 libcc1-0 amd64 8.3.0-6 [46.6 kB] Get:20 http://deb.debian.org/debian buster/main amd64 libgomp1 amd64 8.3.0-6 [75.8 kB] Get:21 http://deb.debian.org/debian buster/main amd64 libitm1 amd64 8.3.0-6 [27.7 kB] Get:22 http://deb.debian.org/debian buster/main amd64 libatomic1 amd64 8.3.0-6 [9,032 B] Get:23 http://deb.debian.org/debian buster/main amd64 libasan5 amd64 8.3.0-6 [362 kB] Get:24 http://deb.debian.org/debian buster/main amd64 liblsan0 amd64 8.3.0-6 [131 kB] Get:25 http://deb.debian.org/debian buster/main amd64 libtsan0 amd64 8.3.0-6 [283 kB] Get:26 http://deb.debian.org/debian buster/main amd64 libubsan1 amd64 8.3.0-6 [120 kB] Get:27 http://deb.debian.org/debian buster/main amd64 libmpx2 amd64 8.3.0-6 [11.4 kB] Get:28 http://deb.debian.org/debian buster/main amd64 libquadmath0 amd64 8.3.0-6 [133 kB] Get:29 http://deb.debian.org/debian buster/main amd64 libgcc-8-dev amd64 8.3.0-6 [2,298 kB] Get:30 http://deb.debian.org/debian buster/main amd64 gcc-8 amd64 8.3.0-6 [9,452 kB] Get:31 http://deb.debian.org/debian buster/main amd64 gcc amd64 4:8.3.0-1 [5,196 B] Get:32 http://deb.debian.org/debian buster/main amd64 libc-dev-bin amd64 2.28-10 [275 kB] Get:33 http://deb.debian.org/debian buster/main amd64 libc6-dev amd64 2.28-10 [2,691 kB] Get:34 http://deb.debian.org/debian buster/main amd64 make amd64 4.2.1-1.2 [341 kB] Get:35 http://deb.debian.org/debian buster/main amd64 manpages-dev all 4.16-2 [2,232 kB] debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Fetched 41.7 MB in 1s (43.2 MB/s) Selecting previously unselected package manpages. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29941 files and directories currently installed.) Preparing to unpack .../00-manpages_4.16-2_all.deb ... Unpacking manpages (4.16-2) ... Selecting previously unselected package binutils-common:amd64. Preparing to unpack .../01-binutils-common_2.31.1-16_amd64.deb ... Unpacking binutils-common:amd64 (2.31.1-16) ... Selecting previously unselected package libbinutils:amd64. Preparing to unpack .../02-libbinutils_2.31.1-16_amd64.deb ... Unpacking libbinutils:amd64 (2.31.1-16) ... Selecting previously unselected package binutils-x86-64-linux-gnu. Preparing to unpack .../03-binutils-x86-64-linux-gnu_2.31.1-16_amd64.deb ... Unpacking binutils-x86-64-linux-gnu (2.31.1-16) ... Selecting previously unselected package binutils. Preparing to unpack .../04-binutils_2.31.1-16_amd64.deb ... Unpacking binutils (2.31.1-16) ... Selecting previously unselected package cmake-data. Preparing to unpack .../05-cmake-data_3.13.4-1_all.deb ... Unpacking cmake-data (3.13.4-1) ... Selecting previously unselected package libarchive13:amd64. Preparing to unpack .../06-libarchive13_3.3.3-4+deb10u1_amd64.deb ... Unpacking libarchive13:amd64 (3.3.3-4+deb10u1) ... Selecting previously unselected package libcurl4:amd64. Preparing to unpack .../07-libcurl4_7.64.0-4_amd64.deb ... Unpacking libcurl4:amd64 (7.64.0-4) ... Selecting previously unselected package libjsoncpp1:amd64. Preparing to unpack .../08-libjsoncpp1_1.7.4-3_amd64.deb ... Unpacking libjsoncpp1:amd64 (1.7.4-3) ... Selecting previously unselected package librhash0:amd64. Preparing to unpack .../09-librhash0_1.3.8-1_amd64.deb ... Unpacking librhash0:amd64 (1.3.8-1) ... Selecting previously unselected package libuv1:amd64. Preparing to unpack .../10-libuv1_1.24.1-1_amd64.deb ... Unpacking libuv1:amd64 (1.24.1-1) ... Selecting previously unselected package cmake. Preparing to unpack .../11-cmake_3.13.4-1_amd64.deb ... Unpacking cmake (3.13.4-1) ... Selecting previously unselected package libisl19:amd64. Preparing to unpack .../12-libisl19_0.20-2_amd64.deb ... Unpacking libisl19:amd64 (0.20-2) ... Selecting previously unselected package libmpfr6:amd64. Preparing to unpack .../13-libmpfr6_4.0.2-1_amd64.deb ... Unpacking libmpfr6:amd64 (4.0.2-1) ... Selecting previously unselected package libmpc3:amd64. Preparing to unpack .../14-libmpc3_1.1.0-1_amd64.deb ... Unpacking libmpc3:amd64 (1.1.0-1) ... Selecting previously unselected package cpp-8. Preparing to unpack .../15-cpp-8_8.3.0-6_amd64.deb ... Unpacking cpp-8 (8.3.0-6) ... Selecting previously unselected package cpp. Preparing to unpack .../16-cpp_4%3a8.3.0-1_amd64.deb ... Unpacking cpp (4:8.3.0-1) ... Selecting previously unselected package libcc1-0:amd64. Preparing to unpack .../17-libcc1-0_8.3.0-6_amd64.deb ... Unpacking libcc1-0:amd64 (8.3.0-6) ... Selecting previously unselected package libgomp1:amd64. Preparing to unpack .../18-libgomp1_8.3.0-6_amd64.deb ... Unpacking libgomp1:amd64 (8.3.0-6) ... Selecting previously unselected package libitm1:amd64. Preparing to unpack .../19-libitm1_8.3.0-6_amd64.deb ... Unpacking libitm1:amd64 (8.3.0-6) ... Selecting previously unselected package libatomic1:amd64. Preparing to unpack .../20-libatomic1_8.3.0-6_amd64.deb ... Unpacking libatomic1:amd64 (8.3.0-6) ... Selecting previously unselected package libasan5:amd64. Preparing to unpack .../21-libasan5_8.3.0-6_amd64.deb ... Unpacking libasan5:amd64 (8.3.0-6) ... Selecting previously unselected package liblsan0:amd64. Preparing to unpack .../22-liblsan0_8.3.0-6_amd64.deb ... Unpacking liblsan0:amd64 (8.3.0-6) ... Selecting previously unselected package libtsan0:amd64. Preparing to unpack .../23-libtsan0_8.3.0-6_amd64.deb ... Unpacking libtsan0:amd64 (8.3.0-6) ... Selecting previously unselected package libubsan1:amd64. Preparing to unpack .../24-libubsan1_8.3.0-6_amd64.deb ... Unpacking libubsan1:amd64 (8.3.0-6) ... Selecting previously unselected package libmpx2:amd64. Preparing to unpack .../25-libmpx2_8.3.0-6_amd64.deb ... Unpacking libmpx2:amd64 (8.3.0-6) ... Selecting previously unselected package libquadmath0:amd64. Preparing to unpack .../26-libquadmath0_8.3.0-6_amd64.deb ... Unpacking libquadmath0:amd64 (8.3.0-6) ... Selecting previously unselected package libgcc-8-dev:amd64. Preparing to unpack .../27-libgcc-8-dev_8.3.0-6_amd64.deb ... Unpacking libgcc-8-dev:amd64 (8.3.0-6) ... Selecting previously unselected package gcc-8. Preparing to unpack .../28-gcc-8_8.3.0-6_amd64.deb ... Unpacking gcc-8 (8.3.0-6) ... Selecting previously unselected package gcc. Preparing to unpack .../29-gcc_4%3a8.3.0-1_amd64.deb ... Unpacking gcc (4:8.3.0-1) ... Selecting previously unselected package libc-dev-bin. Preparing to unpack .../30-libc-dev-bin_2.28-10_amd64.deb ... Unpacking libc-dev-bin (2.28-10) ... Selecting previously unselected package linux-libc-dev:amd64. Preparing to unpack .../31-linux-libc-dev_4.19.67-2+deb10u2_amd64.deb ... Unpacking linux-libc-dev:amd64 (4.19.67-2+deb10u2) ... Selecting previously unselected package libc6-dev:amd64. Preparing to unpack .../32-libc6-dev_2.28-10_amd64.deb ... Unpacking libc6-dev:amd64 (2.28-10) ... Selecting previously unselected package make. Preparing to unpack .../33-make_4.2.1-1.2_amd64.deb ... Unpacking make (4.2.1-1.2) ... Selecting previously unselected package manpages-dev. Preparing to unpack .../34-manpages-dev_4.16-2_all.deb ... Unpacking manpages-dev (4.16-2) ... Setting up libarchive13:amd64 (3.3.3-4+deb10u1) ... Setting up manpages (4.16-2) ... Setting up binutils-common:amd64 (2.31.1-16) ... Setting up linux-libc-dev:amd64 (4.19.67-2+deb10u2) ... Setting up libgomp1:amd64 (8.3.0-6) ... Setting up libasan5:amd64 (8.3.0-6) ... Setting up libuv1:amd64 (1.24.1-1) ... Setting up make (4.2.1-1.2) ... Setting up libmpfr6:amd64 (4.0.2-1) ... Setting up libquadmath0:amd64 (8.3.0-6) ... Setting up libmpc3:amd64 (1.1.0-1) ... Setting up libatomic1:amd64 (8.3.0-6) ... Setting up libmpx2:amd64 (8.3.0-6) ... Setting up libubsan1:amd64 (8.3.0-6) ... Setting up libisl19:amd64 (0.20-2) ... Setting up librhash0:amd64 (1.3.8-1) ... Setting up libcurl4:amd64 (7.64.0-4) ... Setting up cmake-data (3.13.4-1) ... Setting up libbinutils:amd64 (2.31.1-16) ... Setting up cpp-8 (8.3.0-6) ... Setting up libc-dev-bin (2.28-10) ... Setting up libcc1-0:amd64 (8.3.0-6) ... Setting up liblsan0:amd64 (8.3.0-6) ... Setting up libitm1:amd64 (8.3.0-6) ... Setting up libjsoncpp1:amd64 (1.7.4-3) ... Setting up binutils-x86-64-linux-gnu (2.31.1-16) ... Setting up libtsan0:amd64 (8.3.0-6) ... Setting up manpages-dev (4.16-2) ... Setting up binutils (2.31.1-16) ... Setting up libgcc-8-dev:amd64 (8.3.0-6) ... Setting up cpp (4:8.3.0-1) ... Setting up cmake (3.13.4-1) ... Setting up libc6-dev:amd64 (2.28-10) ... Setting up gcc-8 (8.3.0-6) ... Setting up gcc (4:8.3.0-1) ... Processing triggers for libc-bin (2.28-10) ... $ cd ixy && mkdir build $ cd ixy && cd build && cmake .. -- The C compiler identification is GNU 8.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Configuring done -- Generating done -- Build files have been written to: /home/debian/ixy/build $ cd ixy && cd build && make Scanning dependencies of target ixy-vfio [ 3%] Building C object CMakeFiles/ixy-vfio.dir/src/libixy-vfio.c.o [ 6%] Linking C shared library libixy-vfio.so [ 6%] Built target ixy-vfio Scanning dependencies of target ixy-pcap [ 9%] Building C object CMakeFiles/ixy-pcap.dir/src/app/ixy-pcap.c.o [ 12%] Building C object CMakeFiles/ixy-pcap.dir/src/pci.c.o [ 15%] Building C object CMakeFiles/ixy-pcap.dir/src/memory.c.o [ 18%] Building C object CMakeFiles/ixy-pcap.dir/src/stats.c.o [ 21%] Building C object CMakeFiles/ixy-pcap.dir/src/interrupts.c.o [ 25%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/device.c.o [ 28%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/ixgbe.c.o [ 31%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/virtio.c.o [ 34%] Building C object CMakeFiles/ixy-pcap.dir/src/libixy-vfio.c.o [ 37%] Linking C executable ixy-pcap [ 37%] Built target ixy-pcap Scanning dependencies of target ixy-pktgen [ 40%] Building C object CMakeFiles/ixy-pktgen.dir/src/app/ixy-pktgen.c.o [ 43%] Building C object CMakeFiles/ixy-pktgen.dir/src/pci.c.o [ 46%] Building C object CMakeFiles/ixy-pktgen.dir/src/memory.c.o [ 50%] Building C object CMakeFiles/ixy-pktgen.dir/src/stats.c.o [ 53%] Building C object CMakeFiles/ixy-pktgen.dir/src/interrupts.c.o [ 56%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/device.c.o [ 59%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/ixgbe.c.o [ 62%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/virtio.c.o [ 65%] Building C object CMakeFiles/ixy-pktgen.dir/src/libixy-vfio.c.o [ 68%] Linking C executable ixy-pktgen [ 68%] Built target ixy-pktgen Scanning dependencies of target ixy-fwd [ 71%] Building C object CMakeFiles/ixy-fwd.dir/src/app/ixy-fwd.c.o [ 75%] Building C object CMakeFiles/ixy-fwd.dir/src/pci.c.o [ 78%] Building C object CMakeFiles/ixy-fwd.dir/src/memory.c.o [ 81%] Building C object CMakeFiles/ixy-fwd.dir/src/stats.c.o [ 84%] Building C object CMakeFiles/ixy-fwd.dir/src/interrupts.c.o [ 87%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/device.c.o [ 90%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/ixgbe.c.o [ 93%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/virtio.c.o [ 96%] Building C object CMakeFiles/ixy-fwd.dir/src/libixy-vfio.c.o [100%] Linking C executable ixy-fwd [100%] Built target ixy-fwd $ cd ixy && sudo ./setup-hugetlbfs.sh $ sudo mv runner /usr/bin/runner $ sudo build/ixy-fwd $PCI_ADDR_FWD_SRC $PCI_ADDR_FWD_DST [DEBUG] /home/debian/ixy/src/pci.c:59 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/config [DEBUG] /home/debian/ixy/src/pci.c:59 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/config [DEBUG] /home/debian/ixy/src/pci.c:59 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/resource0 [DEBUG] /home/debian/ixy/src/driver/virtio.c:275 virtio_legacy_init(): Configuring bar0 [DEBUG] /home/debian/ixy/src/driver/virtio.c:284 virtio_legacy_init(): Host features: 79ffffef [DEBUG] /home/debian/ixy/src/driver/virtio.c:291 virtio_legacy_init(): Guest features before negotiation: 0 [DEBUG] /home/debian/ixy/src/driver/virtio.c:293 virtio_legacy_init(): Guest features after negotiation: 8060003 [DEBUG] /home/debian/ixy/src/driver/virtio.c:229 virtio_legacy_setup_rx_queue(): Max queue size of rx queue #0: 256 [DEBUG] /home/debian/ixy/src/driver/virtio.c:234 virtio_legacy_setup_rx_queue(): Notifcation offset 65535 [DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page [DEBUG] /home/debian/ixy/src/driver/virtio.c:238 virtio_legacy_setup_rx_queue(): Allocated 10244 bytes for virt queue at 0x7f2eede00000 [DEBUG] /home/debian/ixy/src/driver/virtio.c:244 virtio_legacy_setup_rx_queue(): vring desc: 0x7f2eede00000, vring avail: 0x7f2eede01000, vring used: 0x7f2eede02000 [DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page [DEBUG] /home/debian/ixy/src/driver/virtio.c:55 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #1: 256 [DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page [DEBUG] /home/debian/ixy/src/driver/virtio.c:62 virtio_legacy_setup_tx_queue(): Allocated 10244 bytes for virt queue at 0x7f2eeda00000 [DEBUG] /home/debian/ixy/src/driver/virtio.c:68 virtio_legacy_setup_tx_queue(): vring desc: 0x7f2eeda00000, vring avail: 0x7f2eeda01000, vring used: 0x7f2eeda02000 [DEBUG] /home/debian/ixy/src/driver/virtio.c:84 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535 [DEBUG] /home/debian/ixy/src/driver/virtio.c:55 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #2: 64 [DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page [DEBUG] /home/debian/ixy/src/driver/virtio.c:62 virtio_legacy_setup_tx_queue(): Allocated 4612 bytes for virt queue at 0x7f2eed800000 [DEBUG] /home/debian/ixy/src/driver/virtio.c:68 virtio_legacy_setup_tx_queue(): vring desc: 0x7f2eed800000, vring avail: 0x7f2eed800400, vring used: 0x7f2eed801000 [DEBUG] /home/debian/ixy/src/driver/virtio.c:84 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535 [DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page [DEBUG] /home/debian/ixy/src/driver/virtio.c:125 virtio_legacy_send_command(): Found free desc slot at 0 (64) [DEBUG] /home/debian/ixy/src/driver/virtio.c:177 virtio_legacy_send_command(): e 0x7f2eed80100c: id 0 len 0 [DEBUG] /home/debian/ixy/src/pci.c:59 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:07.0/config [DEBUG] /home/debian/ixy/src/pci.c:59 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:07.0/config [DEBUG] /home/debian/ixy/src/pci.c:59 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:07.0/resource0 [DEBUG] /home/debian/ixy/src/driver/virtio.c:275 virtio_legacy_init(): Configuring bar0 [DEBUG] /home/debian/ixy/src/driver/virtio.c:284 virtio_legacy_init(): Host features: 79ffffef [DEBUG] /home/debian/ixy/src/driver/virtio.c:291 virtio_legacy_init(): Guest features before negotiation: 0 [DEBUG] /home/debian/ixy/src/driver/virtio.c:293 virtio_legacy_init(): Guest features after negotiation: 8060003 [DEBUG] /home/debian/ixy/src/driver/virtio.c:229 virtio_legacy_setup_rx_queue(): Max queue size of rx queue #0: 256 [DEBUG] /home/debian/ixy/src/driver/virtio.c:234 virtio_legacy_setup_rx_queue(): Notifcation offset 65535 [DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page [DEBUG] /home/debian/ixy/src/driver/virtio.c:238 virtio_legacy_setup_rx_queue(): Allocated 10244 bytes for virt queue at 0x7f2eed400000 [DEBUG] /home/debian/ixy/src/driver/virtio.c:244 virtio_legacy_setup_rx_queue(): vring desc: 0x7f2eed400000, vring avail: 0x7f2eed401000, vring used: 0x7f2eed402000 [DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page [DEBUG] /home/debian/ixy/src/driver/virtio.c:55 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #1: 256 [DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page [DEBUG] /home/debian/ixy/src/driver/virtio.c:62 virtio_legacy_setup_tx_queue(): Allocated 10244 bytes for virt queue at 0x7f2eed000000 [DEBUG] /home/debian/ixy/src/driver/virtio.c:68 virtio_legacy_setup_tx_queue(): vring desc: 0x7f2eed000000, vring avail: 0x7f2eed001000, vring used: 0x7f2eed002000 [DEBUG] /home/debian/ixy/src/driver/virtio.c:84 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535 [DEBUG] /home/debian/ixy/src/driver/virtio.c:55 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #2: 64 [DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page [DEBUG] /home/debian/ixy/src/driver/virtio.c:62 virtio_legacy_setup_tx_queue(): Allocated 4612 bytes for virt queue at 0x7f2eece00000 [DEBUG] /home/debian/ixy/src/driver/virtio.c:68 virtio_legacy_setup_tx_queue(): vring desc: 0x7f2eece00000, vring avail: 0x7f2eece00400, vring used: 0x7f2eece01000 [DEBUG] /home/debian/ixy/src/driver/virtio.c:84 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535 [DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page [DEBUG] /home/debian/ixy/src/driver/virtio.c:125 virtio_legacy_send_command(): Found free desc slot at 0 (64) [DEBUG] /home/debian/ixy/src/driver/virtio.c:177 virtio_legacy_send_command(): e 0x7f2eece0100c: id 0 len 0 ```
pcap logs
``` $ sudo apt update WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Get:1 http://security.debian.org buster/updates InRelease [65.4 kB] Get:2 http://deb.debian.org/debian buster InRelease [122 kB] Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB] Get:4 http://deb.debian.org/debian buster-backports InRelease [46.7 kB] Get:5 http://security.debian.org buster/updates/main Sources [93.0 kB] Get:6 http://security.debian.org buster/updates/main amd64 Packages [161 kB] Get:7 http://security.debian.org buster/updates/main Translation-en [83.3 kB] Get:8 http://deb.debian.org/debian buster/main Sources [7,832 kB] Get:9 http://deb.debian.org/debian buster/main amd64 Packages [7,908 kB] Get:10 http://deb.debian.org/debian buster/main Translation-en [5,969 kB] Get:11 http://deb.debian.org/debian buster-backports/main Sources [123 kB] Get:12 http://deb.debian.org/debian buster-backports/main amd64 Packages [150 kB] Get:13 http://deb.debian.org/debian buster-backports/main Translation-en [126 kB] Fetched 22.7 MB in 4s (5,962 kB/s) Reading package lists... Building dependency tree... Reading state information... 27 packages can be upgraded. Run 'apt list --upgradable' to see them. $ sudo apt install -y git WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: git-man libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm6 libldap-2.4-2 libldap-common libnghttp2-14 libperl5.28 librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libssh2-1 patch perl perl-modules-5.28 Suggested packages: git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql ed diffutils-doc perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl make libb-debug-perl liblocale-codes-perl The following NEW packages will be installed: git git-man libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm6 libldap-2.4-2 libldap-common libnghttp2-14 libperl5.28 librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libssh2-1 patch perl perl-modules-5.28 0 upgraded, 18 newly installed, 0 to remove and 27 not upgraded. Need to get 15.7 MB of archives. After this operation, 87.8 MB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 perl-modules-5.28 all 5.28.1-6 [2,873 kB] Get:2 http://security.debian.org buster/updates/main amd64 git-man all 1:2.20.1-2+deb10u1 [1,620 kB] Get:3 http://deb.debian.org/debian buster/main amd64 libgdbm6 amd64 1.18.1-4 [64.7 kB] Get:4 http://deb.debian.org/debian buster/main amd64 libgdbm-compat4 amd64 1.18.1-4 [44.1 kB] Get:5 http://deb.debian.org/debian buster/main amd64 libperl5.28 amd64 5.28.1-6 [3,883 kB] Get:6 http://security.debian.org buster/updates/main amd64 git amd64 1:2.20.1-2+deb10u1 [5,620 kB] Get:7 http://deb.debian.org/debian buster/main amd64 perl amd64 5.28.1-6 [204 kB] Get:8 http://deb.debian.org/debian buster/main amd64 libsasl2-modules-db amd64 2.1.27+dfsg-1 [69.0 kB] Get:9 http://deb.debian.org/debian buster/main amd64 libsasl2-2 amd64 2.1.27+dfsg-1 [106 kB] Get:10 http://deb.debian.org/debian buster/main amd64 libldap-common all 2.4.47+dfsg-3+deb10u1 [89.6 kB] Get:11 http://deb.debian.org/debian buster/main amd64 libldap-2.4-2 amd64 2.4.47+dfsg-3+deb10u1 [225 kB] Get:12 http://deb.debian.org/debian buster/main amd64 libnghttp2-14 amd64 1.36.0-2+deb10u1 [85.0 kB] Get:13 http://deb.debian.org/debian buster/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2 [60.5 kB] Get:14 http://deb.debian.org/debian buster/main amd64 libssh2-1 amd64 1.8.0-2.1 [140 kB] Get:15 http://deb.debian.org/debian buster/main amd64 libcurl3-gnutls amd64 7.64.0-4 [329 kB] Get:16 http://deb.debian.org/debian buster/main amd64 liberror-perl all 0.17027-2 [30.9 kB] Get:17 http://deb.debian.org/debian buster/main amd64 libsasl2-modules amd64 2.1.27+dfsg-1 [104 kB] Get:18 http://deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB] debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 18.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Fetched 15.7 MB in 0s (42.8 MB/s) Selecting previously unselected package perl-modules-5.28. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26960 files and directories currently installed.) Preparing to unpack .../00-perl-modules-5.28_5.28.1-6_all.deb ... Unpacking perl-modules-5.28 (5.28.1-6) ... Selecting previously unselected package libgdbm6:amd64. Preparing to unpack .../01-libgdbm6_1.18.1-4_amd64.deb ... Unpacking libgdbm6:amd64 (1.18.1-4) ... Selecting previously unselected package libgdbm-compat4:amd64. Preparing to unpack .../02-libgdbm-compat4_1.18.1-4_amd64.deb ... Unpacking libgdbm-compat4:amd64 (1.18.1-4) ... Selecting previously unselected package libperl5.28:amd64. Preparing to unpack .../03-libperl5.28_5.28.1-6_amd64.deb ... Unpacking libperl5.28:amd64 (5.28.1-6) ... Selecting previously unselected package perl. Preparing to unpack .../04-perl_5.28.1-6_amd64.deb ... Unpacking perl (5.28.1-6) ... Selecting previously unselected package libsasl2-modules-db:amd64. Preparing to unpack .../05-libsasl2-modules-db_2.1.27+dfsg-1_amd64.deb ... Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-1) ... Selecting previously unselected package libsasl2-2:amd64. Preparing to unpack .../06-libsasl2-2_2.1.27+dfsg-1_amd64.deb ... Unpacking libsasl2-2:amd64 (2.1.27+dfsg-1) ... Selecting previously unselected package libldap-common. Preparing to unpack .../07-libldap-common_2.4.47+dfsg-3+deb10u1_all.deb ... Unpacking libldap-common (2.4.47+dfsg-3+deb10u1) ... Selecting previously unselected package libldap-2.4-2:amd64. Preparing to unpack .../08-libldap-2.4-2_2.4.47+dfsg-3+deb10u1_amd64.deb ... Unpacking libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ... Selecting previously unselected package libnghttp2-14:amd64. Preparing to unpack .../09-libnghttp2-14_1.36.0-2+deb10u1_amd64.deb ... Unpacking libnghttp2-14:amd64 (1.36.0-2+deb10u1) ... Selecting previously unselected package librtmp1:amd64. Preparing to unpack .../10-librtmp1_2.4+20151223.gitfa8646d.1-2_amd64.deb ... Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ... Selecting previously unselected package libssh2-1:amd64. Preparing to unpack .../11-libssh2-1_1.8.0-2.1_amd64.deb ... Unpacking libssh2-1:amd64 (1.8.0-2.1) ... Selecting previously unselected package libcurl3-gnutls:amd64. Preparing to unpack .../12-libcurl3-gnutls_7.64.0-4_amd64.deb ... Unpacking libcurl3-gnutls:amd64 (7.64.0-4) ... Selecting previously unselected package liberror-perl. Preparing to unpack .../13-liberror-perl_0.17027-2_all.deb ... Unpacking liberror-perl (0.17027-2) ... Selecting previously unselected package git-man. Preparing to unpack .../14-git-man_1%3a2.20.1-2+deb10u1_all.deb ... Unpacking git-man (1:2.20.1-2+deb10u1) ... Selecting previously unselected package git. Preparing to unpack .../15-git_1%3a2.20.1-2+deb10u1_amd64.deb ... Unpacking git (1:2.20.1-2+deb10u1) ... Selecting previously unselected package libsasl2-modules:amd64. Preparing to unpack .../16-libsasl2-modules_2.1.27+dfsg-1_amd64.deb ... Unpacking libsasl2-modules:amd64 (2.1.27+dfsg-1) ... Selecting previously unselected package patch. Preparing to unpack .../17-patch_2.7.6-3+deb10u1_amd64.deb ... Unpacking patch (2.7.6-3+deb10u1) ... Setting up perl-modules-5.28 (5.28.1-6) ... Setting up libsasl2-modules:amd64 (2.1.27+dfsg-1) ... Setting up libnghttp2-14:amd64 (1.36.0-2+deb10u1) ... Setting up libldap-common (2.4.47+dfsg-3+deb10u1) ... Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-1) ... Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ... Setting up patch (2.7.6-3+deb10u1) ... Setting up libsasl2-2:amd64 (2.1.27+dfsg-1) ... Setting up git-man (1:2.20.1-2+deb10u1) ... Setting up libssh2-1:amd64 (1.8.0-2.1) ... Setting up libgdbm6:amd64 (1.18.1-4) ... Setting up libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ... Setting up libcurl3-gnutls:amd64 (7.64.0-4) ... Setting up libgdbm-compat4:amd64 (1.18.1-4) ... Setting up libperl5.28:amd64 (5.28.1-6) ... Setting up perl (5.28.1-6) ... Setting up liberror-perl (0.17027-2) ... Setting up git (1:2.20.1-2+deb10u1) ... Processing triggers for libc-bin (2.28-10) ... $ git clone https://github.com/ackxolotl/ixy --branch 💩 --single-branch --recurse-submodules Cloning into 'ixy'... $ cd ixy && sudo apt-get install -y cmake gcc Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: binutils binutils-common binutils-x86-64-linux-gnu cmake-data cpp cpp-8 gcc-8 libarchive13 libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0 libcurl4 libgcc-8-dev libgomp1 libisl19 libitm1 libjsoncpp1 liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 librhash0 libtsan0 libubsan1 libuv1 linux-libc-dev make manpages manpages-dev Suggested packages: binutils-doc cmake-doc ninja-build cpp-doc gcc-8-locales gcc-multilib autoconf automake libtool flex bison gdb gcc-doc gcc-8-multilib gcc-8-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan5-dbg liblsan0-dbg libtsan0-dbg libubsan1-dbg libmpx2-dbg libquadmath0-dbg lrzip glibc-doc make-doc man-browser The following NEW packages will be installed: binutils binutils-common binutils-x86-64-linux-gnu cmake cmake-data cpp cpp-8 gcc gcc-8 libarchive13 libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0 libcurl4 libgcc-8-dev libgomp1 libisl19 libitm1 libjsoncpp1 liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 librhash0 libtsan0 libubsan1 libuv1 linux-libc-dev make manpages manpages-dev 0 upgraded, 35 newly installed, 0 to remove and 27 not upgraded. Need to get 41.7 MB of archives. After this operation, 164 MB of additional disk space will be used. Get:1 http://security.debian.org buster/updates/main amd64 linux-libc-dev amd64 4.19.67-2+deb10u2 [1,234 kB] Get:2 http://deb.debian.org/debian buster/main amd64 manpages all 4.16-2 [1,295 kB] Get:3 http://deb.debian.org/debian buster/main amd64 binutils-common amd64 2.31.1-16 [2,073 kB] Get:4 http://deb.debian.org/debian buster/main amd64 libbinutils amd64 2.31.1-16 [478 kB] Get:5 http://deb.debian.org/debian buster/main amd64 binutils-x86-64-linux-gnu amd64 2.31.1-16 [1,823 kB] Get:6 http://deb.debian.org/debian buster/main amd64 binutils amd64 2.31.1-16 [56.8 kB] Get:7 http://deb.debian.org/debian buster/main amd64 cmake-data all 3.13.4-1 [1,476 kB] Get:8 http://deb.debian.org/debian buster/main amd64 libarchive13 amd64 3.3.3-4+deb10u1 [313 kB] Get:9 http://deb.debian.org/debian buster/main amd64 libcurl4 amd64 7.64.0-4 [332 kB] Get:10 http://deb.debian.org/debian buster/main amd64 libjsoncpp1 amd64 1.7.4-3 [75.6 kB] Get:11 http://deb.debian.org/debian buster/main amd64 librhash0 amd64 1.3.8-1 [122 kB] Get:12 http://deb.debian.org/debian buster/main amd64 libuv1 amd64 1.24.1-1 [110 kB] Get:13 http://deb.debian.org/debian buster/main amd64 cmake amd64 3.13.4-1 [3,480 kB] Get:14 http://deb.debian.org/debian buster/main amd64 libisl19 amd64 0.20-2 [587 kB] Get:15 http://deb.debian.org/debian buster/main amd64 libmpfr6 amd64 4.0.2-1 [775 kB] Get:16 http://deb.debian.org/debian buster/main amd64 libmpc3 amd64 1.1.0-1 [41.3 kB] Get:17 http://deb.debian.org/debian buster/main amd64 cpp-8 amd64 8.3.0-6 [8,914 kB] Get:18 http://deb.debian.org/debian buster/main amd64 cpp amd64 4:8.3.0-1 [19.4 kB] Get:19 http://deb.debian.org/debian buster/main amd64 libcc1-0 amd64 8.3.0-6 [46.6 kB] Get:20 http://deb.debian.org/debian buster/main amd64 libgomp1 amd64 8.3.0-6 [75.8 kB] Get:21 http://deb.debian.org/debian buster/main amd64 libitm1 amd64 8.3.0-6 [27.7 kB] Get:22 http://deb.debian.org/debian buster/main amd64 libatomic1 amd64 8.3.0-6 [9,032 B] Get:23 http://deb.debian.org/debian buster/main amd64 libasan5 amd64 8.3.0-6 [362 kB] Get:24 http://deb.debian.org/debian buster/main amd64 liblsan0 amd64 8.3.0-6 [131 kB] Get:25 http://deb.debian.org/debian buster/main amd64 libtsan0 amd64 8.3.0-6 [283 kB] Get:26 http://deb.debian.org/debian buster/main amd64 libubsan1 amd64 8.3.0-6 [120 kB] Get:27 http://deb.debian.org/debian buster/main amd64 libmpx2 amd64 8.3.0-6 [11.4 kB] Get:28 http://deb.debian.org/debian buster/main amd64 libquadmath0 amd64 8.3.0-6 [133 kB] Get:29 http://deb.debian.org/debian buster/main amd64 libgcc-8-dev amd64 8.3.0-6 [2,298 kB] Get:30 http://deb.debian.org/debian buster/main amd64 gcc-8 amd64 8.3.0-6 [9,452 kB] Get:31 http://deb.debian.org/debian buster/main amd64 gcc amd64 4:8.3.0-1 [5,196 B] Get:32 http://deb.debian.org/debian buster/main amd64 libc-dev-bin amd64 2.28-10 [275 kB] Get:33 http://deb.debian.org/debian buster/main amd64 libc6-dev amd64 2.28-10 [2,691 kB] Get:34 http://deb.debian.org/debian buster/main amd64 make amd64 4.2.1-1.2 [341 kB] Get:35 http://deb.debian.org/debian buster/main amd64 manpages-dev all 4.16-2 [2,232 kB] debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Fetched 41.7 MB in 1s (39.3 MB/s) Selecting previously unselected package manpages. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29941 files and directories currently installed.) Preparing to unpack .../00-manpages_4.16-2_all.deb ... Unpacking manpages (4.16-2) ... Selecting previously unselected package binutils-common:amd64. Preparing to unpack .../01-binutils-common_2.31.1-16_amd64.deb ... Unpacking binutils-common:amd64 (2.31.1-16) ... Selecting previously unselected package libbinutils:amd64. Preparing to unpack .../02-libbinutils_2.31.1-16_amd64.deb ... Unpacking libbinutils:amd64 (2.31.1-16) ... Selecting previously unselected package binutils-x86-64-linux-gnu. Preparing to unpack .../03-binutils-x86-64-linux-gnu_2.31.1-16_amd64.deb ... Unpacking binutils-x86-64-linux-gnu (2.31.1-16) ... Selecting previously unselected package binutils. Preparing to unpack .../04-binutils_2.31.1-16_amd64.deb ... Unpacking binutils (2.31.1-16) ... Selecting previously unselected package cmake-data. Preparing to unpack .../05-cmake-data_3.13.4-1_all.deb ... Unpacking cmake-data (3.13.4-1) ... Selecting previously unselected package libarchive13:amd64. Preparing to unpack .../06-libarchive13_3.3.3-4+deb10u1_amd64.deb ... Unpacking libarchive13:amd64 (3.3.3-4+deb10u1) ... Selecting previously unselected package libcurl4:amd64. Preparing to unpack .../07-libcurl4_7.64.0-4_amd64.deb ... Unpacking libcurl4:amd64 (7.64.0-4) ... Selecting previously unselected package libjsoncpp1:amd64. Preparing to unpack .../08-libjsoncpp1_1.7.4-3_amd64.deb ... Unpacking libjsoncpp1:amd64 (1.7.4-3) ... Selecting previously unselected package librhash0:amd64. Preparing to unpack .../09-librhash0_1.3.8-1_amd64.deb ... Unpacking librhash0:amd64 (1.3.8-1) ... Selecting previously unselected package libuv1:amd64. Preparing to unpack .../10-libuv1_1.24.1-1_amd64.deb ... Unpacking libuv1:amd64 (1.24.1-1) ... Selecting previously unselected package cmake. Preparing to unpack .../11-cmake_3.13.4-1_amd64.deb ... Unpacking cmake (3.13.4-1) ... Selecting previously unselected package libisl19:amd64. Preparing to unpack .../12-libisl19_0.20-2_amd64.deb ... Unpacking libisl19:amd64 (0.20-2) ... Selecting previously unselected package libmpfr6:amd64. Preparing to unpack .../13-libmpfr6_4.0.2-1_amd64.deb ... Unpacking libmpfr6:amd64 (4.0.2-1) ... Selecting previously unselected package libmpc3:amd64. Preparing to unpack .../14-libmpc3_1.1.0-1_amd64.deb ... Unpacking libmpc3:amd64 (1.1.0-1) ... Selecting previously unselected package cpp-8. Preparing to unpack .../15-cpp-8_8.3.0-6_amd64.deb ... Unpacking cpp-8 (8.3.0-6) ... Selecting previously unselected package cpp. Preparing to unpack .../16-cpp_4%3a8.3.0-1_amd64.deb ... Unpacking cpp (4:8.3.0-1) ... Selecting previously unselected package libcc1-0:amd64. Preparing to unpack .../17-libcc1-0_8.3.0-6_amd64.deb ... Unpacking libcc1-0:amd64 (8.3.0-6) ... Selecting previously unselected package libgomp1:amd64. Preparing to unpack .../18-libgomp1_8.3.0-6_amd64.deb ... Unpacking libgomp1:amd64 (8.3.0-6) ... Selecting previously unselected package libitm1:amd64. Preparing to unpack .../19-libitm1_8.3.0-6_amd64.deb ... Unpacking libitm1:amd64 (8.3.0-6) ... Selecting previously unselected package libatomic1:amd64. Preparing to unpack .../20-libatomic1_8.3.0-6_amd64.deb ... Unpacking libatomic1:amd64 (8.3.0-6) ... Selecting previously unselected package libasan5:amd64. Preparing to unpack .../21-libasan5_8.3.0-6_amd64.deb ... Unpacking libasan5:amd64 (8.3.0-6) ... Selecting previously unselected package liblsan0:amd64. Preparing to unpack .../22-liblsan0_8.3.0-6_amd64.deb ... Unpacking liblsan0:amd64 (8.3.0-6) ... Selecting previously unselected package libtsan0:amd64. Preparing to unpack .../23-libtsan0_8.3.0-6_amd64.deb ... Unpacking libtsan0:amd64 (8.3.0-6) ... Selecting previously unselected package libubsan1:amd64. Preparing to unpack .../24-libubsan1_8.3.0-6_amd64.deb ... Unpacking libubsan1:amd64 (8.3.0-6) ... Selecting previously unselected package libmpx2:amd64. Preparing to unpack .../25-libmpx2_8.3.0-6_amd64.deb ... Unpacking libmpx2:amd64 (8.3.0-6) ... Selecting previously unselected package libquadmath0:amd64. Preparing to unpack .../26-libquadmath0_8.3.0-6_amd64.deb ... Unpacking libquadmath0:amd64 (8.3.0-6) ... Selecting previously unselected package libgcc-8-dev:amd64. Preparing to unpack .../27-libgcc-8-dev_8.3.0-6_amd64.deb ... Unpacking libgcc-8-dev:amd64 (8.3.0-6) ... Selecting previously unselected package gcc-8. Preparing to unpack .../28-gcc-8_8.3.0-6_amd64.deb ... Unpacking gcc-8 (8.3.0-6) ... Selecting previously unselected package gcc. Preparing to unpack .../29-gcc_4%3a8.3.0-1_amd64.deb ... Unpacking gcc (4:8.3.0-1) ... Selecting previously unselected package libc-dev-bin. Preparing to unpack .../30-libc-dev-bin_2.28-10_amd64.deb ... Unpacking libc-dev-bin (2.28-10) ... Selecting previously unselected package linux-libc-dev:amd64. Preparing to unpack .../31-linux-libc-dev_4.19.67-2+deb10u2_amd64.deb ... Unpacking linux-libc-dev:amd64 (4.19.67-2+deb10u2) ... Selecting previously unselected package libc6-dev:amd64. Preparing to unpack .../32-libc6-dev_2.28-10_amd64.deb ... Unpacking libc6-dev:amd64 (2.28-10) ... Selecting previously unselected package make. Preparing to unpack .../33-make_4.2.1-1.2_amd64.deb ... Unpacking make (4.2.1-1.2) ... Selecting previously unselected package manpages-dev. Preparing to unpack .../34-manpages-dev_4.16-2_all.deb ... Unpacking manpages-dev (4.16-2) ... Setting up libarchive13:amd64 (3.3.3-4+deb10u1) ... Setting up manpages (4.16-2) ... Setting up binutils-common:amd64 (2.31.1-16) ... Setting up linux-libc-dev:amd64 (4.19.67-2+deb10u2) ... Setting up libgomp1:amd64 (8.3.0-6) ... Setting up libasan5:amd64 (8.3.0-6) ... Setting up libuv1:amd64 (1.24.1-1) ... Setting up make (4.2.1-1.2) ... Setting up libmpfr6:amd64 (4.0.2-1) ... Setting up libquadmath0:amd64 (8.3.0-6) ... Setting up libmpc3:amd64 (1.1.0-1) ... Setting up libatomic1:amd64 (8.3.0-6) ... Setting up libmpx2:amd64 (8.3.0-6) ... Setting up libubsan1:amd64 (8.3.0-6) ... Setting up libisl19:amd64 (0.20-2) ... Setting up librhash0:amd64 (1.3.8-1) ... Setting up libcurl4:amd64 (7.64.0-4) ... Setting up cmake-data (3.13.4-1) ... Setting up libbinutils:amd64 (2.31.1-16) ... Setting up cpp-8 (8.3.0-6) ... Setting up libc-dev-bin (2.28-10) ... Setting up libcc1-0:amd64 (8.3.0-6) ... Setting up liblsan0:amd64 (8.3.0-6) ... Setting up libitm1:amd64 (8.3.0-6) ... Setting up libjsoncpp1:amd64 (1.7.4-3) ... Setting up binutils-x86-64-linux-gnu (2.31.1-16) ... Setting up libtsan0:amd64 (8.3.0-6) ... Setting up manpages-dev (4.16-2) ... Setting up binutils (2.31.1-16) ... Setting up libgcc-8-dev:amd64 (8.3.0-6) ... Setting up cpp (4:8.3.0-1) ... Setting up cmake (3.13.4-1) ... Setting up libc6-dev:amd64 (2.28-10) ... Setting up gcc-8 (8.3.0-6) ... Setting up gcc (4:8.3.0-1) ... Processing triggers for libc-bin (2.28-10) ... $ cd ixy && mkdir build $ cd ixy && cd build && cmake .. -- The C compiler identification is GNU 8.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Configuring done -- Generating done -- Build files have been written to: /home/debian/ixy/build $ cd ixy && cd build && make Scanning dependencies of target ixy-vfio [ 3%] Building C object CMakeFiles/ixy-vfio.dir/src/libixy-vfio.c.o [ 6%] Linking C shared library libixy-vfio.so [ 6%] Built target ixy-vfio Scanning dependencies of target ixy-pcap [ 9%] Building C object CMakeFiles/ixy-pcap.dir/src/app/ixy-pcap.c.o [ 12%] Building C object CMakeFiles/ixy-pcap.dir/src/pci.c.o [ 15%] Building C object CMakeFiles/ixy-pcap.dir/src/memory.c.o [ 18%] Building C object CMakeFiles/ixy-pcap.dir/src/stats.c.o [ 21%] Building C object CMakeFiles/ixy-pcap.dir/src/interrupts.c.o [ 25%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/device.c.o [ 28%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/ixgbe.c.o [ 31%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/virtio.c.o [ 34%] Building C object CMakeFiles/ixy-pcap.dir/src/libixy-vfio.c.o [ 37%] Linking C executable ixy-pcap [ 37%] Built target ixy-pcap Scanning dependencies of target ixy-pktgen [ 40%] Building C object CMakeFiles/ixy-pktgen.dir/src/app/ixy-pktgen.c.o [ 43%] Building C object CMakeFiles/ixy-pktgen.dir/src/pci.c.o [ 46%] Building C object CMakeFiles/ixy-pktgen.dir/src/memory.c.o [ 50%] Building C object CMakeFiles/ixy-pktgen.dir/src/stats.c.o [ 53%] Building C object CMakeFiles/ixy-pktgen.dir/src/interrupts.c.o [ 56%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/device.c.o [ 59%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/ixgbe.c.o [ 62%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/virtio.c.o [ 65%] Building C object CMakeFiles/ixy-pktgen.dir/src/libixy-vfio.c.o [ 68%] Linking C executable ixy-pktgen [ 68%] Built target ixy-pktgen Scanning dependencies of target ixy-fwd [ 71%] Building C object CMakeFiles/ixy-fwd.dir/src/app/ixy-fwd.c.o [ 75%] Building C object CMakeFiles/ixy-fwd.dir/src/pci.c.o [ 78%] Building C object CMakeFiles/ixy-fwd.dir/src/memory.c.o [ 81%] Building C object CMakeFiles/ixy-fwd.dir/src/stats.c.o [ 84%] Building C object CMakeFiles/ixy-fwd.dir/src/interrupts.c.o [ 87%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/device.c.o [ 90%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/ixgbe.c.o [ 93%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/virtio.c.o [ 96%] Building C object CMakeFiles/ixy-fwd.dir/src/libixy-vfio.c.o [100%] Linking C executable ixy-fwd [100%] Built target ixy-fwd $ cd ixy && sudo ./setup-hugetlbfs.sh $ sudo mv runner /usr/bin/runner $ sudo build/ixy-pcap $PCI_ADDR_PCAP $PCAP_OUT $PCAP_N [DEBUG] /home/debian/ixy/src/pci.c:59 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/config [DEBUG] /home/debian/ixy/src/pci.c:59 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/config [DEBUG] /home/debian/ixy/src/pci.c:59 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/resource0 [DEBUG] /home/debian/ixy/src/driver/virtio.c:275 virtio_legacy_init(): Configuring bar0 [DEBUG] /home/debian/ixy/src/driver/virtio.c:284 virtio_legacy_init(): Host features: 79ffffef [DEBUG] /home/debian/ixy/src/driver/virtio.c:291 virtio_legacy_init(): Guest features before negotiation: 0 [DEBUG] /home/debian/ixy/src/driver/virtio.c:293 virtio_legacy_init(): Guest features after negotiation: 8060003 [DEBUG] /home/debian/ixy/src/driver/virtio.c:229 virtio_legacy_setup_rx_queue(): Max queue size of rx queue #0: 256 [DEBUG] /home/debian/ixy/src/driver/virtio.c:234 virtio_legacy_setup_rx_queue(): Notifcation offset 65535 [DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page [DEBUG] /home/debian/ixy/src/driver/virtio.c:238 virtio_legacy_setup_rx_queue(): Allocated 10244 bytes for virt queue at 0x7f902a600000 [DEBUG] /home/debian/ixy/src/driver/virtio.c:244 virtio_legacy_setup_rx_queue(): vring desc: 0x7f902a600000, vring avail: 0x7f902a601000, vring used: 0x7f902a602000 [DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page [DEBUG] /home/debian/ixy/src/driver/virtio.c:55 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #1: 256 [DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page [DEBUG] /home/debian/ixy/src/driver/virtio.c:62 virtio_legacy_setup_tx_queue(): Allocated 10244 bytes for virt queue at 0x7f902a200000 [DEBUG] /home/debian/ixy/src/driver/virtio.c:68 virtio_legacy_setup_tx_queue(): vring desc: 0x7f902a200000, vring avail: 0x7f902a201000, vring used: 0x7f902a202000 [DEBUG] /home/debian/ixy/src/driver/virtio.c:84 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535 [DEBUG] /home/debian/ixy/src/driver/virtio.c:55 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #2: 64 [DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page [DEBUG] /home/debian/ixy/src/driver/virtio.c:62 virtio_legacy_setup_tx_queue(): Allocated 4612 bytes for virt queue at 0x7f902a000000 [DEBUG] /home/debian/ixy/src/driver/virtio.c:68 virtio_legacy_setup_tx_queue(): vring desc: 0x7f902a000000, vring avail: 0x7f902a000400, vring used: 0x7f902a001000 [DEBUG] /home/debian/ixy/src/driver/virtio.c:84 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535 [DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page [DEBUG] /home/debian/ixy/src/driver/virtio.c:125 virtio_legacy_send_command(): Found free desc slot at 0 (64) [DEBUG] /home/debian/ixy/src/driver/virtio.c:177 virtio_legacy_send_command(): e 0x7f902a00100c: id 0 len 0 [INFO ] /home/debian/ixy/src/driver/virtio.c:352 virtio_init(): Detected virtio legacy network card [INFO ] /home/debian/ixy/src/driver/virtio.c:302 virtio_legacy_init(): Setup complete [INFO ] /home/debian/ixy/src/driver/virtio.c:203 virtio_legacy_set_promiscuous(): Set promisc to 1 Capturing 100000 packets... ```
Fixes #22.