mbox series

[PATCHv3,0/5] test: generator: improve performance

Message ID 1489994897-6836-1-git-send-email-bogdan.pricope@linaro.org
Headers show
Series test: generator: improve performance | expand

Message

Bogdan Pricope March 20, 2017, 7:28 a.m. UTC
Improve performance of "odp_generator" example application.

Bogdan Pricope (5):
  test: generator: compose sending packets from reference packet plus
    differences
  test: generator: send UDP packets in bursts
  test: generator: receive packets in bursts
  test: generator: use multiple RX queue in receiving mode
  test: generator: use multiple TX queues in send UDP mode

 example/generator/odp_generator.c | 366 +++++++++++++++++++++++++++++---------
 1 file changed, 277 insertions(+), 89 deletions(-)

-- 
1.9.1

Comments

Maxim Uvarov March 22, 2017, 1:41 p.m. UTC | #1
CHECK: Alignment should match open parenthesis
#99: FILE: example/generator/odp_generator.c:254:
+	odp_memcpy(buf, odp_packet_data(pkt_ref),
+		args->appl.payload + ODPH_UDPHDR_LEN +

CHECK: Alignment should match open parenthesis
#189: FILE: example/generator/odp_generator.c:348:
+	odp_memcpy(buf, odp_packet_data(pkt_ref),
+		args->appl.payload + ODPH_ICMPHDR_LEN +

CHECK: braces {} should be used on all arms of this statement
#215: FILE: example/generator/odp_generator.c:456:
+	if (args->appl.mode == APPL_MODE_UDP)
[...]
+	else if (args->appl.mode == APPL_MODE_PING)
[...]
+	else {
[...]


On 03/20/17 10:28, Bogdan Pricope wrote:
> Improve performance of "odp_generator" example application.

> 

> Bogdan Pricope (5):

>   test: generator: compose sending packets from reference packet plus

>     differences

>   test: generator: send UDP packets in bursts

>   test: generator: receive packets in bursts

>   test: generator: use multiple RX queue in receiving mode

>   test: generator: use multiple TX queues in send UDP mode

> 

>  example/generator/odp_generator.c | 366 +++++++++++++++++++++++++++++---------

>  1 file changed, 277 insertions(+), 89 deletions(-)

>