diff options
author | mlebeane <michael.lebeane@amd.com> | 2016-10-26 22:48:33 -0400 |
---|---|---|
committer | mlebeane <michael.lebeane@amd.com> | 2016-10-26 22:48:33 -0400 |
commit | 96905971f26e5218baebf8f953f05a9b341f9cc6 (patch) | |
tree | 4f2d06b18a4fc4bc92a4303e02e5c7668e2ec043 /src/sim/pseudo_inst.cc | |
parent | de72e36619350f9b3e3a3dc8de63b490c4cecf2d (diff) | |
download | gem5-96905971f26e5218baebf8f953f05a9b341f9cc6.tar.xz |
dev: Add 'simLength' parameter in EthPacketData
Currently, all the network devices create a 16K buffer for the 'data' field
in EthPacketData, and use 'length' to keep track of the size of the packet
in the buffer. This patch introduces the 'simLength' parameter to
EthPacketData, which is used to hold the effective length of the packet used
for all timing calulations in the simulator. Serialization is performed using
only the useful data in the packet ('length') and not necessarily the entire
original buffer.
Diffstat (limited to 'src/sim/pseudo_inst.cc')
0 files changed, 0 insertions, 0 deletions