Class: Nl::Linux::Ethtool

Inherits:
Genl::Family show all
Defined in:
nl-linux/generated/nl/linux/ethtool.rb

Overview

Partial family for Ethtool Netlink.

Defined Under Namespace

Modules: AttributeSets, Enums, Flags, Messages, Notifications, Structs Classes: AsyncOperations

Constant Summary collapse

NAME =
"ethtool"
VERSION =
1

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Genl::Family

version

Class Method Details

.open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) ⇒ Ethtool .open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) {|family| ... } ⇒ Object

Overloads:

  • .open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) ⇒ Ethtool

    Parameters:

    • resolver (#call) (defaults to: ::Nl::Linux::DEFAULT_RESOLVER)
    • executor (Symbol, nil) (defaults to: nil)
    • notification_capacity (Integer, nil) (defaults to: DEFAULT_NOTIFICATION_CAPACITY)

    Returns:

  • .open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) {|family| ... } ⇒ Object

    Returns the result of the block.

    Parameters:

    • resolver (#call) (defaults to: ::Nl::Linux::DEFAULT_RESOLVER)
    • executor (Symbol, nil) (defaults to: nil)
    • notification_capacity (Integer, nil) (defaults to: DEFAULT_NOTIFICATION_CAPACITY)

    Yield Parameters:

    Returns:

    • (Object) —

      the result of the block



26
27
28
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 26

def self.open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY)
  super
end

Instance Method Details

#async(stream_capacity: nil) ⇒ AsyncOperations

Returns the asynchronous operation facade for this family.

Parameters:

  • stream_capacity (::Integer, nil) (defaults to: nil)

Returns:



12255
12256
12257
12258
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 12255

def async(stream_capacity: nil)
  return @async_operations ||= build_async_facade(AsyncOperations) if stream_capacity.nil?
  build_async_facade(AsyncOperations, stream_capacity:)
end

#do_cable_test_act(**args) ⇒ void

This method returns an undefined value.

Cable test.

Parameters:

  • args (Hash)

Options Hash (**args):

See Also:



10842
10843
10844
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10842

def do_cable_test_act(**args)
  exchange_message(:"do", Messages::DoCableTestActRequest, nil, args)
end

#do_cable_test_tdr_act(**args) ⇒ void

This method returns an undefined value.

Cable test TDR.

Parameters:

  • args (Hash)

Options Hash (**args):

See Also:



10851
10852
10853
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10851

def do_cable_test_tdr_act(**args)
  exchange_message(:"do", Messages::DoCableTestTdrActRequest, nil, args)
end

#do_channels_get(**args) ⇒ Messages::DoChannelsGetReply

Get channel params.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



10618
10619
10620
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10618

def do_channels_get(**args)
  exchange_message(:"do", Messages::DoChannelsGetRequest, Messages::DoChannelsGetReply, args)
end

#do_channels_set(**args) ⇒ void

This method returns an undefined value.

Set channel params.

Parameters:

  • args (Hash)

Options Hash (**args):

  • header (AttributeSets::Header, Hash<Symbol, Object>)
  • rx_max (Integer)
  • tx_max (Integer)
  • other_max (Integer)
  • combined_max (Integer)
  • rx_count (Integer)
  • tx_count (Integer)
  • other_count (Integer)
  • combined_count (Integer)

See Also:



10653
10654
10655
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10653

def do_channels_set(**args)
  exchange_message(:"do", Messages::DoChannelsSetRequest, nil, args)
end

#do_coalesce_get(**args) ⇒ Messages::DoCoalesceGetReply

Get coalesce params.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



10662
10663
10664
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10662

def do_coalesce_get(**args)
  exchange_message(:"do", Messages::DoCoalesceGetRequest, Messages::DoCoalesceGetReply, args)
end

#do_coalesce_set(**args) ⇒ void

This method returns an undefined value.

Set coalesce params.

Parameters:

  • args (Hash)

