Class: Nl::Linux::Tc::SubMessages::OptionsMsg::Dualpi2

Inherits:
SubMessage
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/tc.rb

Constant Summary collapse

FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Dualpi2Attrs

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods included from StructuredPayload

#encode, #initialize

Instance Method Details

#alpha ⇒ Integer

Integral gain factor in Hz for PI controller

Returns:

  • (Integer)

See Also:



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

def alpha; attributes[:"alpha"]&.value; end

#beta ⇒ Integer

Proportional gain factor in Hz for PI controller

Returns:

  • (Integer)

See Also:



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

def beta; attributes[:"beta"]&.value; end

#c_protection ⇒ Integer

Classic WRR weight in percentage (from 0 to 100)

Returns:

  • (Integer)

See Also:



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

def c_protection; attributes[:"c_protection"]&.value; end

#coupling ⇒ Integer

Probability coupling factor between Classic and L4S (2 is recommended)

Returns:

  • (Integer)

See Also:



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

def coupling; attributes[:"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:



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

def drop_early; attributes[:"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:



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

def drop_overload; attributes[:"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:



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

def ecn_mask; attributes[:"ecn_mask"]&.value; end

#limit ⇒ Integer

Limit of total number of packets in queue

Returns:

  • (Integer)

See Also:



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

def limit; attributes[:"limit"]&.value; end

#memory_limit ⇒ Integer

Memory limit of total number of packets in queue

Returns:

  • (Integer)

See Also:



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

def memory_limit; attributes[:"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:



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

def min_qlen_step; attributes[:"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:



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

def split_gso; attributes[:"split_gso"]&.value; end

#step_thresh_pkts ⇒ Integer

L4S step marking threshold in packets

Returns:

  • (Integer)

See Also:



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

def step_thresh_pkts; attributes[:"step_thresh_pkts"]&.value; end

#step_thresh_us ⇒ Integer

L4S Step marking threshold in microseconds

Returns:

  • (Integer)

See Also:



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

def step_thresh_us; attributes[:"step_thresh_us"]&.value; end

#target ⇒ Integer

Classic target delay in microseconds

Returns:

  • (Integer)

See Also:



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

def target; attributes[:"target"]&.value; end

#tupdate ⇒ Integer

Drop probability update interval time in microseconds

Returns:

  • (Integer)

See Also:



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

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