I have s32g3 gold box, and I have this project lwip_FreeRTOS_S32G399A_M7_rtd402. I am adding a EthCtrlConfigShaper to Fifo_1, and setting max value to EthCtrlConfigShaperIdleSlope which is 750000000. I don't see these values generated in Gmac_Ip_Sa_PBcfg.c
what I am getting is:
{
/*.weight = */0U,
/*.idleSlopeCredit = */0U,
/*.sendSlopeCredit = */0U,
/*.hiCredit = */0U,
/*.loCredit = */0,
/*.ringDesc = */GMAC_0_TxRing_1_DescBuffer,
/*.callback = */Eth_TxIrqCallback,
/*.buffer = */GMAC_0_TxRing_1_DataBuffer,
/*.interrupts = */(uint32)GMAC_CH_INTERRUPT_TI,
/*.bufferLen = */1536U,
/*.ringSize = */4U,
/*.priorityMask = */(uint8)GMAC_VLAN_PRIORITY_4 | (uint8)GMAC_VLAN_PRIORITY_5 | (uint8)GMAC_VLAN_PRIORITY_6 | (uint8)GMAC_VLAN_PRIORITY_7,
/*.dmaBurstLength = */64U,
/*.queueOpMode = */GMAC_OP_MODE_DCB_GEN
}
I would want the idlescopecredit, sendslopecredit and queueopmode be updated accordingly but its not happening.