- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all!
I would like to know how payload pad removal works in the aLtera TSE IP. How does the TSE know the payload length if ethernet header field "length/type" carries a type info (e.g. 0x0800 = IPv4 type)? ThxLink Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The addition/removal is for 32bit alignment, so the core itself doesn't care what length or type the packet is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm sorry but I don't understand what you mean.
Can you develop please? Thx Julien- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello J_Renauld,
I know it's almost a year ago, but did you or somebody else find out how pad removal works? Because in my case it doesn't work (alltough I set the PAD_EN bit) and in assumption with the Leightweight IP-Stack and TCP I think it is not nice, that after every Connection establishment the Client sends back another ACK, because he thinks that there was some data in the ACK of the Client becaus of padding. Best Regards, Elegan- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hm, I see no problems with LwIP and TSE. 32bit alignment flag is set in TSE options as it is also set in LwIP driver options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry Socrates, but I think here you mean something different.
I think you mean the two byte which TSE puts in front of the Ethernet-Header to achive a 32-bit alignment. In this case are the missing bytes meant, which are put at the end of the frame to achieve the minimum ethernet frame length of 64 byte.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh sorry, I misunderstood that... Did You check LwIP thread?

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page