-
Notifications
You must be signed in to change notification settings - Fork 127
Description
Hello,
I'm trying to run webserver or webserver2 examples but always failed.
I have configed odp-dpdk environment on my centOS (https://git.linaro.org/lng/odp-dpdk.git/tree/platform/linux-dpdk/README)
After that, I mount hugepage , insert igb_uio, bind NIC to DPDK(#176)
At this time, before bind NIC to DPDK, I have a NIC named ens33, after bind to DPDK, "dpdk-devbind.py --status" show succeed and run "ip a" cannot see this NIC anymore.
Then, I try to run webserver2 , But I cannot pass "-i ens33" to webserver2.
Some error like:
I 6 2:4160671040 ofp_uma.c:45] Creating pool 'udp_inpcb', nitems=1024 size=1160 total=1187840
I 8 2:4160671040 ofp_uma.c:45] Creating pool 'tcp_inpcb', nitems=2048 size=1160 total=2375680
I 9 2:4160671040 ofp_uma.c:45] Creating pool 'tcpcb', nitems=2048 size=784 total=1605632
I 10 2:4160671040 ofp_uma.c:45] Creating pool 'tcptw', nitems=409 size=80 total=32720
I 11 2:4160671040 ofp_uma.c:45] Creating pool 'syncache', nitems=30720 size=168 total=5160960
I 14 2:4160671040 ofp_uma.c:45] Creating pool 'tcpreass', nitems=320 size=48 total=15360
I 15 2:4160671040 ofp_uma.c:45] Creating pool 'sackhole', nitems=65536 size=40 total=2621440
I 17 2:4160671040 ofp_ipsec.c:187] IPsec not supported with SP. Disabling IPsec.
I 17 2:4160671040 ofp_init.c:438] Slow path threads on core 0
pktio/socket.c:135:sock_setup_pkt():ioctl(SIOCGIFINDEX): No such device: "ens33".
odp_packet_io.c:334:setup_pktio_entry():Unable to init any I/O type.
E 20 2:4160671040 ofp_ifnet.c:23] odp_pktio_open failed
E 20 2:4160671040 app_main.c:351] Error: OFP global init failed.
If run "webserver2 -i 0", also failed like:
I 7 1:4160671040 ofp_uma.c:45] Creating pool 'udp_inpcb', nitems=1024 size=1160 total=1187840
I 9 1:4160671040 ofp_uma.c:45] Creating pool 'tcp_inpcb', nitems=2048 size=1160 total=2375680
I 10 1:4160671040 ofp_uma.c:45] Creating pool 'tcpcb', nitems=2048 size=784 total=1605632
I 12 1:4160671040 ofp_uma.c:45] Creating pool 'tcptw', nitems=409 size=80 total=32720
I 14 1:4160671040 ofp_uma.c:45] Creating pool 'syncache', nitems=30720 size=168 total=5160960
I 16 1:4160671040 ofp_uma.c:45] Creating pool 'tcpreass', nitems=320 size=48 total=15360
I 17 1:4160671040 ofp_uma.c:45] Creating pool 'sackhole', nitems=65536 size=40 total=2621440
I 20 1:4160671040 ofp_ipsec.c:187] IPsec not supported with SP. Disabling IPsec.
I 20 1:4160671040 ofp_init.c:438] Slow path threads on core 0
pktio/socket.c:135:sock_setup_pkt():ioctl(SIOCGIFINDEX): No such device: "0".
odp_packet_io.c:334:setup_pktio_entry():Unable to init any I/O type.
E 23 1:4160671040 ofp_ifnet.c:23] odp_pktio_open failed
E 23 1:4160671040 app_main.c:351] Error: OFP global init failed.
How I run webserver2 with ofp stack?