OpenFastPath / ofp

OpenFastPath project
BSD 3-Clause "New" or "Revised" License
351 stars 126 forks source link

tcpperf example with odp-dpdk not working #198

Open JereLeppanen opened 6 years ago

JereLeppanen commented 6 years ago

From: Norbert Nyakó [mailto:norbert.nyako@gmail.com] Sent: Tuesday, March 27, 2018 11:42 AM

Hi,

I have tried to run the tcpperf example application and it is not working in client mode when I run netcat at the remote side. Altough it is working when an other instance of tcpperf in server mode is on the remote side. The error happens when it tries to connect: E 1519 1:2647381760 app_main.c:523] Error: Failed to connect (errno = 57) Socket is not connected. Do you have any idea why it is not working? For further details see below.

Side1:

IP: 10.12.0.1 CMD: ODP_PLATFORM_PARAMS="--huge-dir /mnt/huge --log-level 10 -n 1" ./tcpperf -c "10.12.0.2" -f "ofp.cli" -i 0 -p 5001

Output: EAL: Detected lcore 0 as core 0 on socket 0 EAL: Detected lcore 1 as core 0 on socket 1 EAL: Detected lcore 2 as core 1 on socket 0 EAL: Detected lcore 3 as core 1 on socket 1 EAL: Detected lcore 4 as core 2 on socket 0 EAL: Detected lcore 5 as core 2 on socket 1 EAL: Detected lcore 6 as core 3 on socket 0 EAL: Detected lcore 7 as core 3 on socket 1 EAL: Detected lcore 8 as core 4 on socket 0 EAL: Detected lcore 9 as core 4 on socket 1 EAL: Detected lcore 10 as core 8 on socket 0 EAL: Detected lcore 11 as core 8 on socket 1 EAL: Detected lcore 12 as core 9 on socket 0 EAL: Detected lcore 13 as core 9 on socket 1 EAL: Detected lcore 14 as core 10 on socket 0 EAL: Detected lcore 15 as core 10 on socket 1 EAL: Detected lcore 16 as core 11 on socket 0 EAL: Detected lcore 17 as core 11 on socket 1 EAL: Detected lcore 18 as core 12 on socket 0 EAL: Detected lcore 19 as core 12 on socket 1 EAL: Detected lcore 20 as core 0 on socket 0 EAL: Detected lcore 21 as core 0 on socket 1 EAL: Detected lcore 22 as core 1 on socket 0 EAL: Detected lcore 23 as core 1 on socket 1 EAL: Detected lcore 24 as core 2 on socket 0 EAL: Detected lcore 25 as core 2 on socket 1 EAL: Detected lcore 26 as core 3 on socket 0 EAL: Detected lcore 27 as core 3 on socket 1 EAL: Detected lcore 28 as core 4 on socket 0 EAL: Detected lcore 29 as core 4 on socket 1 EAL: Detected lcore 30 as core 8 on socket 0 EAL: Detected lcore 31 as core 8 on socket 1 EAL: Detected lcore 32 as core 9 on socket 0 EAL: Detected lcore 33 as core 9 on socket 1 EAL: Detected lcore 34 as core 10 on socket 0 EAL: Detected lcore 35 as core 10 on socket 1 EAL: Detected lcore 36 as core 11 on socket 0 EAL: Detected lcore 37 as core 11 on socket 1 EAL: Detected lcore 38 as core 12 on socket 0 EAL: Detected lcore 39 as core 12 on socket 1 EAL: Support maximum 128 logical core(s) by configuration. EAL: Detected 40 lcore(s) EAL: Probing VFIO support... EAL: Module /sys/module/vfio_pci not found! error 2 (No such file or directory) EAL: VFIO modules not loaded, skipping VFIO support... EAL: Module /sys/module/vfio_pci not found! error 2 (No such file or directory) EAL: Setting up physically contiguous memory... EAL: Ask a virtual area of 0x200000000 bytes EAL: Virtual area found at 0x7f1480000000 (size = 0x200000000) EAL: Ask a virtual area of 0x200000000 bytes EAL: Virtual area found at 0x7f1240000000 (size = 0x200000000) EAL: Requesting 8 pages of size 1024MB from socket 0 EAL: Requesting 8 pages of size 1024MB from socket 1 EAL: TSC frequency is ~2197436 KHz EAL: Master lcore 4 is ready (tid=231ccc0;cpuset=[4]) EAL: PCI device 0000:06:00.0 on NUMA socket 0 EAL: probe driver: 8086:1528 net_ixgbe EAL: Not managed by a supported kernel driver, skipped EAL: PCI device 0000:06:00.1 on NUMA socket 0 EAL: probe driver: 8086:1528 net_ixgbe EAL: PCI memory mapped at 0x7f1680000000 EAL: PCI memory mapped at 0x7f1680200000 PMD: eth_ixgbe_dev_init(): MAC: 4, PHY: 3 PMD: eth_ixgbe_dev_init(): port 0 vendorID=0x8086 deviceID=0x1528 ../linux-generic/_ishmphy.c:150:_odp_ishmphy_map():mmap failed:Cannot allocate memory ../linux-generic/_ishm.c:866:_odp_ishm_reserve():No huge pages, fall back to normal pages. check: /proc/sys/vm/nr_hugepages. ../linux-generic/_ishmphy.c:150:_odp_ishmphy_map():mmap failed:Cannot allocate memory ../linux-generic/_ishmphy.c:150:_odp_ishmphy_map():mmap failed:Cannot allocate memory ../linux-generic/_ishmphy.c:150:_odp_ishmphy_map():mmap failed:Cannot allocate memory PKTIO: initialized loop interface. ../linux-generic/_ishmphy.c:150:_odp_ishmphy_map():mmap failed:Cannot allocate memory No crypto devices available ../linux-generic/_ishmphy.c:150:_odp_ishmphy_map():mmap failed:Cannot allocate memory ../linux-generic/_ishmphy.c:150:_odp_ishmphy_map():mmap failed:Cannot allocate memory odp_thread.c:166:odp_thread_init_local():There is a thread already running on core 4

