From ceec79a1e3f4cabb5b0c34bfb8e401143e58ec0f Mon Sep 17 00:00:00 2001 From: Nicola Baldo Date: Mon, 19 Dec 2011 17:06:59 +0100 Subject: [PATCH] allow jumbo frames in test-lte-epc-e2e-data --- src/lte/test/test-lte-epc-e2e-data.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lte/test/test-lte-epc-e2e-data.cc b/src/lte/test/test-lte-epc-e2e-data.cc index 834e3a324..913b1e04f 100644 --- a/src/lte/test/test-lte-epc-e2e-data.cc +++ b/src/lte/test/test-lte-epc-e2e-data.cc @@ -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 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;