Fix serialization of txPacket (need to properly calculate the length before serialization)
Fix serialization of txPacket (need to properly calculate the length before serialization)

--HG--
extra : convert_revision : e93321495d19afb86949daf2c14102ffb6bcef41

markoshorro/gem5,joerocklin/gem5,markoshorro/gem5,joerocklin/gem5,samueldotj/TeeRISC-Simulator,yb-kim/gemV,SanchayanMaity/gem5,Weil0ng/gem5,yb-kim/gemV,rjschof/gem5,yb-kim/gemV,aclifton/cpeg853-gem5,rjschof/gem5,markoshorro/gem5,zlfben/gem5,yb-kim/gemV,sobercoder/gem5,sobercoder/gem5,TUD-OS/gem5-dtu,zlfben/gem5,gem5/gem5,sobercoder/gem5,Weil0ng/gem5,TUD-OS/gem5-dtu,gedare/gem5,TUD-OS/gem5-dtu,TUD-OS/gem5-dtu,samueldotj/TeeRISC-Simulator,joerocklin/gem5,cancro7/gem5,samueldotj/TeeRISC-Simulator,zlfben/gem5,briancoutinho0905/2dsampling,kaiyuanl/gem5,kaiyuanl/gem5,aclifton/cpeg853-gem5,austinharris/gem5-riscv,gedare/gem5,Weil0ng/gem5,briancoutinho0905/2dsampling,SanchayanMaity/gem5,cancro7/gem5,KuroeKurose/gem5,austinharris/gem5-riscv,gem5/gem5,aclifton/cpeg853-gem5,cancro7/gem5,HwisooSo/gemV-update,KuroeKurose/gem5,markoshorro/gem5,powerjg/gem5-ci-test,rallylee/gem5,briancoutinho0905/2dsampling,gedare/gem5,zlfben/gem5,joerocklin/gem5,zlfben/gem5,TUD-OS/gem5-dtu,rallylee/gem5,gem5/gem5,cancro7/gem5,SanchayanMaity/gem5,HwisooSo/gemV-update,HwisooSo/gemV-update,rallylee/gem5,rallylee/gem5,Weil0ng/gem5,yb-kim/gemV,rjschof/gem5,gedare/gem5,powerjg/gem5-ci-test,KuroeKurose/gem5,joerocklin/gem5,briancoutinho0905/2dsampling,rjschof/gem5,KuroeKurose/gem5,aclifton/cpeg853-gem5,gem5/gem5,sobercoder/gem5,austinharris/gem5-riscv,cancro7/gem5,rallylee/gem5,yb-kim/gemV,markoshorro/gem5,rallylee/gem5,kaiyuanl/gem5,gedare/gem5,kaiyuanl/gem5,TUD-OS/gem5-dtu,Weil0ng/gem5,cancro7/gem5,HwisooSo/gemV-update,samueldotj/TeeRISC-Simulator,qizenguf/MLC-STT,aclifton/cpeg853-gem5,briancoutinho0905/2dsampling,SanchayanMaity/gem5,samueldotj/TeeRISC-Simulator,qizenguf/MLC-STT,rjschof/gem5,qizenguf/MLC-STT,powerjg/gem5-ci-test,kaiyuanl/gem5,qizenguf/MLC-STT,markoshorro/gem5,KuroeKurose/gem5,briancoutinho0905/2dsampling,markoshorro/gem5,qizenguf/MLC-STT,kaiyuanl/gem5,TUD-OS/gem5-dtu,sobercoder/gem5,qizenguf/MLC-STT,zlfben/gem5,sobercoder/gem5,joerocklin/gem5,rjschof/gem5,powerjg/gem5-ci-test,rjschof/gem5,HwisooSo/gemV-update,KuroeKurose/gem5,austinharris/gem5-riscv,gem5/gem5,SanchayanMaity/gem5,samueldotj/TeeRISC-Simulator,joerocklin/gem5,austinharris/gem5-riscv,rallylee/gem5,yb-kim/gemV,Weil0ng/gem5,gem5/gem5,yb-kim/gemV,samueldotj/TeeRISC-Simulator,sobercoder/gem5,cancro7/gem5,joerocklin/gem5,aclifton/cpeg853-gem5,zlfben/gem5,powerjg/gem5-ci-test,gem5/gem5,austinharris/gem5-riscv,aclifton/cpeg853-gem5,SanchayanMaity/gem5,gedare/gem5,HwisooSo/gemV-update,Weil0ng/gem5,KuroeKurose/gem5,HwisooSo/gemV-update,SanchayanMaity/gem5,powerjg/gem5-ci-test,qizenguf/MLC-STT,austinharris/gem5-riscv,powerjg/gem5-ci-test,gedare/gem5,kaiyuanl/gem5,briancoutinho0905/2dsampling