ODP system info

ODP API version: 1.15.0 CPU model: Intel(R) Xeon(R) CPU E5-2630 v4 CPU freq (hz): 3037718000 Cache line size: 64 Core count: 36

Running ODP appl: "tcpperf"

Using IF: 0 Dst IP: 10.12.0.2 Bind IP: (null) Port: 5001 Worker threads: 1 First worker: 1

E 0 4:36818112 ofp_init.c:193] (null)(0): file I/O error

../linux-generic/_ishm.c:280:alloc_fragment():unable to get virtual address for shmem block! .../linux-generic/_ishm.c:549:do_map():alloc_fragment failed. ../linux-generic/_ishm.c:280:alloc_fragment():unable to get virtual address for shmem block! .../linux-generic/_ishm.c:549:do_map():alloc_fragment failed. ../linux-generic/_ishmphy.c:150:_odp_ishmphy_map():mmap failed:Cannot allocate memory I 1 4:36818112 ofp_uma.c:45] Creating pool 'udp_inpcb', nitems=1024 size=904 total=925696 I 1 4:36818112 ofp_uma.c:45] Creating pool 'tcp_inpcb', nitems=2048 size=904 total=1851392 I 2 4:36818112 ofp_uma.c:45] Creating pool 'tcpcb', nitems=2048 size=784 total=1605632 I 2 4:36818112 ofp_uma.c:45] Creating pool 'tcptw', nitems=409 size=80 total=32720 I 2 4:36818112 ofp_uma.c:45] Creating pool 'syncache', nitems=30720 size=168 total=5160960 I 2 4:36818112 ofp_uma.c:45] Creating pool 'tcpreass', nitems=320 size=48 total=15360 I 2 4:36818112 ofp_uma.c:45] Creating pool 'sackhole', nitems=65536 size=40 total=2621440 I 3 4:36818112 ofp_init.c:403] Slow path threads on core 0 I 4 4:36818112 ofp_ifnet.c:139] Device '0' addr a0:36:9f:f0:3e:12 I 4 4:36818112 ofp_ifnet.c:148] Device '0' MTU=1500 PMD: ixgbe_dev_rx_queue_setup(): sw_ring=0x7f16793c01c0 sw_sc_ring=0x7f16793bfc80 hw_ring=0x7f16793c0700 dma_addr=0x8393c0700 PMD: ixgbe_dev_tx_queue_setup(): sw_ring=0x7f16793adac0 hw_ring=0x7f16793afb00 dma_addr=0x8393afb00 PMD: ixgbe_set_tx_function(): Using simple tx code path PMD: ixgbe_set_tx_function(): Vector tx enabled. PMD: ixgbe_dev_tx_queue_setup(): sw_ring=0x7f167939b940 hw_ring=0x7f167939d980 dma_addr=0x83939d980 PMD: ixgbe_set_tx_function(): Using simple tx code path PMD: ixgbe_set_tx_function(): Vector tx enabled. PMD: ixgbe_set_rx_function(): Vector rx enabled, please make sure RX burst size no less than 4 (port=0). odp_thread.c:166:odp_thread_init_local():There is a thread already running on core 0 odp_thread.c:166:odp_thread_init_local():There is a thread already running on core 0 odp_thread.c:166:odp_thread_init_local():There is a thread already running on core 0 I 0 0:2655774464 ofp_cli.c:1586] CLI server started on core 0