Options Hash (**args):

  • header (AttributeSets::Header, Hash<Symbol, Object>)
  • rx_usecs (Integer)
  • rx_max_frames (Integer)
  • rx_usecs_irq (Integer)
  • rx_max_frames_irq (Integer)
  • tx_usecs (Integer)
  • tx_max_frames (Integer)
  • tx_usecs_irq (Integer)
  • tx_max_frames_irq (Integer)
  • stats_block_usecs (Integer)
  • use_adaptive_rx (Integer)
  • use_adaptive_tx (Integer)
  • pkt_rate_low (Integer)
  • rx_usecs_low (Integer)
  • rx_max_frames_low (Integer)
  • tx_usecs_low (Integer)
  • tx_max_frames_low (Integer)
  • pkt_rate_high (Integer)
  • rx_usecs_high (Integer)
  • rx_max_frames_high (Integer)
  • tx_usecs_high (Integer)
  • tx_max_frames_high (Integer)
  • rate_sample_interval (Integer)
  • use_cqe_mode_tx (Integer)
  • use_cqe_mode_rx (Integer)
  • tx_aggr_max_bytes (Integer)
  • tx_aggr_max_frames (Integer)
  • tx_aggr_time_usecs (Integer)
  • rx_profile (AttributeSets::Profile, Hash<Symbol, Object>)
  • tx_profile (AttributeSets::Profile, Hash<Symbol, Object>)
  • rx_cqe_frames (Integer)
  • rx_cqe_nsecs (Integer)

See Also:



10720
10721
10722
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10720

def do_coalesce_set(**args)
  exchange_message(:"do", Messages::DoCoalesceSetRequest, nil, args)
end

#do_debug_get(**args) ⇒ Messages::DoDebugGetReply

Get debug message mask.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



10413
10414
10415
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10413

def do_debug_get(**args)
  exchange_message(:"do", Messages::DoDebugGetRequest, Messages::DoDebugGetReply, args)
end

#do_debug_set(**args) ⇒ void

This method returns an undefined value.

Set debug message mask.

Parameters:

  • args (Hash)

Options Hash (**args):

See Also:



10441
10442
10443
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10441

def do_debug_set(**args)
  exchange_message(:"do", Messages::DoDebugSetRequest, nil, args)
end

#do_eee_get(**args) ⇒ Messages::DoEeeGetReply

Get eee params.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



10770
10771
10772
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10770

def do_eee_get(**args)
  exchange_message(:"do", Messages::DoEeeGetRequest, Messages::DoEeeGetReply, args)
end

#do_eee_set(**args) ⇒ void

This method returns an undefined value.

Set eee params.

Parameters:

  • args (Hash)

Options Hash (**args):

See Also:



10803
10804
10805
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10803

def do_eee_set(**args)
  exchange_message(:"do", Messages::DoEeeSetRequest, nil, args)
end

#do_features_get(**args) ⇒ Messages::DoFeaturesGetReply

Get features.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



10488
10489
10490
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10488

def do_features_get(**args)
  exchange_message(:"do", Messages::DoFeaturesGetRequest, Messages::DoFeaturesGetReply, args)
end

#do_features_set(**args) ⇒ Messages::DoFeaturesSetReply

Set features.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



10519
10520
10521
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10519

def do_features_set(**args)
  exchange_message(:"do", Messages::DoFeaturesSetRequest, Messages::DoFeaturesSetReply, args)
end

#do_fec_get(**args) ⇒ Messages::DoFecGetReply

Get FEC params.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



10887
10888
10889
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10887

def do_fec_get(**args)
  exchange_message(:"do", Messages::DoFecGetRequest, Messages::DoFecGetReply, args)
end

#do_fec_set(**args) ⇒ void

This method returns an undefined value.

Set FEC params.

Parameters:

  • args (Hash)

Options Hash (**args):

See Also:



10918
10919
10920
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10918

def do_fec_set(**args)
  exchange_message(:"do", Messages::DoFecSetRequest, nil, args)
end

#do_linkinfo_get(**args) ⇒ Messages::DoLinkinfoGetReply

Get link info.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



10300
10301
10302
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10300

def do_linkinfo_get(**args)
  exchange_message(:"do", Messages::DoLinkinfoGetRequest, Messages::DoLinkinfoGetReply, args)
end

#do_linkinfo_set(**args) ⇒ void

This method returns an undefined value.

Set link info.

Parameters:

  • args (Hash)

Options Hash (**args):

  • header (AttributeSets::Header, Hash<Symbol, Object>)
  • port (Integer)
  • phyaddr (Integer)
  • tp_mdix (Integer)
  • tp_mdix_ctrl (Integer)
  • transceiver (Integer)

See Also:



10332
10333
10334
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10332

