Skip to content

Commit

Permalink
Add more dpdk fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vladandrew committed Mar 6, 2021
1 parent e9f5776 commit 6050cf6
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions experiments/tab_04_kvs_compare/clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ sudo python3 aux/dpdk/usertools/dpdk-devbind.py -b ixgbe 0000:01:00.0 0000:01:00
rm -rf aux/lib_src
rm -rf aux/dpdk2
rm -rf aux/dpdk-19.11.6.tar.xz
rm -rf server/unikraft_raw/uk_test_suite/
rm -rf client/unikraft_raw/uk_test_suite/
rm -rf server/unikraft_raw/uk_test_suite/build
rm -rf client/unikraft_raw/uk_test_suite/build
5 changes: 3 additions & 2 deletions experiments/tab_04_kvs_compare/server/linux_single/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
gcc server.c -o server
ip a a 172.17.0.114 dev enp2s0
ip a l set enp2s0 up
sudo arp -s 172.17.0.4 a0:36:9f:52:29:D0
sudo ip a a 172.17.0.114 dev enp1s0f1
sudo ip l set enp1s0f1 up
./server
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//#include <arpa/inet.h>
#include <netinet/in.h>

#define PORT 8080
#define PORT 9001
#define MAXLINE 1300

// Driver code
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sudo qemu-system-x86_64 -cpu host,+invtsc -enable-kvm -m 1G -nodefaults -no-acpi -display none -serial stdio -object memory-backend-file,id=mem,size=1G,mem-path=/mnt/huge1G/test,share=on -numa node,memdev=mem -mem-prealloc -chardev socket,id=char0,path=../../vhost-net -netdev vhost-user,id=testtap1,chardev=char0,vhostforce -device virtio-net-pci,netdev=testtap1,rx_queue_size=1024,tx_queue_size=1024 -kernel build/uk_test_suite_kvm-x86_64
sudo qemu-system-x86_64 -cpu host,+invtsc -enable-kvm -m 1G -nodefaults -no-acpi -display none -serial stdio -object memory-backend-file,id=mem,size=1G,mem-path=/mnt/huge1G/test,share=on -numa node,memdev=mem -mem-prealloc -chardev socket,id=char0,path=../../vhost-net -netdev vhost-user,id=testtap1,chardev=char0,vhostforce -device virtio-net-pci,netdev=testtap1,rx_queue_size=1024,tx_queue_size=1024 -kernel build/uk_test_suite_kvm-x86_64 | tee results.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "pktgen.h"
#include "dev.h"
#include <uk/netdev.h>

#define CONFIG_USE_DPDK_PMD
#define PRINT_ITERATION 10
#define RX_NUM_BUF 16384
#define TX_NUM_BUF 16384
Expand Down

0 comments on commit 6050cf6

Please sign in to comment.