CLI: debug 0xf

CLI: loglevel set debug

CLI: ifconfig fp0 10.12.0.1/24 mask 255.255.0.0 I 19 0:2655774464 ofp_rt_mtrie_lookup.c:280] ofp_rt_rule_add inserted new rule vrf 0 prefix 10.12.0.1/32 I 19 0:2655774464 ofp_rt_mtrie_lookup.c:280] ofp_rt_rule_add inserted new rule vrf 0 prefix 10.12.0.0/24 I 20 0:2680952576 ofp_rt_mtrie_lookup.c:280] ofp_rt_rule_add inserted new rule vrf 0 prefix 10.0.0.0/8 I 20 0:2680952576 ofp_rt_mtrie_lookup.c:297] ofp_rt_rule_remove removed rule vrf 0 10.0.0.0/8 W 20 0:2680952576 ofp_rt_mtrie_lookup.c:529] ofp_rtl_remove no rule found for vrf 0 addr 10.0.0.0 masklen 8 E 20 0:2680952576 ofp_rt_mtrie_lookup.c:289] ofp_rt_rule_remove rule vrf 0 10.0.0.0/8 not exist I 20 0:2680952576 ofp_rt_mtrie_lookup.c:252] ofp_rt_rule_add updated existing rule vrf 0 10.12.0.0/24

Client thread starting on CPU: 1 E 1519 1:2647381760 app_main.c:523] Error: Failed to connect (errno = 57) Socket is not connected

threads.c:228:odph_odpthreads_join():Bad exit status cpu #1 0xffffffffffffffff W 2219 4:36818112 ofp_timer.c:475] Timeout already expired or inactive I 2221 4:36818112 ofp_init.c:506] Cleaning device '0' addr a0:36:9f:f0:3e:12 W 2267 4:36818112 ofp_timer.c:475] Timeout already expired or inactive W 2267 4:36818112 ofp_timer.c:475] Timeout already expired or inactive W 2269 4:36818112 ofp_timer.c:475] Timeout already expired or inactive W 2269 4:36818112 ofp_timer.c:475] Timeout already expired or inactive

Content of ofp.cli: debug 0xf loglevel set debug ifconfig fp0 10.12.0.1/24 mask 255.255.0.0

Route table: Destination Gateway Iface Flags 10.12.0.0/24 0.0.0.0 fp0 gateway 10.12.0.1/32 0.0.0.0 fp0 local

Arp table: VRF ADDRESS MAC AGE Saved packets: IP: 10.12.0.2 : FD5EA7C0

Ifconfig: fp0 (45) (0) slowpath: on Link encap:Ethernet HWaddr: a0:36:9f:f0:3e:12 inet addr:10.12.0.1 Bcast:10.12.0.255 Mask:255.255.255.0 inet6 addr: fe80:0000:0000:0000:a236:9fff:fef0:3e12 Scope:Link MTU: 1500 RX: bytes:0 packets:0 dropped:0 errors:0 unknown:0 TX: bytes:0 packets:0 dropped:0 error:0