def do_linkinfo_set(**args)
  exchange_message(:"do", Messages::DoLinkinfoSetRequest, nil, args)
end

#do_linkmodes_get(**args) ⇒ Messages::DoLinkmodesGetReply

Get link modes.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



10341
10342
10343
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10341

def do_linkmodes_get(**args)
  exchange_message(:"do", Messages::DoLinkmodesGetRequest, Messages::DoLinkmodesGetReply, args)
end

#do_linkmodes_set(**args) ⇒ void

This method returns an undefined value.

Set link modes.

Parameters:

  • args (Hash)

Options Hash (**args):

See Also:



10377
10378
10379
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10377

def do_linkmodes_set(**args)
  exchange_message(:"do", Messages::DoLinkmodesSetRequest, nil, args)
end

#do_linkstate_get(**args) ⇒ Messages::DoLinkstateGetReply

Get link state.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



10386
10387
10388
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10386

def do_linkstate_get(**args)
  exchange_message(:"do", Messages::DoLinkstateGetRequest, Messages::DoLinkstateGetReply, args)
end

#do_mm_get(**args) ⇒ Messages::DoMmGetReply

Get MAC Merge configuration and state

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



11205
11206
11207
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11205

def do_mm_get(**args)
  exchange_message(:"do", Messages::DoMmGetRequest, Messages::DoMmGetReply, args)
end

#do_mm_set(**args) ⇒ void

This method returns an undefined value.

Set MAC Merge configuration

Parameters:

  • args (Hash)

Options Hash (**args):

  • header (AttributeSets::Header, Hash<Symbol, Object>)
  • pmac_enabled (Integer)
  • tx_enabled (Integer)
  • tx_min_frag_size (Integer)
  • verify_enabled (Integer)
  • verify_time (Integer)

See Also:



11237
11238
11239
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11237

def do_mm_set(**args)
  exchange_message(:"do", Messages::DoMmSetRequest, nil, args)
end

#do_module_eeprom_get(**args) ⇒ Messages::DoModuleEepromGetReply

Get module EEPROM params.

Parameters:

  • args (Hash)

Options Hash (**args):

  • header (AttributeSets::Header, Hash<Symbol, Object>)
  • offset (Integer)
  • length (Integer)
  • page (Integer)
  • bank (Integer)
  • i2c_address (Integer)

Returns:

See Also:



10932
10933
10934
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10932

def do_module_eeprom_get(**args)
  exchange_message(:"do", Messages::DoModuleEepromGetRequest, Messages::DoModuleEepromGetReply, args)
end

#do_module_fw_flash_act(**args) ⇒ void

This method returns an undefined value.

Flash transceiver module firmware.

Parameters:

  • args (Hash)

Options Hash (**args):

See Also:



11248
11249
11250
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11248

def do_module_fw_flash_act(**args)
  exchange_message(:"do", Messages::DoModuleFwFlashActRequest, nil, args)
end

#do_module_get(**args) ⇒ Messages::DoModuleGetReply

Get module params.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



11026
11027
11028
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11026

def do_module_get(**args)
  exchange_message(:"do", Messages::DoModuleGetRequest, Messages::DoModuleGetReply, args)
end

#do_module_set(**args) ⇒ void

This method returns an undefined value.

Set module params.

Parameters:

  • args (Hash)

Options Hash (**args):

See Also:



11055
11056
11057
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11055

def do_module_set(**args)
  exchange_message(:"do", Messages::DoModuleSetRequest, nil, args)
end

#do_mse_get(**args) ⇒ Messages::DoMseGetReply

Get PHY MSE measurement data and capabilities.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



11363
11364
11365
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11363

def do_mse_get(**args)
  exchange_message(:"do", Messages::DoMseGetRequest, Messages::DoMseGetReply, args)
end

#do_pause_get(**args) ⇒ Messages::DoPauseGetReply

Get pause params.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



10729
10730
10731
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10729

def do_pause_get(**args)
  exchange_message(:"do", Messages::DoPauseGetRequest, Messages::DoPauseGetReply, args)
end

#do_pause_set(**args) ⇒ void

This method returns an undefined value.

Set pause params.

Parameters:

  • args (Hash)

Options Hash (**args):

See Also:



10761
10762
10763
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10761

def do_pause_set(**args)
  exchange_message(:"do", Messages::DoPauseSetRequest, nil, args)
end

