Class: Nl::Linux::Tc::AttributeSets::FqAttrs

Inherits:
AttributeSet show all
Defined in:
nl-linux/generated/nl/linux/tc.rb

Defined Under Namespace

Classes: Attribute, BucketsLog, CeThreshold, FlowDefaultRate, FlowMaxRate, FlowPlimit, FlowRefillDelay, Horizon, HorizonDrop, InitialQuantum, LowRateThreshold, OrphanMask, Plimit, Priomap, Quantum, RateEnable, TimerSlack, Weights

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:



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

def by_name(name); BY_NAME.fetch(name); end

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

def by_type(type); BY_TYPE.fetch(type); end

Instance Method Details

#buckets_log ⇒ Integer

log2(number of buckets)

Returns:

  • (Integer)

See Also:



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

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

#ce_threshold ⇒ Integer

DCTCP-like CE marking threshold

Returns:

  • (Integer)

See Also:



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

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

#flow_default_rate ⇒ Integer

Obsolete, do not use

Returns:

  • (Integer)

See Also:



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

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

#flow_max_rate ⇒ Integer

Per flow max rate

Returns:

  • (Integer)

See Also:



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

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

#flow_plimit ⇒ Integer

Limit of packets per flow

Returns:

  • (Integer)

See Also:



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

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

#flow_refill_delay ⇒ Integer

Flow credit refill delay in usec

Returns:

  • (Integer)

See Also:



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

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

#horizon ⇒ Integer

Time horizon in usec

Returns:

  • (Integer)

See Also:



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

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

#horizon_drop ⇒ Integer

Drop packets beyond horizon, or cap their EDT

Returns:

  • (Integer)

See Also:



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

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

#initial_quantum ⇒ Integer

RR quantum for new flow

Returns:

  • (Integer)

See Also:



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

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

#low_rate_threshold ⇒ Integer

Per packet delay under this rate

Returns:

  • (Integer)

See Also:



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

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

#orphan_mask ⇒ Integer

Mask applied to orphaned skb hashes

Returns:

  • (Integer)

See Also:



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

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

#plimit ⇒ Integer

Limit of total number of packets in queue

Returns:

  • (Integer)

See Also:



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

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

#priomap ⇒ Structs::TcPrioQopt

Returns:

See Also:



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

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

#quantum ⇒ Integer

RR quantum

Returns:

  • (Integer)

See Also:



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

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

#rate_enable ⇒ Integer

Enable / disable rate limiting

Returns:

  • (Integer)

See Also:



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

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

#timer_slack ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#weights ⇒ Array<Integer>

Weights for each band

Returns:

  • (Array<Integer>)

See Also:



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

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