Contents of packets.txt:


[0] SP to ODP: 0.000 a0:36:9f:f0:3e:12 -> 33:33:ff:f0:3e:12 IPv6 ICMP: len=24 type=Neighbor-Solicitation target=fe80:0000:0000:0000:a236:9fff:fef0:3e12 code=0 0000:0000:0000:0000:0000:0000:0000:0000 -> ff02:0000:0000:0000:0000:0001:fff0:3e12


[0] SP to ODP: 0.544 a0:36:9f:f0:3e:12 -> 33:33:00:00:00:16 IPv6 PKT: len=36 next=0 0000:0000:0000:0000:0000:0000:0000:0000 -> ff02:0000:0000:0000:0000:0000:0000:0016


[0] SP to ODP: 1.000 a0:36:9f:f0:3e:12 -> 33:33:00:00:00:16 IPv6 PKT: len=36 next=0 fe80:0000:0000:0000:a236:9fff:fef0:3e12 -> ff02:0000:0000:0000:0000:0000:0000:0016


[0] SP to ODP: 1.000 a0:36:9f:f0:3e:12 -> 33:33:00:00:00:02 IPv6 ICMP: len=16 type=Router-Solicitation code=0 fe80:0000:0000:0000:a236:9fff:fef0:3e12 -> ff02:0000:0000:0000:0000:0000:0000:0002


[0] SP to ODP: 1.024 a0:36:9f:f0:3e:12 -> 33:33:00:00:00:16 IPv6 PKT: len=36 next=0 fe80:0000:0000:0000:a236:9fff:fef0:3e12 -> ff02:0000:0000:0000:0000:0000:0000:0016


[1] FP to ODP: 1.798 a0:36:9f:f0:3e:12 -> ff:ff:ff:ff:ff:ff ARP 1 10.12.0.1 -> 10.12.0.2


[1] ODP to FP: 4.798 a0:36:9f:f0:3c:e8 -> 33:33:00:00:00:16 IPv6 PKT: len=36 next=0 fe80:0000:0000:0000:a236:9fff:fef0:3ce8 -> ff02:0000:0000:0000:0000:0000:0000:0016


[1] ODP to FP: 4.798 a0:36:9f:f0:3c:e8 -> 33:33:00:00:00:16 IPv6 PKT: len=36 next=0 fe80:0000:0000:0000:a236:9fff:fef0:3ce8 -> ff02:0000:0000:0000:0000:0000:0000:0016


[0] FP to SP: 4.798 a0:36:9f:f0:3c:e8 -> 33:33:00:00:00:16 IPv6 PKT: len=36 next=0 fe80:0000:0000:0000:a236:9fff:fef0:3ce8 -> ff02:0000:0000:0000:0000:0000:0000:0016


[0] FP to SP: 4.798 a0:36:9f:f0:3c:e8 -> 33:33:00:00:00:16 IPv6 PKT: len=36 next=0 fe80:0000:0000:0000:a236:9fff:fef0:3ce8 -> ff02:0000:0000:0000:0000:0000:0000:0016


[0] SP to ODP: 5.008 a0:36:9f:f0:3e:12 -> 33:33:00:00:00:02 IPv6 ICMP: len=16 type=Router-Solicitation code=0 fe80:0000:0000:0000:a236:9fff:fef0:3e12 -> ff02:0000:0000:0000:0000:0000:0000:0002


[0] SP to ODP: 9.016 a0:36:9f:f0:3e:12 -> 33:33:00:00:00:02 IPv6 ICMP: len=16 type=Router-Solicitation code=0 fe80:0000:0000:0000:a236:9fff:fef0:3e12 -> ff02:0000:0000:0000:0000:0000:0000:0002

Side2:

IP: 10.12.0.2 CMD: netcat -l -t 10.12.0.2 5001