#do_phc_vclocks_get(**args) ⇒ Messages::DoPhcVclocksGetReply

Get PHC VCLOCKs.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



10999
11000
11001
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10999

def do_phc_vclocks_get(**args)
  exchange_message(:"do", Messages::DoPhcVclocksGetRequest, Messages::DoPhcVclocksGetReply, args)
end

#do_phy_get(**args) ⇒ Messages::DoPhyGetReply

Get PHY devices attached to an interface

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



11257
11258
11259
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11257

def do_phy_get(**args)
  exchange_message(:"do", Messages::DoPhyGetRequest, Messages::DoPhyGetReply, args)
end

#do_plca_get_cfg(**args) ⇒ Messages::DoPlcaGetCfgReply

Get PLCA params.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



11134
11135
11136
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11134

def do_plca_get_cfg(**args)
  exchange_message(:"do", Messages::DoPlcaGetCfgRequest, Messages::DoPlcaGetCfgReply, args)
end

#do_plca_get_status(**args) ⇒ Messages::DoPlcaGetStatusReply

Get PLCA status params.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



11178
11179
11180
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11178

def do_plca_get_status(**args)
  exchange_message(:"do", Messages::DoPlcaGetStatusRequest, Messages::DoPlcaGetStatusReply, args)
end

#do_plca_set_cfg(**args) ⇒ void

This method returns an undefined value.

Set PLCA params.

Parameters:

  • args (Hash)

Options Hash (**args):

  • header (AttributeSets::Header, Hash<Symbol, Object>)
  • version (Integer)
  • enabled (Integer)
  • status (Integer)
  • node_cnt (Integer)
  • node_id (Integer)
  • to_tmr (Integer)
  • burst_cnt (Integer)
  • burst_tmr (Integer)

See Also:



11169
11170
11171
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11169

def do_plca_set_cfg(**args)
  exchange_message(:"do", Messages::DoPlcaSetCfgRequest, nil, args)
end

#do_privflags_get(**args) ⇒ Messages::DoPrivflagsGetReply

Get device private flags.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



10528
10529
10530
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10528

def do_privflags_get(**args)
  exchange_message(:"do", Messages::DoPrivflagsGetRequest, Messages::DoPrivflagsGetReply, args)
end

#do_privflags_set(**args) ⇒ void

This method returns an undefined value.

Set device private flags.

Parameters:

  • args (Hash)

Options Hash (**args):

See Also:



10556
10557
10558
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10556

def do_privflags_set(**args)
  exchange_message(:"do", Messages::DoPrivflagsSetRequest, nil, args)
end

#do_pse_get(**args) ⇒ Messages::DoPseGetReply

Get Power Sourcing Equipment params.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



11064
11065
11066
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11064

def do_pse_get(**args)
  exchange_message(:"do", Messages::DoPseGetRequest, Messages::DoPseGetReply, args)
end

#do_pse_set(**args) ⇒ void

This method returns an undefined value.

Set Power Sourcing Equipment params.

Parameters:

  • args (Hash)

Options Hash (**args):

  • header (AttributeSets::Header, Hash<Symbol, Object>)
  • podl_pse_admin_control (Integer)
  • c33_pse_admin_control (Integer)
  • c33_pse_avail_pw_limit (Integer)
  • pse_prio (Integer)

See Also:



11095
11096
11097
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11095

def do_pse_set(**args)
  exchange_message(:"do", Messages::DoPseSetRequest, nil, args)
end

#do_rings_get(**args) ⇒ Messages::DoRingsGetReply

Get ring params.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



10565
10566
10567
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10565

def do_rings_get(**args)
  exchange_message(:"do", Messages::DoRingsGetRequest, Messages::DoRingsGetReply, args)
end

#do_rings_set(**args) ⇒ void

This method returns an undefined value.

Set ring params.

Parameters:

  • args (Hash)

Options Hash (**args):

  • header (AttributeSets::Header, Hash<Symbol, Object>)
  • rx_max (Integer)
  • rx_mini_max (Integer)
  • rx_jumbo_max (Integer)
  • tx_max (Integer)
  • rx (Integer)
  • rx_mini (Integer)
  • rx_jumbo (Integer)
  • tx (Integer)
  • rx_buf_len (Integer)
  • tcp_data_split (Integer) —

    Known enum values are defined in Nl::Linux::Ethtool::Enums::TcpDataSplit.

  • cqe_size (Integer)
  • tx_push (Integer)
  • rx_push (Integer)
  • tx_push_buf_len (Integer)
  • tx_push_buf_len_max (Integer)
  • hds_thresh (Integer)
  • hds_thresh_max (Integer)

