2331243_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2331243_en-US

2331243_en-US

S32G3 EthCtrlConfigShaper

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.

Re: S32G3 EthCtrlConfigShaper

Hi Joey,

Thank you for the reply. Yes I did change the values in the config tool. The config tool only provides idleslopecredit, locredit and hicredit values to be modified. But these changes are not reflected when code is generated.

Regards,

Re: S32G3 EthCtrlConfigShaper

Hi,

Thank you for contacting us.

Do you have changed these values of ( idlescopecredit, sendslopecredit and queueopmode) in Config Tool? But do you not find these values be modified in the code?

BR

Joey

Re: S32G3 EthCtrlConfigShaper

The problem is solved, in the EthCtrlConfigSchedulerPredecessorRef destination we had to set the shaper instead of fifo.

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎03-14-2026 02:33 AM
更新者: