-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hi Stefano
I have some issues while installing ptnetmap . I followed these steps for installation :-
git clone ptnetmap and git submodule update --init —recursive.
In host machine :-
3.17 kernel version installed
Intel network interface card 10G 2P X520 Adapter
NETMAP configuration on host :
./configure --kernel-dir=../kernel-host/ --enable-ptnetmap-host
make -j
insmod netmap.ko
QEMU configuration :
./configure --target-list=x86_64-softmmu --enable-e1000-paravirt --enable-netmap --enable-ptnetmap --extra-cflags=-I$HOME/repos/ptnetmap/netmap/sys --python=python2
make -j
for creating VM on Host machine i used command:
root@prateek:# qemu-system-x86_64 -enable-kvm -smp 4 -m 4G -drive file=/netmap/vm_image/test.qcow2 -device virtio-net-pci,netdev=mynet -netdev netmap,ifname=vale0:4,passthrough=on,id=mynet -vnc :4 &# ptnetmap_memdev: init
[1] 11349
root@prateek:
383.960670 net_init_netmap [726] ptnetmap required
384.024508 net_init_netmap [751] cfg: tx 1024_1 rx 1024_1
ptnetmap_memdev: creating
ptnetmap_memdev: loading
ptnentmap_memdev: map BAR size 4000000 (64 MiB)
ptnetmap_memdev: loaded
ptnetmap_memdev: created
NETMAP guest (netmap/LINUX):
In Guest i used ptnetmap linux version.
./configure --kernel-dir=/home/ptnetmap/linux/ --enable-ptnetmap-guest --drivers=virtio-net
make -j
I loaded netmap by insmod ./netmap.ko
then modprobe virtio_net
ISSUE:-
- When I run ./pkt-gen -i eth0 -f tx i got very less negligible sending rate find attachemnet of result snapshot.

- I want vale switch ports to bridge with netmap:eth interface its give segmentation fault .
dmesg log :-
[91321.594584] 172.469733 [1147] netmap_get_pt_host_na not a ptnetmap
[91321.613409] 172.488572 [1993] netmap_do_regif lut ffffc90021dc9000 bufs 20482 size 2048
[91321.620769] 172.495940 [1147] netmap_get_pt_host_na not a ptnetmap
[91321.639296] 172.514481 [1993] netmap_do_regif lut ffffc90021e1f000 bufs 20482 size 2048
[91325.643884] bridge[11253]: segfault at 18 ip 00000000004028e2 sp 00007fff6c82b878 error 4 in bridge[400000+4000] - While attaching intel network interface card to vale switch whole system crash . I got the error by vale-ctl -a vale0:eth4 (find attachement of call trace snapshot)