See Also:



10609
10610
10611
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10609

def do_rings_set(**args)
  exchange_message(:"do", Messages::DoRingsSetRequest, nil, args)
end

#do_rss_create_act(**args) ⇒ Messages::DoRssCreateActReply

Create an RSS context.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



11344
11345
11346
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11344

def do_rss_create_act(**args)
  exchange_message(:"do", Messages::DoRssCreateActRequest, Messages::DoRssCreateActReply, args)
end

#do_rss_delete_act(**args) ⇒ void

This method returns an undefined value.

Delete an RSS context.

Parameters:

  • args (Hash)

Options Hash (**args):

See Also:



11354
11355
11356
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11354

def do_rss_delete_act(**args)
  exchange_message(:"do", Messages::DoRssDeleteActRequest, nil, args)
end

#do_rss_get(**args) ⇒ Messages::DoRssGetReply

Get RSS params.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



11105
11106
11107
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11105

def do_rss_get(**args)
  exchange_message(:"do", Messages::DoRssGetRequest, Messages::DoRssGetReply, args)
end

#do_rss_set(**args) ⇒ void

This method returns an undefined value.

Set RSS params.

Parameters:

  • args (Hash)

Options Hash (**args):

See Also:



11330
11331
11332
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11330

def do_rss_set(**args)
  exchange_message(:"do", Messages::DoRssSetRequest, nil, args)
end

#do_stats_get(**args) ⇒ Messages::DoStatsGetReply

Get statistics.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



10970
10971
10972
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10970

def do_stats_get(**args)
  exchange_message(:"do", Messages::DoStatsGetRequest, Messages::DoStatsGetReply, args)
end

#do_strset_get(**args) ⇒ Messages::DoStrsetGetReply

Get string set from the kernel.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



10269
10270
10271
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10269

def do_strset_get(**args)
  exchange_message(:"do", Messages::DoStrsetGetRequest, Messages::DoStrsetGetReply, args)
end

#do_tsconfig_get(**args) ⇒ Messages::DoTsconfigGetReply

Get hwtstamp config.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



11284
11285
11286
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11284

def do_tsconfig_get(**args)
  exchange_message(:"do", Messages::DoTsconfigGetRequest, Messages::DoTsconfigGetReply, args)
end

#do_tsconfig_set(**args) ⇒ Messages::DoTsconfigSetReply

Set hwtstamp config.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



11315
11316
11317
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11315

def do_tsconfig_set(**args)
  exchange_message(:"do", Messages::DoTsconfigSetRequest, Messages::DoTsconfigSetReply, args)
end

#do_tsinfo_get(**args) ⇒ Messages::DoTsinfoGetReply

Get tsinfo params.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



10813
10814
10815
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10813

def do_tsinfo_get(**args)
  exchange_message(:"do", Messages::DoTsinfoGetRequest, Messages::DoTsinfoGetReply, args)
end

#do_tunnel_info_get(**args) ⇒ Messages::DoTunnelInfoGetReply

Get tsinfo params.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



10860
10861
10862
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10860

def do_tunnel_info_get(**args)
  exchange_message(:"do", Messages::DoTunnelInfoGetRequest, Messages::DoTunnelInfoGetReply, args)
end

#do_wol_get(**args) ⇒ Messages::DoWolGetReply

Get WOL params.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



10450
10451
10452
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10450

def do_wol_get(**args)
  exchange_message(:"do", Messages::DoWolGetRequest, Messages::DoWolGetReply, args)
end

#do_wol_set(**args) ⇒ void

This method returns an undefined value.

Set WOL params.

Parameters:

  • args (Hash)

Options Hash (**args):

See Also:



10479
10480
10481
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10479

def do_wol_set(**args)
  exchange_message(:"do", Messages::DoWolSetRequest, nil, args)
end

#dump_channels_get(**args) ⇒ Array<Messages::DumpChannelsGetReply> #dump_channels_get(**args) {|reply| ... } ⇒ void

Get channel params.

Overloads:

See Also:



10636
10637
10638
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10636

def dump_channels_get(**args, &block)
  exchange_message(:"dump", Messages::DumpChannelsGetRequest, Messages::DumpChannelsGetReply, args, &block)
end

#dump_coalesce_get(**args) ⇒ Array<Messages::DumpCoalesceGetReply> #dump_coalesce_get(**args) {|reply| ... } ⇒ void

Get coalesce params.

Overloads:

See Also:



10680
10681
10682
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10680

def dump_coalesce_get(**args, &block)
  exchange_message(:"dump", Messages::DumpCoalesceGetRequest, Messages::DumpCoalesceGetReply, args, &block)
end

#dump_debug_get(**args) ⇒ Array<Messages::DumpDebugGetReply> #dump_debug_get(**args) {|reply| ... } ⇒ void

Get debug message mask.

Overloads:

See Also:



10431
10432
10433
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10431

def dump_debug_get(**args, &block)
  exchange_message(:"dump", Messages::DumpDebugGetRequest, Messages::DumpDebugGetReply, args, &block)
end

#dump_eee_get(**args) ⇒ Array<Messages::DumpEeeGetReply> #dump_eee_get(**args) {|reply| ... } ⇒ void

Get eee params.

Overloads:

See Also:



10788
10789
10790
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10788

def dump_eee_get(**args, &block)
  exchange_message(:"dump", Messages::DumpEeeGetRequest, Messages::DumpEeeGetReply, args, &block)
end

#dump_features_get(**args) ⇒ Array<Messages::DumpFeaturesGetReply> #dump_features_get(**args) {|reply| ... } ⇒ void

Get features.

Overloads:

See Also:



10506
10507
10508
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10506

def dump_features_get(**args, &block)
  exchange_message(:"dump", Messages::DumpFeaturesGetRequest, Messages::DumpFeaturesGetReply, args, &block)
end

#dump_fec_get(**args) ⇒ Array<Messages::DumpFecGetReply> #dump_fec_get(**args) {|reply| ... } ⇒ void

Get FEC params.

Overloads:

See Also:



10905
10906
10907
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10905

def dump_fec_get(**args, &block)
  exchange_message(:"dump", Messages::DumpFecGetRequest, Messages::DumpFecGetReply, args, &block)
end

#dump_linkinfo_get(**args) ⇒ Array<Messages::DumpLinkinfoGetReply> #dump_linkinfo_get(**args) {|reply| ... } ⇒ void

Get link info.

Overloads:

See Also:



10318
10319
10320
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10318

def dump_linkinfo_get(**args, &block)
  exchange_message(:"dump", Messages::DumpLinkinfoGetRequest, Messages::DumpLinkinfoGetReply, args, &block)
end

#dump_linkmodes_get(**args) ⇒ Array<Messages::DumpLinkmodesGetReply> #dump_linkmodes_get(**args) {|reply| ... } ⇒ void

Get link modes.

Overloads:

See Also:



10359
10360
10361
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10359

def dump_linkmodes_get(**args, &block)
  exchange_message(:"dump", Messages::DumpLinkmodesGetRequest, Messages::DumpLinkmodesGetReply, args, &block)
end

#dump_linkstate_get(**args) ⇒ Array<Messages::DumpLinkstateGetReply> #dump_linkstate_get(**args) {|reply| ... } ⇒ void

Get link state.

Overloads:

See Also:



10404
10405
10406
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10404

def dump_linkstate_get(**args, &block)
  exchange_message(:"dump", Messages::DumpLinkstateGetRequest, Messages::DumpLinkstateGetReply, args, &block)
end

#dump_mm_get(**args) ⇒ Array<Messages::DumpMmGetReply> #dump_mm_get(**args) {|reply| ... } ⇒ void

Get MAC Merge configuration and state

Overloads:

See Also:



11223
11224
11225
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11223

def dump_mm_get(**args, &block)
  exchange_message(:"dump", Messages::DumpMmGetRequest, Messages::DumpMmGetReply, args, &block)
end

#dump_module_eeprom_get(**args) ⇒ Array<Messages::DumpModuleEepromGetReply> #dump_module_eeprom_get(**args) {|reply| ... } ⇒ void

Get module EEPROM params.

