On 05/12/16 18:47, Mike Holmes wrote:
On 11 May 2016 at 14:08, Sudeepto Roy <[email protected]
<mailto:[email protected]>> wrote:
HI,
I have been able to successfully install odp on my machine.
I wanted to know if you have a any kind of documentation available
for the examples directory so that i can understand the use case.
The examples are not well documented yet, patches to fix what would
have made your life easier very welcome indeed.
It might be nice to start adding doxygen to them so that we can keep
the notes inside with the code src and autogenerate them, if not
asciidoctor is the way to go.
i get this error, now sure how to get around this.. use sudo...
but then what are the arguments to pass..
Maybe Maxim can comment here, he is the pktio Guru
$ sudo ./pktio_run.sh wlan1
using PCAP in=./udp64.pcap:out=pcapout.pcap size %7624
all examples have --help option. And best documentation is source code
of that examples :)
./pktio_run.sh is not supported to be run manually, it's helper for make
check. But from you log it says that it can not create output pcap file
for some reason.
ODP system info
---------------
ODP API version: 1.10.0
CPU model: AMD Phenom(tm) II X2 555 Processor
CPU freq (hz): 0
Cache line size: 64
CPU count: 2
Running ODP appl: "odp_pktio"
-----------------
IF-count: 1
Using IFs: pcap:in=./udp64.pcap:out=pcapout.pcap
Mode: APPL_MODE_PKT_BURST(0)
num worker threads: 1
first CPU: 1
cpu mask: 0x2
pktio/socket.c:112:mac_addr_get_fd():ioctl(SIOCGIFHWADDR): No such
device: "pcap:in=./udp64".
pktio/socket.c:519:sock_setup_pkt():ioctl(SIOCGIFINDEX): No such
device: "pcap:in=./udp64".
odp_packet_io.c:238:setup_pktio_entry():Unable to init any I/O type.
odp_pktio.c:141:create_pktio(): Error: pktio create failed for
pcap:in=./udp64.pcap:out=pcapout.pcap
./pktio_run.sh: line 15: 31914 Aborted (core
dumped) ./odp_pktio -ipcap:in=${PCAP_IN}:out=${PCAP_OUT} -t 5 -m 0
stat: cannot stat ‘pcapout.pcap’: No such file or directory
Here.
It looks like your libodp and examples compiled without libpcap support.
Maxim.
Error: status 134, in:7624 out:
$ ls
Makefile Makefile.am Makefile.in odp_pktio* odp_pktio.c
odp_pktio-odp_pktio.o pktio_run.sh* udp64.pcap
_______________________________________________
lng-odp mailing list
[email protected] <mailto:[email protected]>
https://lists.linaro.org/mailman/listinfo/lng-odp
--
Mike Holmes
Technical Manager - Linaro Networking Group
Linaro.org <http://www.linaro.org/>***│ *Open source software for ARM SoCs
"Work should be fun and collaborative, the rest follows"
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp