Change RTCS MTU

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,156件の閲覧回数
Mike_d
Contributor IV

Hi,

I have a wifi interface that has an MTU less than 1500.  How do I change the MTU for RTCS?

Thanks,

-Mike

0 件の賞賛
返信
1 解決策
1,011件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Mike_d

This MTU is defined in the following macro

#define ENET_FRAMESIZE_MAXDATA    (1500)

in file

mqx/source/io/enet/ethernet.h


Have a great day,
Daniel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

2 返答(返信)
1,011件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Mike_d

There is also a similar macro in RTCS IP layer.

#define IP_DEFAULT_MTU     576      /* minimum IP datagram size which    */
                                    /* must be supported by all IP hosts */
#define IP_MAX_MTU         0xFFFF   /* size of largest IP datagram       */

in rtcs/source/include/ip.h

Regards

Daniel

1,012件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Mike_d

This MTU is defined in the following macro

#define ENET_FRAMESIZE_MAXDATA    (1500)

in file

mqx/source/io/enet/ethernet.h


Have a great day,
Daniel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------