[dpdk-test-report] [PatchWork]|ERROR| pw12545 ip_pipeline: add scripts file for pipeline to core mappings

sys_stv at intel.com sys_stv at intel.com
Wed May 11 07:59:27 CEST 2016


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

Patchwork ID: 12545
http://www.dpdk.org/dev/patchwork/patch/12545/
Submitter: Jasvinder Singh <jasvinder.singh at intel.com>
Date: Fri,  6 May 2016 19:32:40 +0100
DPDK git baseline: 84c9b5a9fe926f1aa033dc5352be8d4a5e0b789d

Check patch error:
12545: 
ERROR: trailing whitespace
#88: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:35:
+# This script maps the set of pipelines identified (MASTER pipelines 
+are $

ERROR: trailing whitespace
#89: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:36:
+# ignored) from the input configuration file to the set of cores $

ERROR: trailing whitespace
#90: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:37:
+# provided as input argument and creates configuration files for each 
+of $

ERROR: trailing whitespace
#115: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:62:
+#----------------------------------------------------------------------
+------- $

ERROR: trailing whitespace
#116: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:63:
+def popcount(mask):                                                                          $

ERROR: trailing whitespace
#119: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:66:
+#----------------------------------------------------------------------
+------- $

ERROR: trailing whitespace
#126: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:73:
+    $

ERROR: trailing whitespace
#129: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:76:
+#----------------------------------------------------------------------
+------- $

ERROR: trailing whitespace
#149: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:96:
+#----------------------------------------------------------------------
+--- $

ERROR: trailing whitespace
#154: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:101:
+#----------------------------------------------------------------------
+--- $

ERROR: trailing whitespace
#209: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:156:
+                    $

ERROR: trailing whitespace
#232: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:179:
+                $

ERROR: trailing whitespace
#238: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:185:
+            $

ERROR: trailing whitespace
#244: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:191:
+        $

ERROR: trailing whitespace
#254: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:201:
+                $

ERROR: trailing whitespace
#263: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:210:
+        #end while         $

ERROR: trailing whitespace
#264: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:211:
+    #end function    $

ERROR: trailing whitespace
#312: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:259:
+        $

ERROR: trailing whitespace
#325: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:272:
+            print('(%d,%d)' %(self.cores[cores_count].pipelines, $

ERROR: trailing whitespace
#342: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:289:
+        self.stage1_reset()  $

ERROR: trailing whitespace
#346: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:293:
+        $

ERROR: trailing whitespace
#376: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:323:
+            $

ERROR: trailing whitespace
#394: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:341:
+            $

ERROR: trailing whitespace
#416: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:363:
+            $

ERROR: trailing whitespace
#417: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:364:
+            $

ERROR: trailing whitespace
#439: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:386:
+            $

ERROR: trailing whitespace
#450: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:397:
+        #check if file traceing is enabled         $

ERROR: trailing whitespace
#459: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:406:
+    
+ #---------------------------------------------------------------------
+ --- $

ERROR: trailing whitespace
#481: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:428:
+    
+ #---------------------------------------------------------------------
+ --- $

ERROR: trailing whitespace
#485: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:432:
+        $

ERROR: trailing whitespace
#506: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:453:
+        # update the in_buf as per the arr_pipelines2cores      $

ERROR: trailing whitespace
#510: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:457:
+        $

ERROR: trailing whitespace
#511: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:458:
+        #by now the in_buf is all set to be written to file $

ERROR: trailing whitespace
#514: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:461:
+        $

ERROR: trailing whitespace
#515: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:462:
+        #write out the comments $

ERROR: trailing whitespace
#541: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:488:
+#----------------------------------------------------------------------
+------- $

ERROR: trailing whitespace
#578: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:525:
+            $

ERROR: trailing whitespace
#587: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:534:
+            $

ERROR: trailing whitespace
#595: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:542:
+        self.arr2_pipelines2cores.clear() $

ERROR: trailing whitespace
#633: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:580:
+        #end while $

ERROR: trailing whitespace
#668: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:615:
+        #check if file traceing is enabled         $

ERROR: trailing whitespace
#670: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:617:
+            return $

ERROR: trailing whitespace
#738: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:685:
+   $

ERROR: trailing whitespace
#743: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:690:
+            outFileName += 'HT'            $

ERROR: trailing whitespace
#750: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:697:
+        # update the in_buf as per the arr_pipelines2cores $

ERROR: trailing whitespace
#753: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:700:
+       $

ERROR: trailing whitespace
#754: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:701:
+        #by now the in_buf is all set to be written to file $

ERROR: trailing whitespace
#778: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:725:
+    #end function stage2_process_file $

ERROR: trailing whitespace
#787: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:734:
+        $

ERROR: trailing whitespace
#811: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:758:
+#----------------------------------------------------------------------
+------- $

ERROR: trailing whitespace
#816: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:763:
+        self.in_filename = os.path.basename(self.in_file_namepath) $

ERROR: trailing whitespace
#818: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:765:
+        $

ERROR: trailing whitespace
#827: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:774:
+        $

ERROR: trailing whitespace
#828: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:775:
+        self.max_cores = 15 $

ERROR: trailing whitespace
#836: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:783:
+        # save the num of cores input (or the truncated value) $

ERROR: trailing whitespace
#839: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:786:
+       $

ERROR: trailing whitespace
#843: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:790:
+        print("self.in_file_namepath = ", self.in_file_namepath) $

ERROR: trailing whitespace
#1003: FILE: examples/ip_pipeline/config/pipeline-to-core-mapping.py:950:
+# python trick - so that our Python files can act as either reusable 
+modules, $

total: 58 errors, 0 warnings, 990 lines checked

NOTE: whitespace errors detected, you may wish to use scripts/cleanpatch or
      scripts/cleanfile

/home/patchWorkOrg/patches/dpdk-dev-ip_pipeline-add-scripts-file-for-pipeline-to-core-mappings.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