Output of tcpdump: 09:30:59.683184 IP6 fe80::a236:9fff:fef0:3e12 > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28 09:30:59.683189 IP6 :: > ff02::1:fff0:3e12: ICMP6, neighbor solicitation, who has fe80::a236:9fff:fef0:3e12, length 24 09:30:59.683190 ARP, Request who-has 10.12.0.2 (Broadcast) tell 10.12.0.1, length 46 09:30:59.683196 IP6 fe80::a236:9fff:fef0:3e12 > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28 09:30:59.683200 IP6 :: > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28 09:30:59.683201 IP6 fe80::a236:9fff:fef0:3e12 > ip6-allrouters: ICMP6, router solicitation, length 16 09:30:59.683202 IP6 :: > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28 09:30:59.799583 IP6 fe80::a236:9fff:fef0:3ce8 > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28 09:31:00.047560 IP6 fe80::a236:9fff:fef0:3ce8 > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28 09:31:00.330798 IP6 fe80::a236:9fff:fef0:3e12 > ip6-allrouters: ICMP6, router solicitation, length 16 09:31:04.272536 IP6 fe80::a236:9fff:fef0:3e12 > ip6-allrouters: ICMP6, router solicitation, length 16

Thank you in advance!

Best regards, Norbert

JereLeppanen commented 6 years ago

There doesn't seem to be any reply to the ARP request:

09:30:59.683190 ARP, Request who-has 10.12.0.2 (Broadcast) tell 10.12.0.1, length 46

nynorbert commented 6 years ago

I have found out too that the ARP is missing ever since. I checked the configuration of the behavior of arp negotiation but everything seems fine for me:

net.ipv4.conf.all.arp_accept = 0 net.ipv4.conf.all.arp_announce = 0 net.ipv4.conf.all.arp_filter = 0 net.ipv4.conf.all.arp_ignore = 0 net.ipv4.conf.all.arp_notify = 0 net.ipv4.conf.all.proxy_arp = 0 net.ipv4.conf.all.proxy_arp_pvlan = 0 net.ipv4.conf.default.arp_accept = 0 net.ipv4.conf.default.arp_announce = 0 net.ipv4.conf.default.arp_filter = 0 net.ipv4.conf.default.arp_ignore = 0 net.ipv4.conf.default.arp_notify = 0 net.ipv4.conf.default.proxy_arp = 0 net.ipv4.conf.default.proxy_arp_pvlan = 0 net.ipv4.conf.enp6s0f1.arp_accept = 0 net.ipv4.conf.enp6s0f1.arp_announce = 0 net.ipv4.conf.enp6s0f1.arp_filter = 0 net.ipv4.conf.enp6s0f1.arp_ignore = 0 net.ipv4.conf.enp6s0f1.arp_notify = 0 net.ipv4.conf.enp6s0f1.proxy_arp = 0 net.ipv4.conf.enp6s0f1.proxy_arp_pvlan = 0

I tried to play with the configuration (for example enabling gratuitous arp) but nothing solved my problem. If I use normal linux interfaces then everything works fine.

I am also working on a custom application which will use OFP but in that case I have problems with arp between two OFP interface too. Do you have any documentation about how arp is working in OFP?

JereLeppanen commented 6 years ago

There's practically no documentation at all, I'm afraid. But it's very simple. When we're sending to an IP address we don't have a corresponding MAC address for, we send an ARP request. When we get the ARP reply, we add the MAC address to the ARP table (which may be viewed using the CLI) and send the packet that triggered the ARP request.

If I understood correctly, in this case OFP is sending the ARP request, but the other side is not responding. So this could easily be a problem on the other side, and not a problem with OFP?

nynorbert commented 6 years ago

Yes, in this case OFP is sending ARP but no reply on the other side. What I don't understand is if I replace OFP with linux API then the ARP negotiation is working perfectly and if I capture the packets on the other side then I see the received ARP request in both case with identical content. Of course it could be a problem in linux TCP/IP stack but I dont even know where I should search for the root cause of the problem.

JereLeppanen commented 6 years ago

Well, if the other side replies to some, but not all, ARP requests, then there must be some difference in the requests, right? Either that or the configuration has changed.

