Class: Nl::Linux::Tc::AttributeSets::Dualpi2Attrs

Inherits:
AttributeSet
  • Object
show all
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

AttributeSet::SELECTOR_NAMES

Class Method Summary collapse

Instance Method Summary collapse

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.

Parameters:

  • name (Symbol)

Returns:



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.

Parameters:

  • type (Integer)

Returns:



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

Returns:

  • (Integer)

See Also:



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

Returns:

  • (Integer)

See Also:



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)

Returns:

  • (Integer)

See Also:



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)

Returns:

  • (Integer)

See Also:



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.

Returns:

  • (Integer)

See Also:



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.

Returns:

  • (Integer)

See Also:



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.

Returns:

  • (Integer)

See Also:



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

Returns:

  • (Integer)

See Also:



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

Returns:

  • (Integer)

See Also:



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)

Returns:

  • (Integer)

See Also:



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.

Returns:

  • (Integer)

See Also:



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

Returns:

  • (Integer)

See Also:



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

Returns:

  • (Integer)

See Also:



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

Returns:

  • (Integer)

See Also:



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

Returns:

  • (Integer)

See Also:



6116
# File 'nl-linux/generated/nl/linux/tc.rb', line 6116

def tupdate; self[:"tupdate"]&.value; end