You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my opinion, the packet's payload will be eliminate when queue length is larger than ECN_THRESHOLD. However, it doesn't work. Receiver can't receive any packet. And I change the parameter of truncate( change 0 to 34). Receiver can receive packet which only include mac+ipv4 header.
My question is: what is the detail definition of truncate on bmv2? How to eliminate payload by using truncate?
The text was updated successfully, but these errors were encountered:
What you are describing makes sense to me. The bmv2 truncate primitive applies to the deparsed packet I believe, not to the payload specifically. So if you truncate to 0, the packet is dropped.
Hi all,
I am trying to use
truncate
to eliminate payload of packet. The following is the code I use:In my opinion, the packet's payload will be eliminate when queue length is larger than
ECN_THRESHOLD
. However, it doesn't work. Receiver can't receive any packet. And I change the parameter of truncate( change 0 to 34). Receiver can receive packet which only include mac+ipv4 header.My question is: what is the detail definition of truncate on bmv2? How to eliminate payload by using truncate?
The text was updated successfully, but these errors were encountered: