Class: Nl::Linux::Netdev::AttributeSets::PagePoolStats

Inherits:
AttributeSet
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/netdev.rb

Overview

Page pool statistics, see docs for struct page_pool_stats for information about individual statistics.

Defined Under Namespace

Classes: AllocEmpty, AllocFast, AllocRefill, AllocSlow, AllocSlowHighOrder, AllocWaive, Attribute, Info, RecycleCacheFull, RecycleCached, RecycleReleasedRefcnt, RecycleRing, RecycleRingFull

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:



615
# File 'nl-linux/generated/nl/linux/netdev.rb', line 615

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



621
# File 'nl-linux/generated/nl/linux/netdev.rb', line 621

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

Instance Method Details

#alloc_empty ⇒ Integer

Returns:

  • (Integer)

See Also:



580
# File 'nl-linux/generated/nl/linux/netdev.rb', line 580

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

#alloc_fast ⇒ Integer

Returns:

  • (Integer)

See Also:



568
# File 'nl-linux/generated/nl/linux/netdev.rb', line 568

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

#alloc_refill ⇒ Integer

Returns:

  • (Integer)

See Also:



584
# File 'nl-linux/generated/nl/linux/netdev.rb', line 584

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

#alloc_slow ⇒ Integer

Returns:

  • (Integer)

See Also:



572
# File 'nl-linux/generated/nl/linux/netdev.rb', line 572

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

#alloc_slow_high_order ⇒ Integer

Returns:

  • (Integer)

See Also:



576
# File 'nl-linux/generated/nl/linux/netdev.rb', line 576

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

#alloc_waive ⇒ Integer

Returns:

  • (Integer)

See Also:



588
# File 'nl-linux/generated/nl/linux/netdev.rb', line 588

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

#info ⇒ AttributeSets::PagePoolInfo

Page pool identifying information.

Returns:

See Also:



564
# File 'nl-linux/generated/nl/linux/netdev.rb', line 564

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

#recycle_cache_full ⇒ Integer

Returns:

  • (Integer)

See Also:



596
# File 'nl-linux/generated/nl/linux/netdev.rb', line 596

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

#recycle_cached ⇒ Integer

Returns:

  • (Integer)

See Also:



592
# File 'nl-linux/generated/nl/linux/netdev.rb', line 592

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

#recycle_released_refcnt ⇒ Integer

Returns:

  • (Integer)

See Also:



608
# File 'nl-linux/generated/nl/linux/netdev.rb', line 608

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

#recycle_ring ⇒ Integer

Returns:

  • (Integer)

See Also:



600
# File 'nl-linux/generated/nl/linux/netdev.rb', line 600

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

#recycle_ring_full ⇒ Integer

Returns:

  • (Integer)

See Also:



604
# File 'nl-linux/generated/nl/linux/netdev.rb', line 604

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