]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/pa-lld.git/commitdiff
clean up arm test bench
authorAravind Batni <aravindbr@ti.com>
Tue, 12 May 2015 15:07:26 +0000 (11:07 -0400)
committerAravind Batni <aravindbr@ti.com>
Tue, 12 May 2015 15:07:26 +0000 (11:07 -0400)
test/PAUnitTest/src/armv7/linux/fw_init.c [changed mode: 0644->0755]
test/PAUnitTest/src/armv7/linux/fw_main.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 3bc8ea5..a70bea1
@@ -72,7 +72,6 @@ uint8_t memUsrStatsLnkTbl[TF_ROUND_UP(TF_USR_STATS_LNK_TABLE_SIZE, TF_CACHE_LINE
 uint8_t memVLinkRam[TF_ROUND_UP(TF_VLINK_TABLE_SIZE, TF_CACHE_LINESZ)]ALIGN(TF_CACHE_LINESZ);
 uint8_t memAclRam[TF_ROUND_UP(TF_ACL_TABLE_SIZE, TF_CACHE_LINESZ)]ALIGN(TF_CACHE_LINESZ);
 uint8_t memFcRam[TF_ROUND_UP(TF_FC_TABLE_SIZE, TF_CACHE_LINESZ)]ALIGN(TF_CACHE_LINESZ);
-uint8_t memEoamRam[TF_ROUND_UP(TF_EOAM_TABLE_SIZE, TF_CACHE_LINESZ)]ALIGN(TF_CACHE_LINESZ);
 
 /******************************************************************************
 * Macro to convert to IP Register Virtual Address from a mapped base Virtual Address
@@ -1569,20 +1568,7 @@ int initPa (void)
 
   bases[pa_BUF_FC_TABLE] = (void *)memFcRam;
 
-
-  /* The 8th buffer is the Ethernet OAM table */
-  if ((uint32_t)memEoamRam & (aligns[pa_BUF_EOAM_TABLE] - 1))  {
-    printf ("initPa: Pa_getBufferReq requires %d alignment for Ethernet OAM buffer, but address is 0x%08x\n", aligns[pa_BUF_EOAM_TABLE], (uint32_t)memEoamRam);
-    return (-1);
-  }
-
-  if (sizeof(memEoamRam) <  sizes[pa_BUF_EOAM_TABLE])  {
-    printf ("initPa: Pa_getBufferReq requires %d bytes for Ethernet OAM buffer, have only %d\n", sizes[pa_BUF_EOAM_TABLE], sizeof(memEoamRam));
-    return (-1);
-  }
-
-  bases[pa_BUF_EOAM_TABLE] = (void *)memEoamRam;  
-
+  
   /* set default RA system configuration */
   raCfg.ipv4MinPktSize      = 28;   /* 20-byte IPv4 header plus 8-byte payload */
   raCfg.numCxts             = 250;
old mode 100644 (file)
new mode 100755 (executable)
index e79136f..2ee4811
@@ -54,7 +54,7 @@ paTest_t  paTestList[] = {
        { paTestIPv6FragReassem,  "IPv6 Fragmentation and Reassembly",      PA_TEST_NOT_RUN },
 #ifdef NSS_GEN2
        { paTestACL,                      "Pa_addAcl and ACL filtering",                        PA_TEST_NOT_RUN },
-  { paTestACLRescore,       "Pa_addAcl and Rescore",                  PA_TEST_NOT_RUN },       
+    { paTestACLRescore,       "Pa_addAcl and Rescore",                  PA_TEST_NOT_RUN },     
        { paTestEflow,                  "Egress Flow and Packet Forwarding Test", PA_TEST_NOT_RUN },
 #endif    
        { paTestUnconfigured,     "Packet reception while unconfigured",    PA_TEST_NOT_RUN },