RadulescuValentin commented 6 years ago

Maybe the ARP entries expire too quick. See #209

nynorbert commented 6 years ago

@JereLeppanen: I have captured the packet with tcpdump in both case and compared the ARP request byte-by-byte and was the same. Also the configuration was not changed between the two tests. @RadulescuValentin: It could cause the problem. I will give it a try. Should I change the timer in OFP source or is there some config option?

RadulescuValentin commented 6 years ago

There is no config option. Give it a try with

define ARP_ENTRY_UPD_TIMEOUT 1200

nynorbert commented 6 years ago

I have tried with the tcpperf example application but no packet was sent. I put the define macro before any include in the app_main.c

Host1:

Cmd:

ODP_PLATFORM_PARAMS="--huge-dir /mnt/huge --log-level 10 -n 1" ./tcpperf -i 0 -c 10.12.0.2 -p 5001

Content of ofp.cli:

debug 0xf loglevel set debug ifconfig fp0 10.12.0.1/24 mask 255.255.0.0

Output of tcpperf (truncated):

EAL: Probing VFIO support... EAL: Module /sys/module/vfio_pci not found! error 2 (No such file or directory) EAL: VFIO modules not loaded, skipping VFIO support... EAL: Module /sys/module/vfio_pci not found! error 2 (No such file or directory) EAL: Setting up physically contiguous memory... EAL: Ask a virtual area of 0x200000000 bytes EAL: Virtual area found at 0x7f7700000000 (size = 0x200000000) EAL: Ask a virtual area of 0x200000000 bytes EAL: Virtual area found at 0x7f74c0000000 (size = 0x200000000) EAL: Requesting 8 pages of size 1024MB from socket 0 EAL: Requesting 8 pages of size 1024MB from socket 1 EAL: TSC frequency is ~2197423 KHz EAL: Master lcore 4 is ready (tid=951d9fc0;cpuset=[4]) EAL: PCI device 0000:06:00.0 on NUMA socket 0 EAL: probe driver: 8086:1528 net_ixgbe EAL: Not managed by a supported kernel driver, skipped EAL: PCI device 0000:06:00.0 on NUMA socket 0 EAL: probe driver: 8086:1528 net_ixgbe EAL: Not managed by a supported kernel driver, skipped EAL: PCI device 0000:06:00.1 on NUMA socket 0 EAL: probe driver: 8086:1528 net_ixgbe EAL: PCI memory mapped at 0x7f7900000000 EAL: PCI memory mapped at 0x7f7900200000 PMD: eth_ixgbe_dev_init(): MAC: 4, PHY: 3 PMD: eth_ixgbe_dev_init(): port 0 vendorID=0x8086 deviceID=0x1528 ../linux-generic/_ishmphy.c:150:_odp_ishmphy_map():mmap failed:Cannot allocate memory ../linux-generic/_ishm.c:866:_odp_ishm_reserve():No huge pages, fall back to normal pages. check: /proc/sys/vm/nr_hugepages. ../linux-generic/_ishmphy.c:150:_odp_ishmphy_map():mmap failed:Cannot allocate memory ../linux-generic/_ishmphy.c:150:_odp_ishmphy_map():mmap failed:Cannot allocate memory ../linux-generic/_ishmphy.c:150:_odp_ishmphy_map():mmap failed:Cannot allocate memory PKTIO: initialized loop interface. ../linux-generic/_ishmphy.c:150:_odp_ishmphy_map():mmap failed:Cannot allocate memory No crypto devices available ../linux-generic/_ishmphy.c:150:_odp_ishmphy_map():mmap failed:Cannot allocate memory ../linux-generic/_ishmphy.c:150:_odp_ishmphy_map():mmap failed:Cannot allocate memory odp_thread.c:166:odp_thread_init_local():There is a thread already running on core 4

Running ODP appl: "tcpperf"

Using IF: 0 Dst IP: 10.12.0.2 Bind IP: (null) Port: 5001 Worker threads: 1 First worker: 1

E 0 4:2501746624 ofp_init.c:193] (null)(0): file I/O error