Overloads:

  • #dump_module_eeprom_get(**args) ⇒ Array<Messages::DumpModuleEepromGetReply>

    Returns an array when no block is given.

    Parameters:

    • args (Hash)

    Options Hash (**args):

    • header (AttributeSets::Header, Hash<Symbol, Object>)
    • offset (Integer)
    • length (Integer)
    • page (Integer)
    • bank (Integer)
    • i2c_address (Integer)

    Returns:

  • #dump_module_eeprom_get(**args) {|reply| ... } ⇒ void

    This method returns an undefined value.

    Yields each reply when a block is given.

    Parameters:

    • args (Hash)

    Options Hash (**args):

    • header (AttributeSets::Header, Hash<Symbol, Object>)
    • offset (Integer)
    • length (Integer)
    • page (Integer)
    • bank (Integer)
    • i2c_address (Integer)

    Yield Parameters:

See Also:



10960
10961
10962
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10960

def dump_module_eeprom_get(**args, &block)
  exchange_message(:"dump", Messages::DumpModuleEepromGetRequest, Messages::DumpModuleEepromGetReply, args, &block)
end

#dump_module_get(**args) ⇒ Array<Messages::DumpModuleGetReply> #dump_module_get(**args) {|reply| ... } ⇒ void

Get module params.

Overloads:

See Also:



11044
11045
11046
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11044

def dump_module_get(**args, &block)
  exchange_message(:"dump", Messages::DumpModuleGetRequest, Messages::DumpModuleGetReply, args, &block)
end

#dump_mse_get(**args) ⇒ Array<Messages::DumpMseGetReply> #dump_mse_get(**args) {|reply| ... } ⇒ void

Get PHY MSE measurement data and capabilities.

Overloads:

See Also:



11381
11382
11383
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11381

def dump_mse_get(**args, &block)
  exchange_message(:"dump", Messages::DumpMseGetRequest, Messages::DumpMseGetReply, args, &block)
end

#dump_pause_get(**args) ⇒ Array<Messages::DumpPauseGetReply> #dump_pause_get(**args) {|reply| ... } ⇒ void

Get pause params.

Overloads:

See Also:



10747
10748
10749
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10747

def dump_pause_get(**args, &block)
  exchange_message(:"dump", Messages::DumpPauseGetRequest, Messages::DumpPauseGetReply, args, &block)
end

#dump_phc_vclocks_get(**args) ⇒ Array<Messages::DumpPhcVclocksGetReply> #dump_phc_vclocks_get(**args) {|reply| ... } ⇒ void

Get PHC VCLOCKs.

Overloads:

See Also:



11017
11018
11019
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11017

def dump_phc_vclocks_get(**args, &block)
  exchange_message(:"dump", Messages::DumpPhcVclocksGetRequest, Messages::DumpPhcVclocksGetReply, args, &block)
end

#dump_phy_get(**args) ⇒ Array<Messages::DumpPhyGetReply> #dump_phy_get(**args) {|reply| ... } ⇒ void

Get PHY devices attached to an interface

Overloads:

See Also:



11275
11276
11277
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11275

def dump_phy_get(**args, &block)
  exchange_message(:"dump", Messages::DumpPhyGetRequest, Messages::DumpPhyGetReply, args, &block)
end

#dump_plca_get_cfg(**args) ⇒ Array<Messages::DumpPlcaGetCfgReply> #dump_plca_get_cfg(**args) {|reply| ... } ⇒ void

Get PLCA params.

Overloads:

See Also:



11152
11153
11154
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11152

def dump_plca_get_cfg(**args, &block)
  exchange_message(:"dump", Messages::DumpPlcaGetCfgRequest, Messages::DumpPlcaGetCfgReply, args, &block)
end

#dump_plca_get_status(**args) ⇒ Array<Messages::DumpPlcaGetStatusReply> #dump_plca_get_status(**args) {|reply| ... } ⇒ void

Get PLCA status params.

Overloads:

See Also:



11196
11197
11198
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11196

def dump_plca_get_status(**args, &block)
  exchange_message(:"dump", Messages::DumpPlcaGetStatusRequest, Messages::DumpPlcaGetStatusReply, args, &block)
end

#dump_privflags_get(**args) ⇒ Array<Messages::DumpPrivflagsGetReply> #dump_privflags_get(**args) {|reply| ... } ⇒ void

Get device private flags.

Overloads:

See Also:



10546
10547
10548
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10546

def dump_privflags_get(**args, &block)
  exchange_message(:"dump", Messages::DumpPrivflagsGetRequest, Messages::DumpPrivflagsGetReply, args, &block)
