Re: [lng-odp] [PATCH 1/2] test: perf: add new ordered pktio application

2016-11-01 Thread Elo, Matias (Nokia - FI/Espoo)
Thanks for the review. Comments inline. -Matias +/** + * Compute packet flow index + * + * @param hdr Packet headers + * + * @return Flow index + */ +static inline uint64_t calc_flow_idx(packet_hdr_t *hdr) +{ + ipv4_tuple5_t tuple; + uint64_t idx; + + tuple.dst_ip = odp_be_to_cpu_32(hdr->ip

Re: [lng-odp] [PATCH 1/2] test: perf: add new ordered pktio application

2016-11-01 Thread Elo, Matias (Nokia - FI/Espoo)
> On 27 Oct 2016, at 21:25, Maxim Uvarov wrote: > > On 10/27/16 16:51, Elo, Matias (Nokia - FI/Espoo) wrote: >> + "Usage: %s OPTIONS\n" >> >+ " E.g. %s -i eth0,eth1 -t 1\n" >> >+ " In the above example,\n" >> >+ " eth0 will send pkts to eth1 and vice versa\n

Re: [lng-odp] [PATCH 1/2] test: perf: add new ordered pktio application

2016-10-27 Thread Maxim Uvarov
On 10/27/16 16:51, Elo, Matias (Nokia - FI/Espoo) wrote: Ping. On 11 Oct 2016, at 16:21, Matias Elo wrote: Add new test application for ordered queue functionality and performance validation. The application sets sequence numbers to incoming packets using ordered pktin queues and ordered con

Re: [lng-odp] [PATCH 1/2] test: perf: add new ordered pktio application

2016-10-27 Thread Maxim Uvarov
On 10/27/16 16:51, Elo, Matias (Nokia - FI/Espoo) wrote: + "Usage: %s OPTIONS\n" >+ " E.g. %s -i eth0,eth1 -t 1\n" >+ " In the above example,\n" >+ " eth0 will send pkts to eth1 and vice versa\n" >+ " eth2 will send pkts to eth3 and vice versa\n"

[lng-odp] [PATCH 1/2] test: perf: add new ordered pktio application

2016-10-27 Thread Elo, Matias (Nokia - FI/Espoo)
Ping. > On 11 Oct 2016, at 16:21, Matias Elo wrote: > > Add new test application for ordered queue functionality and performance > validation. The application sets sequence numbers to incoming packets using > ordered pktin queues and ordered context locks. After being tagged packets > are enque

[lng-odp] [PATCH 1/2] test: perf: add new ordered pktio application

2016-10-11 Thread Matias Elo
Add new test application for ordered queue functionality and performance validation. The application sets sequence numbers to incoming packets using ordered pktin queues and ordered context locks. After being tagged packets are enqueued to atomic queues based on flow hash (IPv4 5-tuple). In atomic