On 18 May 2015 at 20:36, Li, Charlie <[email protected]> wrote: > Hi Maxim, > > I have tried linux-generic and odp_l2fwd worked. > > But when I tried netmap (https://git.linaro.org/lng/odp-netmap.git), I > got the following compuler error. Did I missed anything? > > amd@amd-desktop:~/odp-netmap$ make > Making all in doc > make[1]: Entering directory `/home/amd/odp-netmap/doc' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/home/amd/odp-netmap/doc' > Making all in platform > make[1]: Entering directory `/home/amd/odp-netmap/platform' > Making all in linux-netmap > make[2]: Entering directory `/home/amd/odp-netmap/platform/linux-netmap' > Making all in test > make[3]: Entering directory > `/home/amd/odp-netmap/platform/linux-netmap/test' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory > `/home/amd/odp-netmap/platform/linux-netmap/test' > make[3]: Entering directory `/home/amd/odp-netmap/platform/linux-netmap' > CC ../linux-generic/odp_barrier.lo > CC ../linux-generic/odp_buffer.lo > CC ../linux-generic/odp_classification.lo > CC ../linux-generic/odp_cpumask.lo > CC ../linux-generic/odp_crypto.lo > CC ../linux-generic/odp_errno.lo > CC ../linux-generic/odp_event.lo > CC odp_init.lo > CC ../linux-generic/odp_impl.lo > CC ../../helper/linux.lo > CC ../linux-generic/odp_packet.lo > CC ../linux-generic/odp_packet_flags.lo > CC odp_packet_io.lo > CC ../linux-generic/odp_packet_socket.lo > CC ../linux-generic/odp_pool.lo > CC ../linux-generic/odp_queue.lo > CC ../../helper/ring.lo > CC ../linux-generic/odp_rwlock.lo > CC ../linux-generic/odp_schedule.lo > CC ../linux-generic/odp_shared_memory.lo > CC ../linux-generic/odp_spinlock.lo > CC ../linux-generic/odp_system_info.lo > CC ../linux-generic/odp_thread.lo > CC ../linux-generic/odp_ticketlock.lo > CC ../linux-generic/odp_time.lo > CC ../linux-generic/odp_timer.lo > CC ../linux-generic/odp_version.lo > CC ../linux-generic/odp_weak.lo > CC arch/x86/odp_time.lo > CC odp_packet_netmap.lo > odp_packet_netmap.c:42:29: fatal error: net/netmap_user.h: No such file or > directory > #include <net/netmap_user.h> > ^ > Is netmap installed on your system?
-- Ola > compilation terminated. > make[3]: *** [odp_packet_netmap.lo] Error 1 > make[3]: Leaving directory `/home/amd/odp-netmap/platform/linux-netmap' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/amd/odp-netmap/platform/linux-netmap' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/amd/odp-netmap/platform' > make: *** [all-recursive] Error 1 > amd@amd-desktop:~/odp-netmap$ > > *Regards,* > > *Charlie Li* > > ------------------------------ > *From:* Li, Charlie > *Sent:* Thursday, May 14, 2015 9:26 AM > *To:* Maxim Uvarov > *Cc:* LNG ODP Mailman List > *Subject:* RE: How to run ODP on Fedora? > > Thanks Maxim, > > > > I will start with linux-generic then move to netmap. > > > > *Regards,* > > *Charlie Li* > > > > *From:* Maxim Uvarov [mailto:[email protected]] > *Sent:* Thursday, May 14, 2015 4:04 AM > *To:* Li, Charlie > *Cc:* LNG ODP Mailman List > *Subject:* Re: How to run ODP on Fedora? > > > > Hello Charlie, > > To run ODP functionality refer to README file in the root of linux-generic > odp repo: > https://git.linaro.org/lng/odp.git > > it has to be very simple. Compile it and build. Then run > ./test/performance/odp_l2fwd application and specify required network cards. > > But linux-generic works with raw sockets and it's more functional then > performance. In you case you have ARM and intel nics. To accelerate > > packet i/o you can use netmap or dpdk. Netmap is most fresh and dpdk is > under development to match odp 1.0.4 specification. And we support > dpdk only for x86. So some development will be needed to fully support > dpdk as back end to odp. So for now to get good number in your case > > netmap is only option. Please find it in separate repo under Downoads link > on ODP web page. > > Best regards, > > Maxim. > > > > > > On 13 May 2015 at 22:21, Li, Charlie <[email protected]> wrote: > > Hi Maxim, > > > > I’d like to use ODP to test packet forwarding performance between two 10G > Ethernet ports (Intel Dual-port NIC). > > My platform is A57 based and the operating system is Fedora 21. > > > > Do you know any documents that can help me get started? > > > > *Regards,* > > *Charlie Li* > > > > > > _______________________________________________ > 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
