Class: Nl::Linux::Tc::AttributeSets::Dualpi2Attrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Tc::AttributeSets::Dualpi2Attrs
- Defined in:
- nl-linux/generated/nl/linux/tc.rb
Defined Under Namespace
Classes: Alpha, Attribute, Beta, CProtection, Coupling, DropEarly, DropOverload, EcnMask, Limit, MemoryLimit, MinQlenStep, SplitGso, StepThreshPkts, StepThreshUs, Target, Tupdate
Constant Summary
Constants inherited from AttributeSet
Class Method Summary collapse
-
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
-
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
Instance Method Summary collapse
-
#alpha ⇒ Integer
Integral gain factor in Hz for PI controller.
-
#beta ⇒ Integer
Proportional gain factor in Hz for PI controller.
-
#c_protection ⇒ Integer
Classic WRR weight in percentage (from 0 to 100).
-
#coupling ⇒ Integer
Probability coupling factor between Classic and L4S (2 is recommended).
-
#drop_early ⇒ Integer
Decide where the Classic packets are PI-based dropped or marked.
-
#drop_overload ⇒ Integer
Control the overload strategy (drop to preserve latency or let the queue overflow).
-
#ecn_mask ⇒ Integer
Configure the L-queue ECN classifier.
-
#limit ⇒ Integer
Limit of total number of packets in queue.
-
#memory_limit ⇒ Integer
Memory limit of total number of packets in queue.
-
#min_qlen_step ⇒ Integer
Packets enqueued to the L-queue can apply the step threshold when the queue length of L-queue is larger than this value.
-
#split_gso ⇒ Integer
Split aggregated skb or not.
-
#step_thresh_pkts ⇒ Integer
L4S step marking threshold in packets.
-
#step_thresh_us ⇒ Integer
L4S Step marking threshold in microseconds.
-
#target ⇒ Integer
Classic target delay in microseconds.
-
#tupdate ⇒ Integer
Drop probability update interval time in microseconds.
Methods inherited from AttributeSet
#<<, #[], build_attributes, decode, #encode, #initialize
Constructor Details
This class inherits a constructor from Nl::AttributeSet
Class Method Details
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
6186 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 6186 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
6192 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 6192 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#alpha ⇒ Integer
Integral gain factor in Hz for PI controller
6121 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 6121 def alpha; self[:"alpha"]&.value; end |
#beta ⇒ Integer
Proportional gain factor in Hz for PI controller
6126 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 6126 def beta; self[:"beta"]&.value; end |
#c_protection ⇒ Integer
Classic WRR weight in percentage (from 0 to 100)
6165 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 6165 def c_protection; self[:"c_protection"]&.value; end |
#coupling ⇒ Integer
Probability coupling factor between Classic and L4S (2 is recommended)
6146 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 6146 def coupling; self[:"coupling"]&.value; end |
#drop_early ⇒ Integer
Decide where the Classic packets are PI-based dropped or marked
Known enum values are defined in Enums::Dualpi2DropEarly.
6160 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 6160 def drop_early; self[:"drop_early"]&.value; end |
#drop_overload ⇒ Integer
Control the overload strategy (drop to preserve latency or let the queue overflow)
Known enum values are defined in Enums::Dualpi2DropOverload.
6153 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 6153 def drop_overload; self[:"drop_overload"]&.value; end |
#ecn_mask ⇒ Integer
Configure the L-queue ECN classifier
Known enum values are defined in Enums::Dualpi2EcnMask.
6172 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 6172 def ecn_mask; self[:"ecn_mask"]&.value; end |
#limit ⇒ Integer
Limit of total number of packets in queue
6101 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 6101 def limit; self[:"limit"]&.value; end |
#memory_limit ⇒ Integer
Memory limit of total number of packets in queue
6106 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 6106 def memory_limit; self[:"memory_limit"]&.value; end |
#min_qlen_step ⇒ Integer
Packets enqueued to the L-queue can apply the step threshold when the queue length of L-queue is larger than this value. (0 is recommended)
6141 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 6141 def min_qlen_step; self[:"min_qlen_step"]&.value; end |
#split_gso ⇒ Integer
Split aggregated skb or not
Known enum values are defined in Enums::Dualpi2SplitGso.
6179 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 6179 def split_gso; self[:"split_gso"]&.value; end |
#step_thresh_pkts ⇒ Integer
L4S step marking threshold in packets
6131 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 6131 def step_thresh_pkts; self[:"step_thresh_pkts"]&.value; end |
#step_thresh_us ⇒ Integer
L4S Step marking threshold in microseconds
6136 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 6136 def step_thresh_us; self[:"step_thresh_us"]&.value; end |
#target ⇒ Integer
Classic target delay in microseconds
6111 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 6111 def target; self[:"target"]&.value; end |
#tupdate ⇒ Integer
Drop probability update interval time in microseconds
6116 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 6116 def tupdate; self[:"tupdate"]&.value; end |