../linux-generic/_ishm.c:280:alloc_fragment():unable to get virtual address for shmem block! .../linux-generic/_ishm.c:549:do_map():alloc_fragment failed. ../linux-generic/_ishm.c:280:alloc_fragment():unable to get virtual address for shmem block! .../linux-generic/_ishm.c:549:do_map():alloc_fragment failed. ../linux-generic/_ishmphy.c:150:_odp_ishmphy_map():mmap failed:Cannot allocate memory I 3 4:2501746624 ofp_uma.c:45] Creating pool 'udp_inpcb', nitems=1024 size=904 total=925696 I 3 4:2501746624 ofp_uma.c:45] Creating pool 'tcp_inpcb', nitems=2048 size=904 total=1851392 I 3 4:2501746624 ofp_uma.c:45] Creating pool 'tcpcb', nitems=2048 size=784 total=1605632 I 3 4:2501746624 ofp_uma.c:45] Creating pool 'tcptw', nitems=409 size=80 total=32720 I 3 4:2501746624 ofp_uma.c:45] Creating pool 'syncache', nitems=30720 size=168 total=5160960 I 4 4:2501746624 ofp_uma.c:45] Creating pool 'tcpreass', nitems=320 size=48 total=15360 I 4 4:2501746624 ofp_uma.c:45] Creating pool 'sackhole', nitems=65536 size=40 total=2621440 I 6 4:2501746624 ofp_init.c:403] Slow path threads on core 0 I 6 4:2501746624 ofp_ifnet.c:139] Device '0' addr a0:36:9f:f0:3e:12 I 6 4:2501746624 ofp_ifnet.c:148] Device '0' MTU=1500 PMD: ixgbe_dev_rx_queue_setup(): sw_ring=0x7f78f93c6840 sw_sc_ring=0x7f78f93c6300 hw_ring=0x7f78f93c6d80 dma_addr=0x8393c6d80 PMD: ixgbe_dev_tx_queue_setup(): sw_ring=0x7f78f93b4140 hw_ring=0x7f78f93b6180 dma_addr=0x8393b6180 PMD: ixgbe_set_tx_function(): Using simple tx code path PMD: ixgbe_set_tx_function(): Vector tx enabled. PMD: ixgbe_dev_tx_queue_setup(): sw_ring=0x7f78f93a1fc0 hw_ring=0x7f78f93a4000 dma_addr=0x8393a4000 PMD: ixgbe_set_tx_function(): Using simple tx code path PMD: ixgbe_set_tx_function(): Vector tx enabled. PMD: ixgbe_set_rx_function(): Vector rx enabled, please make sure RX burst size no less than 4 (port=0). I 0 0:837883648 ofp_cli.c:1586] CLI server started on core 0

Client thread starting on CPU: 1 E 221 1:829490944 app_main.c:580] Error: Failed to connect (errno = 49)

../linux-generic/odp_timer.c:687:timer_notify(): 1 ticks overrun on timer pool "TmrPool", timer resolution too high I 1222 4:2501746624 ofp_init.c:506] Cleaning device '0' addr a0:36:9f:f0:3e:12 W 1258 4:2501746624 ofp_timer.c:475] Timeout already expired or inactive W 1258 4:2501746624 ofp_timer.c:475] Timeout already expired or inactive W 1260 4:2501746624 ofp_timer.c:475] Timeout already expired or inactive W 1260 4:2501746624 ofp_timer.c:475] Timeout already expired or inactive

Host2:

Cmd:

netcat -tl 10.12.0.2 5001

Ifconfig:

enp6s0f0 Link encap:Ethernet HWaddr a0:36:9f:f0:3c:e8
inet addr:10.12.0.2 Bcast:10.12.255.255 Mask:255.255.0.0 inet6 addr: fe80::a236:9fff:fef0:3ce8/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:828 (828.0 B)

Output of tcpdump:

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on enp6s0f0, link-type EN10MB (Ethernet), capture size 262144 bytes 13:28:54.124096 IP6 fe80::a236:9fff:fef0:3ce8 > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28 13:28:54.980063 IP6 fe80::a236:9fff:fef0:3ce8 > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28