UDMA ring monitor config parameters.
UDMA Ring Monitor configuration paramters. This structure is stripped-down version of Udma_RingMonPrms.
Data Fields | |
uint8_t | mode |
uint32_t | data0 |
uint32_t | data1 |
uint8_t EnetUdma_RingMonCfg::mode |
Ring monitor mode. Refer tisci_msg_rm_ring_mon_cfg_req::mode
uint32_t EnetUdma_RingMonCfg::data0 |
When mode is TISCI_MSG_VALUE_RM_MON_MODE_PUSH_POP, this is read-only and represents number of pushes. When mode is TISCI_MSG_VALUE_RM_MON_MODE_THRESHOLD, this is read-write and represents the low threshold value which should be programmed to generate the RM event when the threshold is crossed (goes below). When mode is TISCI_MSG_VALUE_RM_MON_MODE_WATERMARK, this is read only and represents the low watermark. When mode is TISCI_MSG_VALUE_RM_MON_MODE_STARVATION, this is read only and represents the starvation count
uint32_t EnetUdma_RingMonCfg::data1 |
When mode is TISCI_MSG_VALUE_RM_MON_MODE_PUSH_POP, this is read-only and represents number of pops. When mode is TISCI_MSG_VALUE_RM_MON_MODE_THRESHOLD, this is read-write and represents the high threshold value which should be programmed to generate the RM event when the threshold is crossed (goes above). When mode is TISCI_MSG_VALUE_RM_MON_MODE_WATERMARK, this is read only and represents the high watermark. When mode is TISCI_MSG_VALUE_RM_MON_MODE_STARVATION, this is not applicable