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(-)
> 

Reply via email to