allow jumbo frames in test-lte-epc-e2e-data

This commit is contained in:
Nicola Baldo
2011-12-19 17:06:59 +01:00
parent 57be872ea3
commit ceec79a1e3

View File

@@ -114,6 +114,9 @@ LteEpcE2eDataTestCase::DoRun ()
lteHelper->SetAttribute("PathlossModel",
StringValue("ns3::FriisPropagationLossModel"));
// allow jumbo frames on the S1-U link
epcHelper->SetAttribute ("S1uLinkMtu", UintegerValue (30000));
Ptr<Node> pgw = epcHelper->GetPgwNode ();
// Create a single RemoteHost
@@ -126,7 +129,7 @@ LteEpcE2eDataTestCase::DoRun ()
// Create the internet
PointToPointHelper p2ph;
p2ph.SetDeviceAttribute ("DataRate", DataRateValue (DataRate ("100Gb/s")));
p2ph.SetDeviceAttribute ("Mtu", UintegerValue (1500));
p2ph.SetDeviceAttribute ("Mtu", UintegerValue (30000)); // jumbo frames here as well
p2ph.SetChannelAttribute ("Delay", TimeValue (Seconds (0.010)));
NetDeviceContainer internetDevices = p2ph.Install (pgw, remoteHost);
Ipv4AddressHelper ipv4h;