PDK-6291: UDMA unit test app is failing for all the cores
authorSivaraj R <sivaraj@ti.com>
Wed, 13 May 2020 14:25:54 +0000 (19:55 +0530)
committerSivaraj R <sivaraj@ti.com>
Wed, 13 May 2020 15:25:44 +0000 (10:25 -0500)
Resolution:
- With 2020.04 the RM API returns error if the flow count is 0x4000
- The default should be zero which is the logical value to have

Signed-off-by: Sivaraj R <sivaraj@ti.com>
packages/ti/drv/udma/unit_test/udma_ut/src/udma_testconfig.h

index 89794e9dd6de93e5a314d93a98d88d62f7204e6e..cee3b80b092c80e4114e61565006df2016f03b84 100644 (file)
@@ -123,7 +123,7 @@ static const UdmaTestRxChPrm gUdmaTestRxChPrm[] =
             .busOrderId         = UDMA_DEFAULT_RX_CH_BUS_ORDERID,
             .dmaPriority        = UDMA_DEFAULT_RX_CH_DMA_PRIORITY,
             .flowIdFwRangeStart = 0U,  /* Flow ID not used */
             .busOrderId         = UDMA_DEFAULT_RX_CH_BUS_ORDERID,
             .dmaPriority        = UDMA_DEFAULT_RX_CH_DMA_PRIORITY,
             .flowIdFwRangeStart = 0U,  /* Flow ID not used */
-            .flowIdFwRangeCnt   = 0x4000U,
+            .flowIdFwRangeCnt   = 0U,  /* Flow ID not used */
             .ignoreShortPkts    = TISCI_MSG_VALUE_RM_UDMAP_RX_CH_PACKET_EXCEPTION,
             .ignoreLongPkts     = TISCI_MSG_VALUE_RM_UDMAP_RX_CH_PACKET_EXCEPTION,
             .configDefaultFlow  = TRUE,
             .ignoreShortPkts    = TISCI_MSG_VALUE_RM_UDMAP_RX_CH_PACKET_EXCEPTION,
             .ignoreLongPkts     = TISCI_MSG_VALUE_RM_UDMAP_RX_CH_PACKET_EXCEPTION,
             .configDefaultFlow  = TRUE,
@@ -144,7 +144,7 @@ static const UdmaTestRxChPrm gUdmaTestRxChPrm[] =
             .busOrderId         = UDMA_DEFAULT_RX_CH_BUS_ORDERID,
             .dmaPriority        = TISCI_MSG_VALUE_RM_UDMAP_CH_SCHED_PRIOR_HIGH,
             .flowIdFwRangeStart = 0U,  /* Flow ID not used */
             .busOrderId         = UDMA_DEFAULT_RX_CH_BUS_ORDERID,
             .dmaPriority        = TISCI_MSG_VALUE_RM_UDMAP_CH_SCHED_PRIOR_HIGH,
             .flowIdFwRangeStart = 0U,  /* Flow ID not used */
-            .flowIdFwRangeCnt   = 0x4000U,
+            .flowIdFwRangeCnt   = 0U,  /* Flow ID not used */
             .ignoreShortPkts    = TISCI_MSG_VALUE_RM_UDMAP_RX_CH_PACKET_EXCEPTION,
             .ignoreLongPkts     = TISCI_MSG_VALUE_RM_UDMAP_RX_CH_PACKET_EXCEPTION,
             .configDefaultFlow  = TRUE,
             .ignoreShortPkts    = TISCI_MSG_VALUE_RM_UDMAP_RX_CH_PACKET_EXCEPTION,
             .ignoreLongPkts     = TISCI_MSG_VALUE_RM_UDMAP_RX_CH_PACKET_EXCEPTION,
             .configDefaultFlow  = TRUE,