traffic-control: Remove unused variable in COBALT
This commit is contained in:
committed by
Stefano Avallone
parent
99ba3f2ad7
commit
e9d407154c
@@ -86,8 +86,6 @@ Attributes
|
||||
The key attributes that the CobaltQueue Disc class holds include the following:
|
||||
|
||||
* ``MaxSize:`` The maximum number of packets/bytes accepted by this queue disc.
|
||||
* ``MinBytes:`` The Cobalt algorithm minbytes parameter. The default value is
|
||||
1500 bytes.
|
||||
* ``Interval:`` The sliding-minimum window. The default value is 100 ms.
|
||||
* ``Target:`` The Cobalt algorithm target queue delay. The default value is
|
||||
5 ms.
|
||||
|
||||
@@ -54,11 +54,6 @@ TypeId CobaltQueueDisc::GetTypeId (void)
|
||||
MakeQueueSizeAccessor (&QueueDisc::SetMaxSize,
|
||||
&QueueDisc::GetMaxSize),
|
||||
MakeQueueSizeChecker ())
|
||||
.AddAttribute ("MinBytes",
|
||||
"The Cobalt algorithm minbytes parameter.",
|
||||
UintegerValue (1500),
|
||||
MakeUintegerAccessor (&CobaltQueueDisc::m_minBytes),
|
||||
MakeUintegerChecker<uint32_t> ())
|
||||
.AddAttribute ("Interval",
|
||||
"The Cobalt algorithm interval",
|
||||
StringValue ("100ms"),
|
||||
|
||||
@@ -214,8 +214,6 @@ private:
|
||||
// Common to CoDel and Blue
|
||||
// Maintained by Cobalt
|
||||
Stats m_stats; //!< Cobalt statistics
|
||||
// Supplied by user
|
||||
uint32_t m_minBytes; //!< Minimum bytes in queue to allow a packet drop
|
||||
|
||||
// Codel parameters
|
||||
// Maintained by Cobalt
|
||||
|
||||
@@ -140,8 +140,6 @@ CobaltQueueDiscBasicEnqueueDequeue::DoRun (void)
|
||||
|
||||
Address dest;
|
||||
|
||||
NS_TEST_EXPECT_MSG_EQ (queue->SetAttributeFailSafe ("MinBytes", UintegerValue (pktSize)), true,
|
||||
"Verify that we can actually set the attribute MinBytes");
|
||||
NS_TEST_EXPECT_MSG_EQ (queue->SetAttributeFailSafe ("Interval", StringValue ("50ms")), true,
|
||||
"Verify that we can actually set the attribute Interval");
|
||||
NS_TEST_EXPECT_MSG_EQ (queue->SetAttributeFailSafe ("Target", StringValue ("4ms")), true,
|
||||
|
||||
Reference in New Issue
Block a user