Class: Nl::Linux::Devlink::Messages::DoSbTcPoolBindGetReply

Inherits:
Genl::Message show all
Defined in:
nl-linux/generated/nl/linux/devlink.rb

Overview

Get shared buffer port-TC to pool bindings and threshold.

Constant Summary collapse

TYPE =
25
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Devlink
ATTRIBUTES =
Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_type sb_tc_index index])

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods inherited from Genl::Message

decode

Methods inherited from Raw::Message

#append_attribute, decode, #initialize

Methods included from StructuredPayload

#encode, #initialize

Constructor Details

This class inherits a constructor from Nl::Raw::Message

Instance Method Details

#bus_name ⇒ String

Returns:

  • (String)

See Also:



5368
# File 'nl-linux/generated/nl/linux/devlink.rb', line 5368

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

#dev_name ⇒ String

Returns:

  • (String)

See Also:



5372
# File 'nl-linux/generated/nl/linux/devlink.rb', line 5372

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

#index ⇒ Integer

Unique devlink instance index.

Returns:

  • (Integer)

See Also:



5394
# File 'nl-linux/generated/nl/linux/devlink.rb', line 5394

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

#port_index ⇒ Integer

Returns:

  • (Integer)

See Also:



5376
# File 'nl-linux/generated/nl/linux/devlink.rb', line 5376

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

#sb_index ⇒ Integer

Returns:

  • (Integer)

See Also:



5380
# File 'nl-linux/generated/nl/linux/devlink.rb', line 5380

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

#sb_pool_type ⇒ Integer

Known enum values are defined in Enums::SbPoolType.

Returns:

  • (Integer)

See Also:



5385
# File 'nl-linux/generated/nl/linux/devlink.rb', line 5385

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

#sb_tc_index ⇒ Integer

Returns:

  • (Integer)

See Also:



5389
# File 'nl-linux/generated/nl/linux/devlink.rb', line 5389

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