end

#dump_pse_get(**args) ⇒ Array<Messages::DumpPseGetReply> #dump_pse_get(**args) {|reply| ... } ⇒ void

Get Power Sourcing Equipment params.

Overloads:

See Also:



11082
11083
11084
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11082

def dump_pse_get(**args, &block)
  exchange_message(:"dump", Messages::DumpPseGetRequest, Messages::DumpPseGetReply, args, &block)
end

#dump_rings_get(**args) ⇒ Array<Messages::DumpRingsGetReply> #dump_rings_get(**args) {|reply| ... } ⇒ void

Get ring params.

Overloads:

See Also:



10583
10584
10585
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10583

def dump_rings_get(**args, &block)
  exchange_message(:"dump", Messages::DumpRingsGetRequest, Messages::DumpRingsGetReply, args, &block)
end

#dump_rss_get(**args) ⇒ Array<Messages::DumpRssGetReply> #dump_rss_get(**args) {|reply| ... } ⇒ void

Get RSS params.

Overloads:

See Also:



11125
11126
11127
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11125

def dump_rss_get(**args, &block)
  exchange_message(:"dump", Messages::DumpRssGetRequest, Messages::DumpRssGetReply, args, &block)
end

#dump_stats_get(**args) ⇒ Array<Messages::DumpStatsGetReply> #dump_stats_get(**args) {|reply| ... } ⇒ void

Get statistics.

Overloads:

See Also:



10990
10991
10992
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10990

def dump_stats_get(**args, &block)
  exchange_message(:"dump", Messages::DumpStatsGetRequest, Messages::DumpStatsGetReply, args, &block)
end

#dump_strset_get(**args) ⇒ Array<Messages::DumpStrsetGetReply> #dump_strset_get(**args) {|reply| ... } ⇒ void

Get string set from the kernel.

Overloads:

See Also:



10291
10292
10293
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10291

def dump_strset_get(**args, &block)
  exchange_message(:"dump", Messages::DumpStrsetGetRequest, Messages::DumpStrsetGetReply, args, &block)
end

#dump_tsconfig_get(**args) ⇒ Array<Messages::DumpTsconfigGetReply> #dump_tsconfig_get(**args) {|reply| ... } ⇒ void

Get hwtstamp config.

Overloads:

See Also:



11302
11303
11304
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 11302

def dump_tsconfig_get(**args, &block)
  exchange_message(:"dump", Messages::DumpTsconfigGetRequest, Messages::DumpTsconfigGetReply, args, &block)
end

#dump_tsinfo_get(**args) ⇒ Array<Messages::DumpTsinfoGetReply> #dump_tsinfo_get(**args) {|reply| ... } ⇒ void

Get tsinfo params.

Overloads:

See Also:



10833
10834
10835
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10833

def dump_tsinfo_get(**args, &block)
  exchange_message(:"dump", Messages::DumpTsinfoGetRequest, Messages::DumpTsinfoGetReply, args, &block)
end

#dump_tunnel_info_get(**args) ⇒ Array<Messages::DumpTunnelInfoGetReply> #dump_tunnel_info_get(**args) {|reply| ... } ⇒ void

Get tsinfo params.

Overloads:

See Also:



10878
10879
10880
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10878

def dump_tunnel_info_get(**args, &block)
  exchange_message(:"dump", Messages::DumpTunnelInfoGetRequest, Messages::DumpTunnelInfoGetReply, args, &block)
end

#dump_wol_get(**args) ⇒ Array<Messages::DumpWolGetReply> #dump_wol_get(**args) {|reply| ... } ⇒ void

Get WOL params.

Overloads:

See Also:



10468
10469
10470
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10468

def dump_wol_get(**args, &block)
  exchange_message(:"dump", Messages::DumpWolGetRequest, Messages::DumpWolGetReply, args, &block)
end

#subscribe(*groups) ⇒ self

Parameters:

  • groups (Array<:monitor>)

Returns:

  • (self)


12262
12263
12264
12265
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 12262

def subscribe(*groups) = super
# @rbs (*(:monitor) groups) -> self
# @param [Array<:monitor>] groups
# @return [self]

#unsubscribe(*groups) ⇒ self

Parameters:

  • groups (Array<:monitor>)

Returns:

  • (self)


12266
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 12266

def unsubscribe(*groups) = super