[dpdk-test-report] [PatchWork]|ERROR| pw12534 app/test: isolate lpm performance cases

sys_stv at intel.com sys_stv at intel.com
Wed May 11 07:40:41 CEST 2016


Test-Label: Intel Niantic on Fedora
Test-Status: ERROR

Patchwork ID: 12534
http://www.dpdk.org/dev/patchwork/patch/12534/
Submitter: Thomas Monjalon <thomas.monjalon at 6wind.com>
Date: Fri,  6 May 2016 18:13:28 +0200
DPDK git baseline: 84c9b5a9fe926f1aa033dc5352be8d4a5e0b789d

Check patch error:
12534: 
WARNING: unnecessary whitespace before a quoted newline
#535: FILE: app/test/test_lpm6_perf.c:49:
+		printf("Error at line %d: 
", __LINE__);                     
ERROR: space required before the open parenthesis '('
#538: FILE: app/test/test_lpm6_perf.c:52:
+} while(0)

WARNING: unnecessary whitespace before a quoted newline
#549: FILE: app/test/test_lpm6_perf.c:63:
+	printf("Route distribution per prefix width: 
");

WARNING: unnecessary whitespace before a quoted newline
#551: FILE: app/test/test_lpm6_perf.c:65:
+	printf("--------------------------- 
");

ERROR: space required before the open parenthesis '('
#554: FILE: app/test/test_lpm6_perf.c:68:
+	for(i = 1; i <= 128; i++) {

WARNING: line over 80 characters
#587: FILE: app/test/test_lpm6_perf.c:101:
+	print_route_distribution(large_route_table, (uint32_t) 
+NUM_ROUTE_ENTRIES);

ERROR: space prohibited before that '++' (ctx:WxB)
#611: FILE: app/test/test_lpm6_perf.c:125:
+	for (i = 0; i < ITERATIONS; i ++) {
	                              ^

  ERROR: space prohibited before that '++' (ctx:WxB)
  #614: FILE: app/test/test_lpm6_perf.c:128:
  +		for (j = 0; j < NUM_IPS_ENTRIES; j ++) {
                                   ^

   ERROR: space prohibited before that '++' (ctx:WxB)
   #637: FILE: app/test/test_lpm6_perf.c:151:
   +	for (i = 0; i < ITERATIONS; i ++) {
                              ^

  WARNING: line over 80 characters
  #641: FILE: app/test/test_lpm6_perf.c:155:
  +		rte_lpm6_lookup_bulk_func(lpm, ip_batch, next_hops, NUM_IPS_ENTRIES);

  WARNING: unnecessary whitespace before a quoted newline
  #732: FILE: app/test/test_lpm_perf.c:49:
  +		printf("Error at line %d: 
", __LINE__);                     
  ERROR: space required before the open parenthesis '('
  #735: FILE: app/test/test_lpm_perf.c:52:
  +} while(0)

  WARNING: unnecessary whitespace before a quoted newline
  #746: FILE: app/test/test_lpm_perf.c:63:
  +	printf("Route distribution per prefix width: 
");

  WARNING: unnecessary whitespace before a quoted newline
  #748: FILE: app/test/test_lpm_perf.c:65:
  +	printf("--------------------------- 
");

  WARNING: line over 80 characters
  #785: FILE: app/test/test_lpm_perf.c:102:
  +	print_route_distribution(large_route_table, (uint32_t) 
  +NUM_ROUTE_ENTRIES);

  WARNING: line over 80 characters
  #819: FILE: app/test/test_lpm_perf.c:136:
  +			(unsigned) cache_line_counter, (unsigned) cache_line_counter * 64);

  WARNING: line over 80 characters
  #838: FILE: app/test/test_lpm_perf.c:155:
  +			if (rte_lpm_lookup(lpm, ip_batch[j], &next_hop_return) != 0)

  WARNING: line over 80 characters
  #864: FILE: app/test/test_lpm_perf.c:181:
  +			rte_lpm_lookup_bulk(lpm, &ip_batch[j], next_hops, BULK_SIZE);

  WARNING: line over 80 characters
  #866: FILE: app/test/test_lpm_perf.c:183:
  +				if (unlikely(!(next_hops[k] & RTE_LPM_LOOKUP_SUCCESS)))

  total: 6 errors, 13 warnings, 873 lines checked

  /home/patchWorkOrg/patches/dpdk-dev-app-test-isolate-lpm-performance-cases.patch has style problems, please review.

  If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS.


  Compilation:
  OS: fedora
  Nic: niantic
  GCC: gcc_x86-64, 4.8.3
  ICC:16.0.2
  i686-native-linuxapp-icc: compile pass
  x86_64-native-linuxapp-gcc-combined: compile pass
  i686-native-linuxapp-gcc: compile pass
  x86_64-native-linuxapp-gcc: compile pass
  x86_64-native-linuxapp-icc: compile pass
  x86_64-native-linuxapp-gcc-debug: compile pass
  x86_64-native-linuxapp-gcc-shared: compile pass
  x86_64-native-linuxapp-clang: compile pass



  DPDK STV team 



More information about the test-report mailing list