nl-linux 0.2.3 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rspec +3 -0
- data/CHANGELOG.md +8 -0
- data/NLSPEC_VERSION +1 -1
- data/Rakefile +13 -3
- data/generated/nl/linux/binder.rb +80 -0
- data/generated/nl/linux/conntrack.rb +39 -2
- data/generated/nl/linux/dev_energymodel.rb +106 -0
- data/generated/nl/linux/devlink.rb +1478 -200
- data/generated/nl/linux/dpll.rb +790 -66
- data/generated/nl/linux/drm_ras.rb +309 -0
- data/generated/nl/linux/ethtool.rb +1597 -248
- data/generated/nl/linux/fou.rb +82 -13
- data/generated/nl/linux/handshake.rb +93 -1
- data/generated/nl/linux/lockd.rb +50 -0
- data/generated/nl/linux/mptcp_pm.rb +159 -0
- data/generated/nl/linux/net_shaper.rb +124 -1
- data/generated/nl/linux/netdev.rb +515 -6
- data/generated/nl/linux/nfsd.rb +878 -10
- data/generated/nl/linux/nftables.rb +2134 -179
- data/generated/nl/linux/nl80211.rb +81 -22
- data/generated/nl/linux/nlctrl.rb +59 -8
- data/generated/nl/linux/ovpn.rb +207 -12
- data/generated/nl/linux/ovs_datapath.rb +59 -10
- data/generated/nl/linux/ovs_flow.rb +63 -20
- data/generated/nl/linux/ovs_packet.rb +277 -0
- data/generated/nl/linux/ovs_vport.rb +59 -10
- data/generated/nl/linux/psp.rb +453 -6
- data/generated/nl/linux/rt_addr.rb +69 -14
- data/generated/nl/linux/rt_link.rb +452 -112
- data/generated/nl/linux/rt_neigh.rb +227 -16
- data/generated/nl/linux/rt_route.rb +92 -49
- data/generated/nl/linux/rt_rule.rb +300 -11
- data/generated/nl/linux/sunrpc_cache.rb +423 -0
- data/generated/nl/linux/tc.rb +168 -54
- data/generated/nl/linux/tcp_metrics.rb +69 -12
- data/generated/nl/linux/team.rb +80 -0
- data/generated/nl/linux/wireguard.rb +99 -7
- data/generated/nl/linux.rb +3 -0
- data/lib/nl/linux/version.rb +1 -1
- data/linux/devlink.yaml +92 -2
- data/linux/dpll.yaml +94 -5
- data/linux/drm_ras.yaml +126 -0
- data/linux/ethtool.yaml +21 -4
- data/linux/handshake.yaml +9 -0
- data/linux/mptcp_pm.yaml +1 -0
- data/linux/net_shaper.yaml +13 -6
- data/linux/netdev.yaml +61 -2
- data/linux/nfsd.yaml +303 -2
- data/linux/nftables.yaml +640 -49
- data/linux/ovpn.yaml +26 -1
- data/linux/ovs_packet.yaml +130 -0
- data/linux/psp.yaml +80 -3
- data/linux/rt-link.yaml +70 -24
- data/linux/sunrpc_cache.yaml +149 -0
- data/linux/tc.yaml +3 -0
- metadata +17 -9
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
# SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
|
|
2
|
+
#
|
|
3
|
+
# This file is based on Documentation/netlink/specs/devlink.yaml from Linux v7.2.
|
|
2
4
|
#--
|
|
3
5
|
# frozen_string_literal: true
|
|
4
6
|
# rbs_inline: enabled
|
|
@@ -9,6 +11,7 @@ module Nl; module Linux
|
|
|
9
11
|
class Devlink < ::Nl::Family
|
|
10
12
|
NAME = "devlink"
|
|
11
13
|
PROTOCOL = Ractor.make_shareable(::Nl::Protocols::Genl.new("devlink"))
|
|
14
|
+
MCAST_GROUPS = Ractor.make_shareable({}) #: Hash[::Symbol, ::Nl::McastGroup]
|
|
12
15
|
module Structs
|
|
13
16
|
end
|
|
14
17
|
module AttributeSets
|
|
@@ -861,10 +864,20 @@ class Devlink < ::Nl::Family
|
|
|
861
864
|
NAME = :"param_reset_default"
|
|
862
865
|
DATATYPE = ::Nl::Protocols::Genl::DataTypes::Flag.new
|
|
863
866
|
end
|
|
867
|
+
class Index < Attribute
|
|
868
|
+
TYPE = 184
|
|
869
|
+
NAME = :"index"
|
|
870
|
+
DATATYPE = ::Nl::Protocols::Genl::DataTypes::Scalar.new(::Nl::Endian::Host::UINT, check: -> { raise ArgumentError, "Value #{it.inspect} is greater than maximum 4294967295" unless it <= 4294967295 })
|
|
871
|
+
end
|
|
872
|
+
class ResourceScopeMask < Attribute
|
|
873
|
+
TYPE = 185
|
|
874
|
+
NAME = :"resource_scope_mask"
|
|
875
|
+
DATATYPE = ::Nl::Protocols::Genl::DataTypes::Scalar.new(::Nl::Endian::Host::U32, check: nil)
|
|
876
|
+
end
|
|
864
877
|
# :nodoc:
|
|
865
|
-
BY_NAME = Ractor.make_shareable({:"bus_name" => BusName, :"dev_name" => DevName, :"port_index" => PortIndex, :"port_type" => PortType, :"port_desired_type" => PortDesiredType, :"port_netdev_ifindex" => PortNetdevIfindex, :"port_netdev_name" => PortNetdevName, :"port_ibdev_name" => PortIbdevName, :"port_split_count" => PortSplitCount, :"port_split_group" => PortSplitGroup, :"sb_index" => SbIndex, :"sb_size" => SbSize, :"sb_ingress_pool_count" => SbIngressPoolCount, :"sb_egress_pool_count" => SbEgressPoolCount, :"sb_ingress_tc_count" => SbIngressTcCount, :"sb_egress_tc_count" => SbEgressTcCount, :"sb_pool_index" => SbPoolIndex, :"sb_pool_type" => SbPoolType, :"sb_pool_size" => SbPoolSize, :"sb_pool_threshold_type" => SbPoolThresholdType, :"sb_threshold" => SbThreshold, :"sb_tc_index" => SbTcIndex, :"sb_occ_cur" => SbOccCur, :"sb_occ_max" => SbOccMax, :"eswitch_mode" => EswitchMode, :"eswitch_inline_mode" => EswitchInlineMode, :"dpipe_tables" => DpipeTables, :"dpipe_table" => DpipeTable, :"dpipe_table_name" => DpipeTableName, :"dpipe_table_size" => DpipeTableSize, :"dpipe_table_matches" => DpipeTableMatches, :"dpipe_table_actions" => DpipeTableActions, :"dpipe_table_counters_enabled" => DpipeTableCountersEnabled, :"dpipe_entries" => DpipeEntries, :"dpipe_entry" => DpipeEntry, :"dpipe_entry_index" => DpipeEntryIndex, :"dpipe_entry_match_values" => DpipeEntryMatchValues, :"dpipe_entry_action_values" => DpipeEntryActionValues, :"dpipe_entry_counter" => DpipeEntryCounter, :"dpipe_match" => DpipeMatch, :"dpipe_match_value" => DpipeMatchValue, :"dpipe_match_type" => DpipeMatchType, :"dpipe_action" => DpipeAction, :"dpipe_action_value" => DpipeActionValue, :"dpipe_action_type" => DpipeActionType, :"dpipe_value" => DpipeValue, :"dpipe_value_mask" => DpipeValueMask, :"dpipe_value_mapping" => DpipeValueMapping, :"dpipe_headers" => DpipeHeaders, :"dpipe_header" => DpipeHeader, :"dpipe_header_name" => DpipeHeaderName, :"dpipe_header_id" => DpipeHeaderId, :"dpipe_header_fields" => DpipeHeaderFields, :"dpipe_header_global" => DpipeHeaderGlobal, :"dpipe_header_index" => DpipeHeaderIndex, :"dpipe_field" => DpipeField, :"dpipe_field_name" => DpipeFieldName, :"dpipe_field_id" => DpipeFieldId, :"dpipe_field_bitwidth" => DpipeFieldBitwidth, :"dpipe_field_mapping_type" => DpipeFieldMappingType, :"pad" => Pad, :"eswitch_encap_mode" => EswitchEncapMode, :"resource_list" => ResourceList, :"resource" => Resource, :"resource_name" => ResourceName, :"resource_id" => ResourceId, :"resource_size" => ResourceSize, :"resource_size_new" => ResourceSizeNew, :"resource_size_valid" => ResourceSizeValid, :"resource_size_min" => ResourceSizeMin, :"resource_size_max" => ResourceSizeMax, :"resource_size_gran" => ResourceSizeGran, :"resource_unit" => ResourceUnit, :"resource_occ" => ResourceOcc, :"dpipe_table_resource_id" => DpipeTableResourceId, :"dpipe_table_resource_units" => DpipeTableResourceUnits, :"port_flavour" => PortFlavour, :"port_number" => PortNumber, :"port_split_subport_number" => PortSplitSubportNumber, :"param" => Param, :"param_name" => ParamName, :"param_generic" => ParamGeneric, :"param_type" => ParamType, :"param_value_cmode" => ParamValueCmode, :"region_name" => RegionName, :"region_size" => RegionSize, :"region_snapshots" => RegionSnapshots, :"region_snapshot" => RegionSnapshot, :"region_snapshot_id" => RegionSnapshotId, :"region_chunks" => RegionChunks, :"region_chunk" => RegionChunk, :"region_chunk_data" => RegionChunkData, :"region_chunk_addr" => RegionChunkAddr, :"region_chunk_len" => RegionChunkLen, :"info_driver_name" => InfoDriverName, :"info_serial_number" => InfoSerialNumber, :"info_version_fixed" => InfoVersionFixed, :"info_version_running" => InfoVersionRunning, :"info_version_stored" => InfoVersionStored, :"info_version_name" => InfoVersionName, :"info_version_value" => InfoVersionValue, :"sb_pool_cell_size" => SbPoolCellSize, :"fmsg" => Fmsg, :"fmsg_obj_nest_start" => FmsgObjNestStart, :"fmsg_pair_nest_start" => FmsgPairNestStart, :"fmsg_arr_nest_start" => FmsgArrNestStart, :"fmsg_nest_end" => FmsgNestEnd, :"fmsg_obj_name" => FmsgObjName, :"fmsg_obj_value_type" => FmsgObjValueType, :"health_reporter" => HealthReporter, :"health_reporter_name" => HealthReporterName, :"health_reporter_state" => HealthReporterState, :"health_reporter_err_count" => HealthReporterErrCount, :"health_reporter_recover_count" => HealthReporterRecoverCount, :"health_reporter_dump_ts" => HealthReporterDumpTs, :"health_reporter_graceful_period" => HealthReporterGracefulPeriod, :"health_reporter_auto_recover" => HealthReporterAutoRecover, :"flash_update_file_name" => FlashUpdateFileName, :"flash_update_component" => FlashUpdateComponent, :"flash_update_status_msg" => FlashUpdateStatusMsg, :"flash_update_status_done" => FlashUpdateStatusDone, :"flash_update_status_total" => FlashUpdateStatusTotal, :"port_pci_pf_number" => PortPciPfNumber, :"port_pci_vf_number" => PortPciVfNumber, :"stats" => Stats, :"trap_name" => TrapName, :"trap_action" => TrapAction, :"trap_type" => TrapType, :"trap_generic" => TrapGeneric, :"trap_metadata" => TrapMetadata, :"trap_group_name" => TrapGroupName, :"reload_failed" => ReloadFailed, :"health_reporter_dump_ts_ns" => HealthReporterDumpTsNs, :"netns_fd" => NetnsFd, :"netns_pid" => NetnsPid, :"netns_id" => NetnsId, :"health_reporter_auto_dump" => HealthReporterAutoDump, :"trap_policer_id" => TrapPolicerId, :"trap_policer_rate" => TrapPolicerRate, :"trap_policer_burst" => TrapPolicerBurst, :"port_function" => PortFunction, :"info_board_serial_number" => InfoBoardSerialNumber, :"port_lanes" => PortLanes, :"port_splittable" => PortSplittable, :"port_external" => PortExternal, :"port_controller_number" => PortControllerNumber, :"flash_update_status_timeout" => FlashUpdateStatusTimeout, :"flash_update_overwrite_mask" => FlashUpdateOverwriteMask, :"reload_action" => ReloadAction, :"reload_actions_performed" => ReloadActionsPerformed, :"reload_limits" => ReloadLimits, :"dev_stats" => DevStats, :"reload_stats" => ReloadStats, :"reload_stats_entry" => ReloadStatsEntry, :"reload_stats_limit" => ReloadStatsLimit, :"reload_stats_value" => ReloadStatsValue, :"remote_reload_stats" => RemoteReloadStats, :"reload_action_info" => ReloadActionInfo, :"reload_action_stats" => ReloadActionStats, :"port_pci_sf_number" => PortPciSfNumber, :"rate_type" => RateType, :"rate_tx_share" => RateTxShare, :"rate_tx_max" => RateTxMax, :"rate_node_name" => RateNodeName, :"rate_parent_node_name" => RateParentNodeName, :"region_max_snapshots" => RegionMaxSnapshots, :"linecard_index" => LinecardIndex, :"linecard_state" => LinecardState, :"linecard_type" => LinecardType, :"linecard_supported_types" => LinecardSupportedTypes, :"selftests" => Selftests, :"rate_tx_priority" => RateTxPriority, :"rate_tx_weight" => RateTxWeight, :"region_direct" => RegionDirect, :"rate_tc_bws" => RateTcBws, :"health_reporter_burst_period" => HealthReporterBurstPeriod, :"param_reset_default" => ParamResetDefault}) #: Hash[::Symbol, Attribute]
|
|
878
|
+
BY_NAME = Ractor.make_shareable({:"bus_name" => BusName, :"dev_name" => DevName, :"port_index" => PortIndex, :"port_type" => PortType, :"port_desired_type" => PortDesiredType, :"port_netdev_ifindex" => PortNetdevIfindex, :"port_netdev_name" => PortNetdevName, :"port_ibdev_name" => PortIbdevName, :"port_split_count" => PortSplitCount, :"port_split_group" => PortSplitGroup, :"sb_index" => SbIndex, :"sb_size" => SbSize, :"sb_ingress_pool_count" => SbIngressPoolCount, :"sb_egress_pool_count" => SbEgressPoolCount, :"sb_ingress_tc_count" => SbIngressTcCount, :"sb_egress_tc_count" => SbEgressTcCount, :"sb_pool_index" => SbPoolIndex, :"sb_pool_type" => SbPoolType, :"sb_pool_size" => SbPoolSize, :"sb_pool_threshold_type" => SbPoolThresholdType, :"sb_threshold" => SbThreshold, :"sb_tc_index" => SbTcIndex, :"sb_occ_cur" => SbOccCur, :"sb_occ_max" => SbOccMax, :"eswitch_mode" => EswitchMode, :"eswitch_inline_mode" => EswitchInlineMode, :"dpipe_tables" => DpipeTables, :"dpipe_table" => DpipeTable, :"dpipe_table_name" => DpipeTableName, :"dpipe_table_size" => DpipeTableSize, :"dpipe_table_matches" => DpipeTableMatches, :"dpipe_table_actions" => DpipeTableActions, :"dpipe_table_counters_enabled" => DpipeTableCountersEnabled, :"dpipe_entries" => DpipeEntries, :"dpipe_entry" => DpipeEntry, :"dpipe_entry_index" => DpipeEntryIndex, :"dpipe_entry_match_values" => DpipeEntryMatchValues, :"dpipe_entry_action_values" => DpipeEntryActionValues, :"dpipe_entry_counter" => DpipeEntryCounter, :"dpipe_match" => DpipeMatch, :"dpipe_match_value" => DpipeMatchValue, :"dpipe_match_type" => DpipeMatchType, :"dpipe_action" => DpipeAction, :"dpipe_action_value" => DpipeActionValue, :"dpipe_action_type" => DpipeActionType, :"dpipe_value" => DpipeValue, :"dpipe_value_mask" => DpipeValueMask, :"dpipe_value_mapping" => DpipeValueMapping, :"dpipe_headers" => DpipeHeaders, :"dpipe_header" => DpipeHeader, :"dpipe_header_name" => DpipeHeaderName, :"dpipe_header_id" => DpipeHeaderId, :"dpipe_header_fields" => DpipeHeaderFields, :"dpipe_header_global" => DpipeHeaderGlobal, :"dpipe_header_index" => DpipeHeaderIndex, :"dpipe_field" => DpipeField, :"dpipe_field_name" => DpipeFieldName, :"dpipe_field_id" => DpipeFieldId, :"dpipe_field_bitwidth" => DpipeFieldBitwidth, :"dpipe_field_mapping_type" => DpipeFieldMappingType, :"pad" => Pad, :"eswitch_encap_mode" => EswitchEncapMode, :"resource_list" => ResourceList, :"resource" => Resource, :"resource_name" => ResourceName, :"resource_id" => ResourceId, :"resource_size" => ResourceSize, :"resource_size_new" => ResourceSizeNew, :"resource_size_valid" => ResourceSizeValid, :"resource_size_min" => ResourceSizeMin, :"resource_size_max" => ResourceSizeMax, :"resource_size_gran" => ResourceSizeGran, :"resource_unit" => ResourceUnit, :"resource_occ" => ResourceOcc, :"dpipe_table_resource_id" => DpipeTableResourceId, :"dpipe_table_resource_units" => DpipeTableResourceUnits, :"port_flavour" => PortFlavour, :"port_number" => PortNumber, :"port_split_subport_number" => PortSplitSubportNumber, :"param" => Param, :"param_name" => ParamName, :"param_generic" => ParamGeneric, :"param_type" => ParamType, :"param_value_cmode" => ParamValueCmode, :"region_name" => RegionName, :"region_size" => RegionSize, :"region_snapshots" => RegionSnapshots, :"region_snapshot" => RegionSnapshot, :"region_snapshot_id" => RegionSnapshotId, :"region_chunks" => RegionChunks, :"region_chunk" => RegionChunk, :"region_chunk_data" => RegionChunkData, :"region_chunk_addr" => RegionChunkAddr, :"region_chunk_len" => RegionChunkLen, :"info_driver_name" => InfoDriverName, :"info_serial_number" => InfoSerialNumber, :"info_version_fixed" => InfoVersionFixed, :"info_version_running" => InfoVersionRunning, :"info_version_stored" => InfoVersionStored, :"info_version_name" => InfoVersionName, :"info_version_value" => InfoVersionValue, :"sb_pool_cell_size" => SbPoolCellSize, :"fmsg" => Fmsg, :"fmsg_obj_nest_start" => FmsgObjNestStart, :"fmsg_pair_nest_start" => FmsgPairNestStart, :"fmsg_arr_nest_start" => FmsgArrNestStart, :"fmsg_nest_end" => FmsgNestEnd, :"fmsg_obj_name" => FmsgObjName, :"fmsg_obj_value_type" => FmsgObjValueType, :"health_reporter" => HealthReporter, :"health_reporter_name" => HealthReporterName, :"health_reporter_state" => HealthReporterState, :"health_reporter_err_count" => HealthReporterErrCount, :"health_reporter_recover_count" => HealthReporterRecoverCount, :"health_reporter_dump_ts" => HealthReporterDumpTs, :"health_reporter_graceful_period" => HealthReporterGracefulPeriod, :"health_reporter_auto_recover" => HealthReporterAutoRecover, :"flash_update_file_name" => FlashUpdateFileName, :"flash_update_component" => FlashUpdateComponent, :"flash_update_status_msg" => FlashUpdateStatusMsg, :"flash_update_status_done" => FlashUpdateStatusDone, :"flash_update_status_total" => FlashUpdateStatusTotal, :"port_pci_pf_number" => PortPciPfNumber, :"port_pci_vf_number" => PortPciVfNumber, :"stats" => Stats, :"trap_name" => TrapName, :"trap_action" => TrapAction, :"trap_type" => TrapType, :"trap_generic" => TrapGeneric, :"trap_metadata" => TrapMetadata, :"trap_group_name" => TrapGroupName, :"reload_failed" => ReloadFailed, :"health_reporter_dump_ts_ns" => HealthReporterDumpTsNs, :"netns_fd" => NetnsFd, :"netns_pid" => NetnsPid, :"netns_id" => NetnsId, :"health_reporter_auto_dump" => HealthReporterAutoDump, :"trap_policer_id" => TrapPolicerId, :"trap_policer_rate" => TrapPolicerRate, :"trap_policer_burst" => TrapPolicerBurst, :"port_function" => PortFunction, :"info_board_serial_number" => InfoBoardSerialNumber, :"port_lanes" => PortLanes, :"port_splittable" => PortSplittable, :"port_external" => PortExternal, :"port_controller_number" => PortControllerNumber, :"flash_update_status_timeout" => FlashUpdateStatusTimeout, :"flash_update_overwrite_mask" => FlashUpdateOverwriteMask, :"reload_action" => ReloadAction, :"reload_actions_performed" => ReloadActionsPerformed, :"reload_limits" => ReloadLimits, :"dev_stats" => DevStats, :"reload_stats" => ReloadStats, :"reload_stats_entry" => ReloadStatsEntry, :"reload_stats_limit" => ReloadStatsLimit, :"reload_stats_value" => ReloadStatsValue, :"remote_reload_stats" => RemoteReloadStats, :"reload_action_info" => ReloadActionInfo, :"reload_action_stats" => ReloadActionStats, :"port_pci_sf_number" => PortPciSfNumber, :"rate_type" => RateType, :"rate_tx_share" => RateTxShare, :"rate_tx_max" => RateTxMax, :"rate_node_name" => RateNodeName, :"rate_parent_node_name" => RateParentNodeName, :"region_max_snapshots" => RegionMaxSnapshots, :"linecard_index" => LinecardIndex, :"linecard_state" => LinecardState, :"linecard_type" => LinecardType, :"linecard_supported_types" => LinecardSupportedTypes, :"selftests" => Selftests, :"rate_tx_priority" => RateTxPriority, :"rate_tx_weight" => RateTxWeight, :"region_direct" => RegionDirect, :"rate_tc_bws" => RateTcBws, :"health_reporter_burst_period" => HealthReporterBurstPeriod, :"param_reset_default" => ParamResetDefault, :"index" => Index, :"resource_scope_mask" => ResourceScopeMask}) #: Hash[::Symbol, Attribute]
|
|
866
879
|
# :nodoc:
|
|
867
|
-
BY_TYPE = Ractor.make_shareable({1 => BusName, 2 => DevName, 3 => PortIndex, 4 => PortType, 5 => PortDesiredType, 6 => PortNetdevIfindex, 7 => PortNetdevName, 8 => PortIbdevName, 9 => PortSplitCount, 10 => PortSplitGroup, 11 => SbIndex, 12 => SbSize, 13 => SbIngressPoolCount, 14 => SbEgressPoolCount, 15 => SbIngressTcCount, 16 => SbEgressTcCount, 17 => SbPoolIndex, 18 => SbPoolType, 19 => SbPoolSize, 20 => SbPoolThresholdType, 21 => SbThreshold, 22 => SbTcIndex, 23 => SbOccCur, 24 => SbOccMax, 25 => EswitchMode, 26 => EswitchInlineMode, 27 => DpipeTables, 28 => DpipeTable, 29 => DpipeTableName, 30 => DpipeTableSize, 31 => DpipeTableMatches, 32 => DpipeTableActions, 33 => DpipeTableCountersEnabled, 34 => DpipeEntries, 35 => DpipeEntry, 36 => DpipeEntryIndex, 37 => DpipeEntryMatchValues, 38 => DpipeEntryActionValues, 39 => DpipeEntryCounter, 40 => DpipeMatch, 41 => DpipeMatchValue, 42 => DpipeMatchType, 43 => DpipeAction, 44 => DpipeActionValue, 45 => DpipeActionType, 46 => DpipeValue, 47 => DpipeValueMask, 48 => DpipeValueMapping, 49 => DpipeHeaders, 50 => DpipeHeader, 51 => DpipeHeaderName, 52 => DpipeHeaderId, 53 => DpipeHeaderFields, 54 => DpipeHeaderGlobal, 55 => DpipeHeaderIndex, 56 => DpipeField, 57 => DpipeFieldName, 58 => DpipeFieldId, 59 => DpipeFieldBitwidth, 60 => DpipeFieldMappingType, 61 => Pad, 62 => EswitchEncapMode, 63 => ResourceList, 64 => Resource, 65 => ResourceName, 66 => ResourceId, 67 => ResourceSize, 68 => ResourceSizeNew, 69 => ResourceSizeValid, 70 => ResourceSizeMin, 71 => ResourceSizeMax, 72 => ResourceSizeGran, 73 => ResourceUnit, 74 => ResourceOcc, 75 => DpipeTableResourceId, 76 => DpipeTableResourceUnits, 77 => PortFlavour, 78 => PortNumber, 79 => PortSplitSubportNumber, 80 => Param, 81 => ParamName, 82 => ParamGeneric, 83 => ParamType, 87 => ParamValueCmode, 88 => RegionName, 89 => RegionSize, 90 => RegionSnapshots, 91 => RegionSnapshot, 92 => RegionSnapshotId, 93 => RegionChunks, 94 => RegionChunk, 95 => RegionChunkData, 96 => RegionChunkAddr, 97 => RegionChunkLen, 98 => InfoDriverName, 99 => InfoSerialNumber, 100 => InfoVersionFixed, 101 => InfoVersionRunning, 102 => InfoVersionStored, 103 => InfoVersionName, 104 => InfoVersionValue, 105 => SbPoolCellSize, 106 => Fmsg, 107 => FmsgObjNestStart, 108 => FmsgPairNestStart, 109 => FmsgArrNestStart, 110 => FmsgNestEnd, 111 => FmsgObjName, 112 => FmsgObjValueType, 114 => HealthReporter, 115 => HealthReporterName, 116 => HealthReporterState, 117 => HealthReporterErrCount, 118 => HealthReporterRecoverCount, 119 => HealthReporterDumpTs, 120 => HealthReporterGracefulPeriod, 121 => HealthReporterAutoRecover, 122 => FlashUpdateFileName, 123 => FlashUpdateComponent, 124 => FlashUpdateStatusMsg, 125 => FlashUpdateStatusDone, 126 => FlashUpdateStatusTotal, 127 => PortPciPfNumber, 128 => PortPciVfNumber, 129 => Stats, 130 => TrapName, 131 => TrapAction, 132 => TrapType, 133 => TrapGeneric, 134 => TrapMetadata, 135 => TrapGroupName, 136 => ReloadFailed, 137 => HealthReporterDumpTsNs, 138 => NetnsFd, 139 => NetnsPid, 140 => NetnsId, 141 => HealthReporterAutoDump, 142 => TrapPolicerId, 143 => TrapPolicerRate, 144 => TrapPolicerBurst, 145 => PortFunction, 146 => InfoBoardSerialNumber, 147 => PortLanes, 148 => PortSplittable, 149 => PortExternal, 150 => PortControllerNumber, 151 => FlashUpdateStatusTimeout, 152 => FlashUpdateOverwriteMask, 153 => ReloadAction, 154 => ReloadActionsPerformed, 155 => ReloadLimits, 156 => DevStats, 157 => ReloadStats, 158 => ReloadStatsEntry, 159 => ReloadStatsLimit, 160 => ReloadStatsValue, 161 => RemoteReloadStats, 162 => ReloadActionInfo, 163 => ReloadActionStats, 164 => PortPciSfNumber, 165 => RateType, 166 => RateTxShare, 167 => RateTxMax, 168 => RateNodeName, 169 => RateParentNodeName, 170 => RegionMaxSnapshots, 171 => LinecardIndex, 172 => LinecardState, 173 => LinecardType, 174 => LinecardSupportedTypes, 176 => Selftests, 177 => RateTxPriority, 178 => RateTxWeight, 179 => RegionDirect, 180 => RateTcBws, 181 => HealthReporterBurstPeriod, 183 => ParamResetDefault}) #: Hash[::Integer, Attribute]
|
|
880
|
+
BY_TYPE = Ractor.make_shareable({1 => BusName, 2 => DevName, 3 => PortIndex, 4 => PortType, 5 => PortDesiredType, 6 => PortNetdevIfindex, 7 => PortNetdevName, 8 => PortIbdevName, 9 => PortSplitCount, 10 => PortSplitGroup, 11 => SbIndex, 12 => SbSize, 13 => SbIngressPoolCount, 14 => SbEgressPoolCount, 15 => SbIngressTcCount, 16 => SbEgressTcCount, 17 => SbPoolIndex, 18 => SbPoolType, 19 => SbPoolSize, 20 => SbPoolThresholdType, 21 => SbThreshold, 22 => SbTcIndex, 23 => SbOccCur, 24 => SbOccMax, 25 => EswitchMode, 26 => EswitchInlineMode, 27 => DpipeTables, 28 => DpipeTable, 29 => DpipeTableName, 30 => DpipeTableSize, 31 => DpipeTableMatches, 32 => DpipeTableActions, 33 => DpipeTableCountersEnabled, 34 => DpipeEntries, 35 => DpipeEntry, 36 => DpipeEntryIndex, 37 => DpipeEntryMatchValues, 38 => DpipeEntryActionValues, 39 => DpipeEntryCounter, 40 => DpipeMatch, 41 => DpipeMatchValue, 42 => DpipeMatchType, 43 => DpipeAction, 44 => DpipeActionValue, 45 => DpipeActionType, 46 => DpipeValue, 47 => DpipeValueMask, 48 => DpipeValueMapping, 49 => DpipeHeaders, 50 => DpipeHeader, 51 => DpipeHeaderName, 52 => DpipeHeaderId, 53 => DpipeHeaderFields, 54 => DpipeHeaderGlobal, 55 => DpipeHeaderIndex, 56 => DpipeField, 57 => DpipeFieldName, 58 => DpipeFieldId, 59 => DpipeFieldBitwidth, 60 => DpipeFieldMappingType, 61 => Pad, 62 => EswitchEncapMode, 63 => ResourceList, 64 => Resource, 65 => ResourceName, 66 => ResourceId, 67 => ResourceSize, 68 => ResourceSizeNew, 69 => ResourceSizeValid, 70 => ResourceSizeMin, 71 => ResourceSizeMax, 72 => ResourceSizeGran, 73 => ResourceUnit, 74 => ResourceOcc, 75 => DpipeTableResourceId, 76 => DpipeTableResourceUnits, 77 => PortFlavour, 78 => PortNumber, 79 => PortSplitSubportNumber, 80 => Param, 81 => ParamName, 82 => ParamGeneric, 83 => ParamType, 87 => ParamValueCmode, 88 => RegionName, 89 => RegionSize, 90 => RegionSnapshots, 91 => RegionSnapshot, 92 => RegionSnapshotId, 93 => RegionChunks, 94 => RegionChunk, 95 => RegionChunkData, 96 => RegionChunkAddr, 97 => RegionChunkLen, 98 => InfoDriverName, 99 => InfoSerialNumber, 100 => InfoVersionFixed, 101 => InfoVersionRunning, 102 => InfoVersionStored, 103 => InfoVersionName, 104 => InfoVersionValue, 105 => SbPoolCellSize, 106 => Fmsg, 107 => FmsgObjNestStart, 108 => FmsgPairNestStart, 109 => FmsgArrNestStart, 110 => FmsgNestEnd, 111 => FmsgObjName, 112 => FmsgObjValueType, 114 => HealthReporter, 115 => HealthReporterName, 116 => HealthReporterState, 117 => HealthReporterErrCount, 118 => HealthReporterRecoverCount, 119 => HealthReporterDumpTs, 120 => HealthReporterGracefulPeriod, 121 => HealthReporterAutoRecover, 122 => FlashUpdateFileName, 123 => FlashUpdateComponent, 124 => FlashUpdateStatusMsg, 125 => FlashUpdateStatusDone, 126 => FlashUpdateStatusTotal, 127 => PortPciPfNumber, 128 => PortPciVfNumber, 129 => Stats, 130 => TrapName, 131 => TrapAction, 132 => TrapType, 133 => TrapGeneric, 134 => TrapMetadata, 135 => TrapGroupName, 136 => ReloadFailed, 137 => HealthReporterDumpTsNs, 138 => NetnsFd, 139 => NetnsPid, 140 => NetnsId, 141 => HealthReporterAutoDump, 142 => TrapPolicerId, 143 => TrapPolicerRate, 144 => TrapPolicerBurst, 145 => PortFunction, 146 => InfoBoardSerialNumber, 147 => PortLanes, 148 => PortSplittable, 149 => PortExternal, 150 => PortControllerNumber, 151 => FlashUpdateStatusTimeout, 152 => FlashUpdateOverwriteMask, 153 => ReloadAction, 154 => ReloadActionsPerformed, 155 => ReloadLimits, 156 => DevStats, 157 => ReloadStats, 158 => ReloadStatsEntry, 159 => ReloadStatsLimit, 160 => ReloadStatsValue, 161 => RemoteReloadStats, 162 => ReloadActionInfo, 163 => ReloadActionStats, 164 => PortPciSfNumber, 165 => RateType, 166 => RateTxShare, 167 => RateTxMax, 168 => RateNodeName, 169 => RateParentNodeName, 170 => RegionMaxSnapshots, 171 => LinecardIndex, 172 => LinecardState, 173 => LinecardType, 174 => LinecardSupportedTypes, 176 => Selftests, 177 => RateTxPriority, 178 => RateTxWeight, 179 => RegionDirect, 180 => RateTcBws, 181 => HealthReporterBurstPeriod, 183 => ParamResetDefault, 184 => Index, 185 => ResourceScopeMask}) #: Hash[::Integer, Attribute]
|
|
868
881
|
class << self
|
|
869
882
|
# Looks up Attribute class by name.
|
|
870
883
|
#--
|
|
@@ -2212,7 +2225,7 @@ class Devlink < ::Nl::Family
|
|
|
2212
2225
|
TYPE = 1
|
|
2213
2226
|
FIXED_HEADER = nil
|
|
2214
2227
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2215
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
2228
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
2216
2229
|
# Gets the value of `bus-name` attribute in the message.
|
|
2217
2230
|
#--
|
|
2218
2231
|
# @rbs return: ::String
|
|
@@ -2221,13 +2234,17 @@ class Devlink < ::Nl::Family
|
|
|
2221
2234
|
#--
|
|
2222
2235
|
# @rbs return: ::String
|
|
2223
2236
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
2237
|
+
# Gets the value of `index` attribute in the message.
|
|
2238
|
+
#--
|
|
2239
|
+
# @rbs return: ::Integer
|
|
2240
|
+
def index; attributes[:"index"]&.value; end
|
|
2224
2241
|
end
|
|
2225
2242
|
# Get devlink instances.
|
|
2226
2243
|
class DoGetReply < ::Nl::Protocols::Genl::Message
|
|
2227
2244
|
TYPE = 3
|
|
2228
2245
|
FIXED_HEADER = nil
|
|
2229
2246
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2230
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name reload_failed dev_stats])
|
|
2247
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name reload_failed dev_stats index])
|
|
2231
2248
|
# Gets the value of `bus-name` attribute in the message.
|
|
2232
2249
|
#--
|
|
2233
2250
|
# @rbs return: ::String
|
|
@@ -2244,13 +2261,24 @@ class Devlink < ::Nl::Family
|
|
|
2244
2261
|
#--
|
|
2245
2262
|
# @rbs return: AttributeSets::DlDevStats
|
|
2246
2263
|
def dev_stats; attributes[:"dev_stats"]&.value; end
|
|
2264
|
+
# Gets the value of `index` attribute in the message.
|
|
2265
|
+
#--
|
|
2266
|
+
# @rbs return: ::Integer
|
|
2267
|
+
def index; attributes[:"index"]&.value; end
|
|
2268
|
+
end
|
|
2269
|
+
# Get devlink instances.
|
|
2270
|
+
class DumpGetRequest < ::Nl::Protocols::Genl::Message
|
|
2271
|
+
TYPE = 1
|
|
2272
|
+
FIXED_HEADER = nil
|
|
2273
|
+
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2274
|
+
ATTRIBUTES = Ractor.make_shareable(%i[])
|
|
2247
2275
|
end
|
|
2248
2276
|
# Get devlink instances.
|
|
2249
2277
|
class DumpGetReply < ::Nl::Protocols::Genl::Message
|
|
2250
2278
|
TYPE = 3
|
|
2251
2279
|
FIXED_HEADER = nil
|
|
2252
2280
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2253
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name reload_failed dev_stats])
|
|
2281
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name reload_failed dev_stats index])
|
|
2254
2282
|
# Gets the value of `bus-name` attribute in the message.
|
|
2255
2283
|
#--
|
|
2256
2284
|
# @rbs return: ::String
|
|
@@ -2267,13 +2295,17 @@ class Devlink < ::Nl::Family
|
|
|
2267
2295
|
#--
|
|
2268
2296
|
# @rbs return: AttributeSets::DlDevStats
|
|
2269
2297
|
def dev_stats; attributes[:"dev_stats"]&.value; end
|
|
2298
|
+
# Gets the value of `index` attribute in the message.
|
|
2299
|
+
#--
|
|
2300
|
+
# @rbs return: ::Integer
|
|
2301
|
+
def index; attributes[:"index"]&.value; end
|
|
2270
2302
|
end
|
|
2271
2303
|
# Get devlink port instances.
|
|
2272
2304
|
class DoPortGetRequest < ::Nl::Protocols::Genl::Message
|
|
2273
2305
|
TYPE = 5
|
|
2274
2306
|
FIXED_HEADER = nil
|
|
2275
2307
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2276
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
2308
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
2277
2309
|
# Gets the value of `bus-name` attribute in the message.
|
|
2278
2310
|
#--
|
|
2279
2311
|
# @rbs return: ::String
|
|
@@ -2286,13 +2318,17 @@ class Devlink < ::Nl::Family
|
|
|
2286
2318
|
#--
|
|
2287
2319
|
# @rbs return: ::Integer
|
|
2288
2320
|
def port_index; attributes[:"port_index"]&.value; end
|
|
2321
|
+
# Gets the value of `index` attribute in the message.
|
|
2322
|
+
#--
|
|
2323
|
+
# @rbs return: ::Integer
|
|
2324
|
+
def index; attributes[:"index"]&.value; end
|
|
2289
2325
|
end
|
|
2290
2326
|
# Get devlink port instances.
|
|
2291
2327
|
class DoPortGetReply < ::Nl::Protocols::Genl::Message
|
|
2292
2328
|
TYPE = 7
|
|
2293
2329
|
FIXED_HEADER = nil
|
|
2294
2330
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2295
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
2331
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
2296
2332
|
# Gets the value of `bus-name` attribute in the message.
|
|
2297
2333
|
#--
|
|
2298
2334
|
# @rbs return: ::String
|
|
@@ -2305,13 +2341,17 @@ class Devlink < ::Nl::Family
|
|
|
2305
2341
|
#--
|
|
2306
2342
|
# @rbs return: ::Integer
|
|
2307
2343
|
def port_index; attributes[:"port_index"]&.value; end
|
|
2344
|
+
# Gets the value of `index` attribute in the message.
|
|
2345
|
+
#--
|
|
2346
|
+
# @rbs return: ::Integer
|
|
2347
|
+
def index; attributes[:"index"]&.value; end
|
|
2308
2348
|
end
|
|
2309
2349
|
# Get devlink port instances.
|
|
2310
2350
|
class DumpPortGetRequest < ::Nl::Protocols::Genl::Message
|
|
2311
2351
|
TYPE = 5
|
|
2312
2352
|
FIXED_HEADER = nil
|
|
2313
2353
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2314
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
2354
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
2315
2355
|
# Gets the value of `bus-name` attribute in the message.
|
|
2316
2356
|
#--
|
|
2317
2357
|
# @rbs return: ::String
|
|
@@ -2320,13 +2360,17 @@ class Devlink < ::Nl::Family
|
|
|
2320
2360
|
#--
|
|
2321
2361
|
# @rbs return: ::String
|
|
2322
2362
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
2363
|
+
# Gets the value of `index` attribute in the message.
|
|
2364
|
+
#--
|
|
2365
|
+
# @rbs return: ::Integer
|
|
2366
|
+
def index; attributes[:"index"]&.value; end
|
|
2323
2367
|
end
|
|
2324
2368
|
# Get devlink port instances.
|
|
2325
2369
|
class DumpPortGetReply < ::Nl::Protocols::Genl::Message
|
|
2326
2370
|
TYPE = 3
|
|
2327
2371
|
FIXED_HEADER = nil
|
|
2328
2372
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2329
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
2373
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
2330
2374
|
# Gets the value of `bus-name` attribute in the message.
|
|
2331
2375
|
#--
|
|
2332
2376
|
# @rbs return: ::String
|
|
@@ -2339,13 +2383,19 @@ class Devlink < ::Nl::Family
|
|
|
2339
2383
|
#--
|
|
2340
2384
|
# @rbs return: ::Integer
|
|
2341
2385
|
def port_index; attributes[:"port_index"]&.value; end
|
|
2386
|
+
# Gets the value of `index` attribute in the message.
|
|
2387
|
+
#--
|
|
2388
|
+
# @rbs return: ::Integer
|
|
2389
|
+
def index; attributes[:"index"]&.value; end
|
|
2342
2390
|
end
|
|
2343
2391
|
# Set devlink port instances.
|
|
2392
|
+
#
|
|
2393
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
2344
2394
|
class DoPortSetRequest < ::Nl::Protocols::Genl::Message
|
|
2345
2395
|
TYPE = 6
|
|
2346
2396
|
FIXED_HEADER = nil
|
|
2347
2397
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2348
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index port_type port_function])
|
|
2398
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index port_type port_function index])
|
|
2349
2399
|
# Gets the value of `bus-name` attribute in the message.
|
|
2350
2400
|
#--
|
|
2351
2401
|
# @rbs return: ::String
|
|
@@ -2366,13 +2416,19 @@ class Devlink < ::Nl::Family
|
|
|
2366
2416
|
#--
|
|
2367
2417
|
# @rbs return: AttributeSets::DlPortFunction
|
|
2368
2418
|
def port_function; attributes[:"port_function"]&.value; end
|
|
2419
|
+
# Gets the value of `index` attribute in the message.
|
|
2420
|
+
#--
|
|
2421
|
+
# @rbs return: ::Integer
|
|
2422
|
+
def index; attributes[:"index"]&.value; end
|
|
2369
2423
|
end
|
|
2370
2424
|
# Create devlink port instances.
|
|
2425
|
+
#
|
|
2426
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
2371
2427
|
class DoPortNewRequest < ::Nl::Protocols::Genl::Message
|
|
2372
2428
|
TYPE = 7
|
|
2373
2429
|
FIXED_HEADER = nil
|
|
2374
2430
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2375
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index port_flavour port_pci_pf_number port_controller_number port_pci_sf_number])
|
|
2431
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index port_flavour port_pci_pf_number port_controller_number port_pci_sf_number index])
|
|
2376
2432
|
# Gets the value of `bus-name` attribute in the message.
|
|
2377
2433
|
#--
|
|
2378
2434
|
# @rbs return: ::String
|
|
@@ -2401,13 +2457,19 @@ class Devlink < ::Nl::Family
|
|
|
2401
2457
|
#--
|
|
2402
2458
|
# @rbs return: ::Integer
|
|
2403
2459
|
def port_pci_sf_number; attributes[:"port_pci_sf_number"]&.value; end
|
|
2460
|
+
# Gets the value of `index` attribute in the message.
|
|
2461
|
+
#--
|
|
2462
|
+
# @rbs return: ::Integer
|
|
2463
|
+
def index; attributes[:"index"]&.value; end
|
|
2404
2464
|
end
|
|
2405
2465
|
# Create devlink port instances.
|
|
2466
|
+
#
|
|
2467
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
2406
2468
|
class DoPortNewReply < ::Nl::Protocols::Genl::Message
|
|
2407
2469
|
TYPE = 7
|
|
2408
2470
|
FIXED_HEADER = nil
|
|
2409
2471
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2410
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
2472
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
2411
2473
|
# Gets the value of `bus-name` attribute in the message.
|
|
2412
2474
|
#--
|
|
2413
2475
|
# @rbs return: ::String
|
|
@@ -2420,13 +2482,19 @@ class Devlink < ::Nl::Family
|
|
|
2420
2482
|
#--
|
|
2421
2483
|
# @rbs return: ::Integer
|
|
2422
2484
|
def port_index; attributes[:"port_index"]&.value; end
|
|
2485
|
+
# Gets the value of `index` attribute in the message.
|
|
2486
|
+
#--
|
|
2487
|
+
# @rbs return: ::Integer
|
|
2488
|
+
def index; attributes[:"index"]&.value; end
|
|
2423
2489
|
end
|
|
2424
2490
|
# Delete devlink port instances.
|
|
2491
|
+
#
|
|
2492
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
2425
2493
|
class DoPortDelRequest < ::Nl::Protocols::Genl::Message
|
|
2426
2494
|
TYPE = 8
|
|
2427
2495
|
FIXED_HEADER = nil
|
|
2428
2496
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2429
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
2497
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
2430
2498
|
# Gets the value of `bus-name` attribute in the message.
|
|
2431
2499
|
#--
|
|
2432
2500
|
# @rbs return: ::String
|
|
@@ -2439,13 +2507,19 @@ class Devlink < ::Nl::Family
|
|
|
2439
2507
|
#--
|
|
2440
2508
|
# @rbs return: ::Integer
|
|
2441
2509
|
def port_index; attributes[:"port_index"]&.value; end
|
|
2510
|
+
# Gets the value of `index` attribute in the message.
|
|
2511
|
+
#--
|
|
2512
|
+
# @rbs return: ::Integer
|
|
2513
|
+
def index; attributes[:"index"]&.value; end
|
|
2442
2514
|
end
|
|
2443
2515
|
# Split devlink port instances.
|
|
2516
|
+
#
|
|
2517
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
2444
2518
|
class DoPortSplitRequest < ::Nl::Protocols::Genl::Message
|
|
2445
2519
|
TYPE = 9
|
|
2446
2520
|
FIXED_HEADER = nil
|
|
2447
2521
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2448
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index port_split_count])
|
|
2522
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index port_split_count index])
|
|
2449
2523
|
# Gets the value of `bus-name` attribute in the message.
|
|
2450
2524
|
#--
|
|
2451
2525
|
# @rbs return: ::String
|
|
@@ -2462,13 +2536,19 @@ class Devlink < ::Nl::Family
|
|
|
2462
2536
|
#--
|
|
2463
2537
|
# @rbs return: ::Integer
|
|
2464
2538
|
def port_split_count; attributes[:"port_split_count"]&.value; end
|
|
2539
|
+
# Gets the value of `index` attribute in the message.
|
|
2540
|
+
#--
|
|
2541
|
+
# @rbs return: ::Integer
|
|
2542
|
+
def index; attributes[:"index"]&.value; end
|
|
2465
2543
|
end
|
|
2466
2544
|
# Unplit devlink port instances.
|
|
2545
|
+
#
|
|
2546
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
2467
2547
|
class DoPortUnsplitRequest < ::Nl::Protocols::Genl::Message
|
|
2468
2548
|
TYPE = 10
|
|
2469
2549
|
FIXED_HEADER = nil
|
|
2470
2550
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2471
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
2551
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
2472
2552
|
# Gets the value of `bus-name` attribute in the message.
|
|
2473
2553
|
#--
|
|
2474
2554
|
# @rbs return: ::String
|
|
@@ -2481,13 +2561,17 @@ class Devlink < ::Nl::Family
|
|
|
2481
2561
|
#--
|
|
2482
2562
|
# @rbs return: ::Integer
|
|
2483
2563
|
def port_index; attributes[:"port_index"]&.value; end
|
|
2564
|
+
# Gets the value of `index` attribute in the message.
|
|
2565
|
+
#--
|
|
2566
|
+
# @rbs return: ::Integer
|
|
2567
|
+
def index; attributes[:"index"]&.value; end
|
|
2484
2568
|
end
|
|
2485
2569
|
# Get shared buffer instances.
|
|
2486
2570
|
class DoSbGetRequest < ::Nl::Protocols::Genl::Message
|
|
2487
2571
|
TYPE = 11
|
|
2488
2572
|
FIXED_HEADER = nil
|
|
2489
2573
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2490
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index])
|
|
2574
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index index])
|
|
2491
2575
|
# Gets the value of `bus-name` attribute in the message.
|
|
2492
2576
|
#--
|
|
2493
2577
|
# @rbs return: ::String
|
|
@@ -2500,13 +2584,17 @@ class Devlink < ::Nl::Family
|
|
|
2500
2584
|
#--
|
|
2501
2585
|
# @rbs return: ::Integer
|
|
2502
2586
|
def sb_index; attributes[:"sb_index"]&.value; end
|
|
2587
|
+
# Gets the value of `index` attribute in the message.
|
|
2588
|
+
#--
|
|
2589
|
+
# @rbs return: ::Integer
|
|
2590
|
+
def index; attributes[:"index"]&.value; end
|
|
2503
2591
|
end
|
|
2504
2592
|
# Get shared buffer instances.
|
|
2505
2593
|
class DoSbGetReply < ::Nl::Protocols::Genl::Message
|
|
2506
2594
|
TYPE = 13
|
|
2507
2595
|
FIXED_HEADER = nil
|
|
2508
2596
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2509
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index])
|
|
2597
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index index])
|
|
2510
2598
|
# Gets the value of `bus-name` attribute in the message.
|
|
2511
2599
|
#--
|
|
2512
2600
|
# @rbs return: ::String
|
|
@@ -2519,13 +2607,17 @@ class Devlink < ::Nl::Family
|
|
|
2519
2607
|
#--
|
|
2520
2608
|
# @rbs return: ::Integer
|
|
2521
2609
|
def sb_index; attributes[:"sb_index"]&.value; end
|
|
2610
|
+
# Gets the value of `index` attribute in the message.
|
|
2611
|
+
#--
|
|
2612
|
+
# @rbs return: ::Integer
|
|
2613
|
+
def index; attributes[:"index"]&.value; end
|
|
2522
2614
|
end
|
|
2523
2615
|
# Get shared buffer instances.
|
|
2524
2616
|
class DumpSbGetRequest < ::Nl::Protocols::Genl::Message
|
|
2525
2617
|
TYPE = 11
|
|
2526
2618
|
FIXED_HEADER = nil
|
|
2527
2619
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2528
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
2620
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
2529
2621
|
# Gets the value of `bus-name` attribute in the message.
|
|
2530
2622
|
#--
|
|
2531
2623
|
# @rbs return: ::String
|
|
@@ -2534,13 +2626,17 @@ class Devlink < ::Nl::Family
|
|
|
2534
2626
|
#--
|
|
2535
2627
|
# @rbs return: ::String
|
|
2536
2628
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
2629
|
+
# Gets the value of `index` attribute in the message.
|
|
2630
|
+
#--
|
|
2631
|
+
# @rbs return: ::Integer
|
|
2632
|
+
def index; attributes[:"index"]&.value; end
|
|
2537
2633
|
end
|
|
2538
2634
|
# Get shared buffer instances.
|
|
2539
2635
|
class DumpSbGetReply < ::Nl::Protocols::Genl::Message
|
|
2540
2636
|
TYPE = 13
|
|
2541
2637
|
FIXED_HEADER = nil
|
|
2542
2638
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2543
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index])
|
|
2639
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index index])
|
|
2544
2640
|
# Gets the value of `bus-name` attribute in the message.
|
|
2545
2641
|
#--
|
|
2546
2642
|
# @rbs return: ::String
|
|
@@ -2553,13 +2649,17 @@ class Devlink < ::Nl::Family
|
|
|
2553
2649
|
#--
|
|
2554
2650
|
# @rbs return: ::Integer
|
|
2555
2651
|
def sb_index; attributes[:"sb_index"]&.value; end
|
|
2652
|
+
# Gets the value of `index` attribute in the message.
|
|
2653
|
+
#--
|
|
2654
|
+
# @rbs return: ::Integer
|
|
2655
|
+
def index; attributes[:"index"]&.value; end
|
|
2556
2656
|
end
|
|
2557
2657
|
# Get shared buffer pool instances.
|
|
2558
2658
|
class DoSbPoolGetRequest < ::Nl::Protocols::Genl::Message
|
|
2559
2659
|
TYPE = 15
|
|
2560
2660
|
FIXED_HEADER = nil
|
|
2561
2661
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2562
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index sb_pool_index])
|
|
2662
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index sb_pool_index index])
|
|
2563
2663
|
# Gets the value of `bus-name` attribute in the message.
|
|
2564
2664
|
#--
|
|
2565
2665
|
# @rbs return: ::String
|
|
@@ -2576,13 +2676,17 @@ class Devlink < ::Nl::Family
|
|
|
2576
2676
|
#--
|
|
2577
2677
|
# @rbs return: ::Integer
|
|
2578
2678
|
def sb_pool_index; attributes[:"sb_pool_index"]&.value; end
|
|
2679
|
+
# Gets the value of `index` attribute in the message.
|
|
2680
|
+
#--
|
|
2681
|
+
# @rbs return: ::Integer
|
|
2682
|
+
def index; attributes[:"index"]&.value; end
|
|
2579
2683
|
end
|
|
2580
2684
|
# Get shared buffer pool instances.
|
|
2581
2685
|
class DoSbPoolGetReply < ::Nl::Protocols::Genl::Message
|
|
2582
2686
|
TYPE = 17
|
|
2583
2687
|
FIXED_HEADER = nil
|
|
2584
2688
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2585
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index sb_pool_index])
|
|
2689
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index sb_pool_index index])
|
|
2586
2690
|
# Gets the value of `bus-name` attribute in the message.
|
|
2587
2691
|
#--
|
|
2588
2692
|
# @rbs return: ::String
|
|
@@ -2599,13 +2703,17 @@ class Devlink < ::Nl::Family
|
|
|
2599
2703
|
#--
|
|
2600
2704
|
# @rbs return: ::Integer
|
|
2601
2705
|
def sb_pool_index; attributes[:"sb_pool_index"]&.value; end
|
|
2706
|
+
# Gets the value of `index` attribute in the message.
|
|
2707
|
+
#--
|
|
2708
|
+
# @rbs return: ::Integer
|
|
2709
|
+
def index; attributes[:"index"]&.value; end
|
|
2602
2710
|
end
|
|
2603
2711
|
# Get shared buffer pool instances.
|
|
2604
2712
|
class DumpSbPoolGetRequest < ::Nl::Protocols::Genl::Message
|
|
2605
2713
|
TYPE = 15
|
|
2606
2714
|
FIXED_HEADER = nil
|
|
2607
2715
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2608
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
2716
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
2609
2717
|
# Gets the value of `bus-name` attribute in the message.
|
|
2610
2718
|
#--
|
|
2611
2719
|
# @rbs return: ::String
|
|
@@ -2614,13 +2722,17 @@ class Devlink < ::Nl::Family
|
|
|
2614
2722
|
#--
|
|
2615
2723
|
# @rbs return: ::String
|
|
2616
2724
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
2725
|
+
# Gets the value of `index` attribute in the message.
|
|
2726
|
+
#--
|
|
2727
|
+
# @rbs return: ::Integer
|
|
2728
|
+
def index; attributes[:"index"]&.value; end
|
|
2617
2729
|
end
|
|
2618
2730
|
# Get shared buffer pool instances.
|
|
2619
2731
|
class DumpSbPoolGetReply < ::Nl::Protocols::Genl::Message
|
|
2620
2732
|
TYPE = 17
|
|
2621
2733
|
FIXED_HEADER = nil
|
|
2622
2734
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2623
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index sb_pool_index])
|
|
2735
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index sb_pool_index index])
|
|
2624
2736
|
# Gets the value of `bus-name` attribute in the message.
|
|
2625
2737
|
#--
|
|
2626
2738
|
# @rbs return: ::String
|
|
@@ -2637,13 +2749,19 @@ class Devlink < ::Nl::Family
|
|
|
2637
2749
|
#--
|
|
2638
2750
|
# @rbs return: ::Integer
|
|
2639
2751
|
def sb_pool_index; attributes[:"sb_pool_index"]&.value; end
|
|
2752
|
+
# Gets the value of `index` attribute in the message.
|
|
2753
|
+
#--
|
|
2754
|
+
# @rbs return: ::Integer
|
|
2755
|
+
def index; attributes[:"index"]&.value; end
|
|
2640
2756
|
end
|
|
2641
2757
|
# Set shared buffer pool instances.
|
|
2758
|
+
#
|
|
2759
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
2642
2760
|
class DoSbPoolSetRequest < ::Nl::Protocols::Genl::Message
|
|
2643
2761
|
TYPE = 16
|
|
2644
2762
|
FIXED_HEADER = nil
|
|
2645
2763
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2646
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index sb_pool_index sb_pool_size sb_pool_threshold_type])
|
|
2764
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index sb_pool_index sb_pool_size sb_pool_threshold_type index])
|
|
2647
2765
|
# Gets the value of `bus-name` attribute in the message.
|
|
2648
2766
|
#--
|
|
2649
2767
|
# @rbs return: ::String
|
|
@@ -2668,13 +2786,17 @@ class Devlink < ::Nl::Family
|
|
|
2668
2786
|
#--
|
|
2669
2787
|
# @rbs return: ::Integer
|
|
2670
2788
|
def sb_pool_threshold_type; attributes[:"sb_pool_threshold_type"]&.value; end
|
|
2789
|
+
# Gets the value of `index` attribute in the message.
|
|
2790
|
+
#--
|
|
2791
|
+
# @rbs return: ::Integer
|
|
2792
|
+
def index; attributes[:"index"]&.value; end
|
|
2671
2793
|
end
|
|
2672
2794
|
# Get shared buffer port-pool combinations and threshold.
|
|
2673
2795
|
class DoSbPortPoolGetRequest < ::Nl::Protocols::Genl::Message
|
|
2674
2796
|
TYPE = 19
|
|
2675
2797
|
FIXED_HEADER = nil
|
|
2676
2798
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2677
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_index])
|
|
2799
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_index index])
|
|
2678
2800
|
# Gets the value of `bus-name` attribute in the message.
|
|
2679
2801
|
#--
|
|
2680
2802
|
# @rbs return: ::String
|
|
@@ -2695,13 +2817,17 @@ class Devlink < ::Nl::Family
|
|
|
2695
2817
|
#--
|
|
2696
2818
|
# @rbs return: ::Integer
|
|
2697
2819
|
def sb_pool_index; attributes[:"sb_pool_index"]&.value; end
|
|
2820
|
+
# Gets the value of `index` attribute in the message.
|
|
2821
|
+
#--
|
|
2822
|
+
# @rbs return: ::Integer
|
|
2823
|
+
def index; attributes[:"index"]&.value; end
|
|
2698
2824
|
end
|
|
2699
2825
|
# Get shared buffer port-pool combinations and threshold.
|
|
2700
2826
|
class DoSbPortPoolGetReply < ::Nl::Protocols::Genl::Message
|
|
2701
2827
|
TYPE = 21
|
|
2702
2828
|
FIXED_HEADER = nil
|
|
2703
2829
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2704
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_index])
|
|
2830
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_index index])
|
|
2705
2831
|
# Gets the value of `bus-name` attribute in the message.
|
|
2706
2832
|
#--
|
|
2707
2833
|
# @rbs return: ::String
|
|
@@ -2722,13 +2848,17 @@ class Devlink < ::Nl::Family
|
|
|
2722
2848
|
#--
|
|
2723
2849
|
# @rbs return: ::Integer
|
|
2724
2850
|
def sb_pool_index; attributes[:"sb_pool_index"]&.value; end
|
|
2851
|
+
# Gets the value of `index` attribute in the message.
|
|
2852
|
+
#--
|
|
2853
|
+
# @rbs return: ::Integer
|
|
2854
|
+
def index; attributes[:"index"]&.value; end
|
|
2725
2855
|
end
|
|
2726
2856
|
# Get shared buffer port-pool combinations and threshold.
|
|
2727
2857
|
class DumpSbPortPoolGetRequest < ::Nl::Protocols::Genl::Message
|
|
2728
2858
|
TYPE = 19
|
|
2729
2859
|
FIXED_HEADER = nil
|
|
2730
2860
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2731
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
2861
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
2732
2862
|
# Gets the value of `bus-name` attribute in the message.
|
|
2733
2863
|
#--
|
|
2734
2864
|
# @rbs return: ::String
|
|
@@ -2737,13 +2867,17 @@ class Devlink < ::Nl::Family
|
|
|
2737
2867
|
#--
|
|
2738
2868
|
# @rbs return: ::String
|
|
2739
2869
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
2870
|
+
# Gets the value of `index` attribute in the message.
|
|
2871
|
+
#--
|
|
2872
|
+
# @rbs return: ::Integer
|
|
2873
|
+
def index; attributes[:"index"]&.value; end
|
|
2740
2874
|
end
|
|
2741
2875
|
# Get shared buffer port-pool combinations and threshold.
|
|
2742
2876
|
class DumpSbPortPoolGetReply < ::Nl::Protocols::Genl::Message
|
|
2743
2877
|
TYPE = 21
|
|
2744
2878
|
FIXED_HEADER = nil
|
|
2745
2879
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2746
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_index])
|
|
2880
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_index index])
|
|
2747
2881
|
# Gets the value of `bus-name` attribute in the message.
|
|
2748
2882
|
#--
|
|
2749
2883
|
# @rbs return: ::String
|
|
@@ -2764,13 +2898,19 @@ class Devlink < ::Nl::Family
|
|
|
2764
2898
|
#--
|
|
2765
2899
|
# @rbs return: ::Integer
|
|
2766
2900
|
def sb_pool_index; attributes[:"sb_pool_index"]&.value; end
|
|
2901
|
+
# Gets the value of `index` attribute in the message.
|
|
2902
|
+
#--
|
|
2903
|
+
# @rbs return: ::Integer
|
|
2904
|
+
def index; attributes[:"index"]&.value; end
|
|
2767
2905
|
end
|
|
2768
2906
|
# Set shared buffer port-pool combinations and threshold.
|
|
2907
|
+
#
|
|
2908
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
2769
2909
|
class DoSbPortPoolSetRequest < ::Nl::Protocols::Genl::Message
|
|
2770
2910
|
TYPE = 20
|
|
2771
2911
|
FIXED_HEADER = nil
|
|
2772
2912
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2773
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_index sb_threshold])
|
|
2913
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_index sb_threshold index])
|
|
2774
2914
|
# Gets the value of `bus-name` attribute in the message.
|
|
2775
2915
|
#--
|
|
2776
2916
|
# @rbs return: ::String
|
|
@@ -2795,13 +2935,17 @@ class Devlink < ::Nl::Family
|
|
|
2795
2935
|
#--
|
|
2796
2936
|
# @rbs return: ::Integer
|
|
2797
2937
|
def sb_threshold; attributes[:"sb_threshold"]&.value; end
|
|
2938
|
+
# Gets the value of `index` attribute in the message.
|
|
2939
|
+
#--
|
|
2940
|
+
# @rbs return: ::Integer
|
|
2941
|
+
def index; attributes[:"index"]&.value; end
|
|
2798
2942
|
end
|
|
2799
2943
|
# Get shared buffer port-TC to pool bindings and threshold.
|
|
2800
2944
|
class DoSbTcPoolBindGetRequest < ::Nl::Protocols::Genl::Message
|
|
2801
2945
|
TYPE = 23
|
|
2802
2946
|
FIXED_HEADER = nil
|
|
2803
2947
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2804
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_type sb_tc_index])
|
|
2948
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_type sb_tc_index index])
|
|
2805
2949
|
# Gets the value of `bus-name` attribute in the message.
|
|
2806
2950
|
#--
|
|
2807
2951
|
# @rbs return: ::String
|
|
@@ -2826,13 +2970,17 @@ class Devlink < ::Nl::Family
|
|
|
2826
2970
|
#--
|
|
2827
2971
|
# @rbs return: ::Integer
|
|
2828
2972
|
def sb_tc_index; attributes[:"sb_tc_index"]&.value; end
|
|
2973
|
+
# Gets the value of `index` attribute in the message.
|
|
2974
|
+
#--
|
|
2975
|
+
# @rbs return: ::Integer
|
|
2976
|
+
def index; attributes[:"index"]&.value; end
|
|
2829
2977
|
end
|
|
2830
2978
|
# Get shared buffer port-TC to pool bindings and threshold.
|
|
2831
2979
|
class DoSbTcPoolBindGetReply < ::Nl::Protocols::Genl::Message
|
|
2832
2980
|
TYPE = 25
|
|
2833
2981
|
FIXED_HEADER = nil
|
|
2834
2982
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2835
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_type sb_tc_index])
|
|
2983
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_type sb_tc_index index])
|
|
2836
2984
|
# Gets the value of `bus-name` attribute in the message.
|
|
2837
2985
|
#--
|
|
2838
2986
|
# @rbs return: ::String
|
|
@@ -2857,13 +3005,17 @@ class Devlink < ::Nl::Family
|
|
|
2857
3005
|
#--
|
|
2858
3006
|
# @rbs return: ::Integer
|
|
2859
3007
|
def sb_tc_index; attributes[:"sb_tc_index"]&.value; end
|
|
3008
|
+
# Gets the value of `index` attribute in the message.
|
|
3009
|
+
#--
|
|
3010
|
+
# @rbs return: ::Integer
|
|
3011
|
+
def index; attributes[:"index"]&.value; end
|
|
2860
3012
|
end
|
|
2861
3013
|
# Get shared buffer port-TC to pool bindings and threshold.
|
|
2862
3014
|
class DumpSbTcPoolBindGetRequest < ::Nl::Protocols::Genl::Message
|
|
2863
3015
|
TYPE = 23
|
|
2864
3016
|
FIXED_HEADER = nil
|
|
2865
3017
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2866
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
3018
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
2867
3019
|
# Gets the value of `bus-name` attribute in the message.
|
|
2868
3020
|
#--
|
|
2869
3021
|
# @rbs return: ::String
|
|
@@ -2872,13 +3024,17 @@ class Devlink < ::Nl::Family
|
|
|
2872
3024
|
#--
|
|
2873
3025
|
# @rbs return: ::String
|
|
2874
3026
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
3027
|
+
# Gets the value of `index` attribute in the message.
|
|
3028
|
+
#--
|
|
3029
|
+
# @rbs return: ::Integer
|
|
3030
|
+
def index; attributes[:"index"]&.value; end
|
|
2875
3031
|
end
|
|
2876
3032
|
# Get shared buffer port-TC to pool bindings and threshold.
|
|
2877
3033
|
class DumpSbTcPoolBindGetReply < ::Nl::Protocols::Genl::Message
|
|
2878
3034
|
TYPE = 25
|
|
2879
3035
|
FIXED_HEADER = nil
|
|
2880
3036
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2881
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_type sb_tc_index])
|
|
3037
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_type sb_tc_index index])
|
|
2882
3038
|
# Gets the value of `bus-name` attribute in the message.
|
|
2883
3039
|
#--
|
|
2884
3040
|
# @rbs return: ::String
|
|
@@ -2903,13 +3059,19 @@ class Devlink < ::Nl::Family
|
|
|
2903
3059
|
#--
|
|
2904
3060
|
# @rbs return: ::Integer
|
|
2905
3061
|
def sb_tc_index; attributes[:"sb_tc_index"]&.value; end
|
|
3062
|
+
# Gets the value of `index` attribute in the message.
|
|
3063
|
+
#--
|
|
3064
|
+
# @rbs return: ::Integer
|
|
3065
|
+
def index; attributes[:"index"]&.value; end
|
|
2906
3066
|
end
|
|
2907
3067
|
# Set shared buffer port-TC to pool bindings and threshold.
|
|
3068
|
+
#
|
|
3069
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
2908
3070
|
class DoSbTcPoolBindSetRequest < ::Nl::Protocols::Genl::Message
|
|
2909
3071
|
TYPE = 24
|
|
2910
3072
|
FIXED_HEADER = nil
|
|
2911
3073
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2912
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_index sb_pool_type sb_threshold sb_tc_index])
|
|
3074
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_index sb_pool_type sb_threshold sb_tc_index index])
|
|
2913
3075
|
# Gets the value of `bus-name` attribute in the message.
|
|
2914
3076
|
#--
|
|
2915
3077
|
# @rbs return: ::String
|
|
@@ -2942,13 +3104,19 @@ class Devlink < ::Nl::Family
|
|
|
2942
3104
|
#--
|
|
2943
3105
|
# @rbs return: ::Integer
|
|
2944
3106
|
def sb_tc_index; attributes[:"sb_tc_index"]&.value; end
|
|
3107
|
+
# Gets the value of `index` attribute in the message.
|
|
3108
|
+
#--
|
|
3109
|
+
# @rbs return: ::Integer
|
|
3110
|
+
def index; attributes[:"index"]&.value; end
|
|
2945
3111
|
end
|
|
2946
3112
|
# Take occupancy snapshot of shared buffer.
|
|
3113
|
+
#
|
|
3114
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
2947
3115
|
class DoSbOccSnapshotRequest < ::Nl::Protocols::Genl::Message
|
|
2948
3116
|
TYPE = 27
|
|
2949
3117
|
FIXED_HEADER = nil
|
|
2950
3118
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2951
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index])
|
|
3119
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index index])
|
|
2952
3120
|
# Gets the value of `bus-name` attribute in the message.
|
|
2953
3121
|
#--
|
|
2954
3122
|
# @rbs return: ::String
|
|
@@ -2961,13 +3129,19 @@ class Devlink < ::Nl::Family
|
|
|
2961
3129
|
#--
|
|
2962
3130
|
# @rbs return: ::Integer
|
|
2963
3131
|
def sb_index; attributes[:"sb_index"]&.value; end
|
|
3132
|
+
# Gets the value of `index` attribute in the message.
|
|
3133
|
+
#--
|
|
3134
|
+
# @rbs return: ::Integer
|
|
3135
|
+
def index; attributes[:"index"]&.value; end
|
|
2964
3136
|
end
|
|
2965
3137
|
# Clear occupancy watermarks of shared buffer.
|
|
3138
|
+
#
|
|
3139
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
2966
3140
|
class DoSbOccMaxClearRequest < ::Nl::Protocols::Genl::Message
|
|
2967
3141
|
TYPE = 28
|
|
2968
3142
|
FIXED_HEADER = nil
|
|
2969
3143
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2970
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index])
|
|
3144
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index index])
|
|
2971
3145
|
# Gets the value of `bus-name` attribute in the message.
|
|
2972
3146
|
#--
|
|
2973
3147
|
# @rbs return: ::String
|
|
@@ -2980,13 +3154,19 @@ class Devlink < ::Nl::Family
|
|
|
2980
3154
|
#--
|
|
2981
3155
|
# @rbs return: ::Integer
|
|
2982
3156
|
def sb_index; attributes[:"sb_index"]&.value; end
|
|
3157
|
+
# Gets the value of `index` attribute in the message.
|
|
3158
|
+
#--
|
|
3159
|
+
# @rbs return: ::Integer
|
|
3160
|
+
def index; attributes[:"index"]&.value; end
|
|
2983
3161
|
end
|
|
2984
3162
|
# Get eswitch attributes.
|
|
3163
|
+
#
|
|
3164
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
2985
3165
|
class DoEswitchGetRequest < ::Nl::Protocols::Genl::Message
|
|
2986
3166
|
TYPE = 29
|
|
2987
3167
|
FIXED_HEADER = nil
|
|
2988
3168
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2989
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
3169
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
2990
3170
|
# Gets the value of `bus-name` attribute in the message.
|
|
2991
3171
|
#--
|
|
2992
3172
|
# @rbs return: ::String
|
|
@@ -2995,13 +3175,19 @@ class Devlink < ::Nl::Family
|
|
|
2995
3175
|
#--
|
|
2996
3176
|
# @rbs return: ::String
|
|
2997
3177
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
3178
|
+
# Gets the value of `index` attribute in the message.
|
|
3179
|
+
#--
|
|
3180
|
+
# @rbs return: ::Integer
|
|
3181
|
+
def index; attributes[:"index"]&.value; end
|
|
2998
3182
|
end
|
|
2999
3183
|
# Get eswitch attributes.
|
|
3184
|
+
#
|
|
3185
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
3000
3186
|
class DoEswitchGetReply < ::Nl::Protocols::Genl::Message
|
|
3001
3187
|
TYPE = 29
|
|
3002
3188
|
FIXED_HEADER = nil
|
|
3003
3189
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3004
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name eswitch_mode eswitch_inline_mode eswitch_encap_mode])
|
|
3190
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name eswitch_mode eswitch_inline_mode eswitch_encap_mode index])
|
|
3005
3191
|
# Gets the value of `bus-name` attribute in the message.
|
|
3006
3192
|
#--
|
|
3007
3193
|
# @rbs return: ::String
|
|
@@ -3022,13 +3208,19 @@ class Devlink < ::Nl::Family
|
|
|
3022
3208
|
#--
|
|
3023
3209
|
# @rbs return: ::Integer
|
|
3024
3210
|
def eswitch_encap_mode; attributes[:"eswitch_encap_mode"]&.value; end
|
|
3211
|
+
# Gets the value of `index` attribute in the message.
|
|
3212
|
+
#--
|
|
3213
|
+
# @rbs return: ::Integer
|
|
3214
|
+
def index; attributes[:"index"]&.value; end
|
|
3025
3215
|
end
|
|
3026
3216
|
# Set eswitch attributes.
|
|
3217
|
+
#
|
|
3218
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
3027
3219
|
class DoEswitchSetRequest < ::Nl::Protocols::Genl::Message
|
|
3028
3220
|
TYPE = 30
|
|
3029
3221
|
FIXED_HEADER = nil
|
|
3030
3222
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3031
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name eswitch_mode eswitch_inline_mode eswitch_encap_mode])
|
|
3223
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name eswitch_mode eswitch_inline_mode eswitch_encap_mode index])
|
|
3032
3224
|
# Gets the value of `bus-name` attribute in the message.
|
|
3033
3225
|
#--
|
|
3034
3226
|
# @rbs return: ::String
|
|
@@ -3049,13 +3241,17 @@ class Devlink < ::Nl::Family
|
|
|
3049
3241
|
#--
|
|
3050
3242
|
# @rbs return: ::Integer
|
|
3051
3243
|
def eswitch_encap_mode; attributes[:"eswitch_encap_mode"]&.value; end
|
|
3244
|
+
# Gets the value of `index` attribute in the message.
|
|
3245
|
+
#--
|
|
3246
|
+
# @rbs return: ::Integer
|
|
3247
|
+
def index; attributes[:"index"]&.value; end
|
|
3052
3248
|
end
|
|
3053
3249
|
# Get dpipe table attributes.
|
|
3054
3250
|
class DoDpipeTableGetRequest < ::Nl::Protocols::Genl::Message
|
|
3055
3251
|
TYPE = 31
|
|
3056
3252
|
FIXED_HEADER = nil
|
|
3057
3253
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3058
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_table_name])
|
|
3254
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_table_name index])
|
|
3059
3255
|
# Gets the value of `bus-name` attribute in the message.
|
|
3060
3256
|
#--
|
|
3061
3257
|
# @rbs return: ::String
|
|
@@ -3068,13 +3264,17 @@ class Devlink < ::Nl::Family
|
|
|
3068
3264
|
#--
|
|
3069
3265
|
# @rbs return: ::String
|
|
3070
3266
|
def dpipe_table_name; attributes[:"dpipe_table_name"]&.value; end
|
|
3267
|
+
# Gets the value of `index` attribute in the message.
|
|
3268
|
+
#--
|
|
3269
|
+
# @rbs return: ::Integer
|
|
3270
|
+
def index; attributes[:"index"]&.value; end
|
|
3071
3271
|
end
|
|
3072
3272
|
# Get dpipe table attributes.
|
|
3073
3273
|
class DoDpipeTableGetReply < ::Nl::Protocols::Genl::Message
|
|
3074
3274
|
TYPE = 31
|
|
3075
3275
|
FIXED_HEADER = nil
|
|
3076
3276
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3077
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_tables])
|
|
3277
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_tables index])
|
|
3078
3278
|
# Gets the value of `bus-name` attribute in the message.
|
|
3079
3279
|
#--
|
|
3080
3280
|
# @rbs return: ::String
|
|
@@ -3087,13 +3287,17 @@ class Devlink < ::Nl::Family
|
|
|
3087
3287
|
#--
|
|
3088
3288
|
# @rbs return: AttributeSets::DlDpipeTables
|
|
3089
3289
|
def dpipe_tables; attributes[:"dpipe_tables"]&.value; end
|
|
3290
|
+
# Gets the value of `index` attribute in the message.
|
|
3291
|
+
#--
|
|
3292
|
+
# @rbs return: ::Integer
|
|
3293
|
+
def index; attributes[:"index"]&.value; end
|
|
3090
3294
|
end
|
|
3091
3295
|
# Get dpipe entries attributes.
|
|
3092
3296
|
class DoDpipeEntriesGetRequest < ::Nl::Protocols::Genl::Message
|
|
3093
3297
|
TYPE = 32
|
|
3094
3298
|
FIXED_HEADER = nil
|
|
3095
3299
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3096
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_table_name])
|
|
3300
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_table_name index])
|
|
3097
3301
|
# Gets the value of `bus-name` attribute in the message.
|
|
3098
3302
|
#--
|
|
3099
3303
|
# @rbs return: ::String
|
|
@@ -3106,13 +3310,17 @@ class Devlink < ::Nl::Family
|
|
|
3106
3310
|
#--
|
|
3107
3311
|
# @rbs return: ::String
|
|
3108
3312
|
def dpipe_table_name; attributes[:"dpipe_table_name"]&.value; end
|
|
3313
|
+
# Gets the value of `index` attribute in the message.
|
|
3314
|
+
#--
|
|
3315
|
+
# @rbs return: ::Integer
|
|
3316
|
+
def index; attributes[:"index"]&.value; end
|
|
3109
3317
|
end
|
|
3110
3318
|
# Get dpipe entries attributes.
|
|
3111
3319
|
class DoDpipeEntriesGetReply < ::Nl::Protocols::Genl::Message
|
|
3112
3320
|
TYPE = 32
|
|
3113
3321
|
FIXED_HEADER = nil
|
|
3114
3322
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3115
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_entries])
|
|
3323
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_entries index])
|
|
3116
3324
|
# Gets the value of `bus-name` attribute in the message.
|
|
3117
3325
|
#--
|
|
3118
3326
|
# @rbs return: ::String
|
|
@@ -3125,13 +3333,17 @@ class Devlink < ::Nl::Family
|
|
|
3125
3333
|
#--
|
|
3126
3334
|
# @rbs return: AttributeSets::DlDpipeEntries
|
|
3127
3335
|
def dpipe_entries; attributes[:"dpipe_entries"]&.value; end
|
|
3336
|
+
# Gets the value of `index` attribute in the message.
|
|
3337
|
+
#--
|
|
3338
|
+
# @rbs return: ::Integer
|
|
3339
|
+
def index; attributes[:"index"]&.value; end
|
|
3128
3340
|
end
|
|
3129
3341
|
# Get dpipe headers attributes.
|
|
3130
3342
|
class DoDpipeHeadersGetRequest < ::Nl::Protocols::Genl::Message
|
|
3131
3343
|
TYPE = 33
|
|
3132
3344
|
FIXED_HEADER = nil
|
|
3133
3345
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3134
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
3346
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
3135
3347
|
# Gets the value of `bus-name` attribute in the message.
|
|
3136
3348
|
#--
|
|
3137
3349
|
# @rbs return: ::String
|
|
@@ -3140,13 +3352,17 @@ class Devlink < ::Nl::Family
|
|
|
3140
3352
|
#--
|
|
3141
3353
|
# @rbs return: ::String
|
|
3142
3354
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
3355
|
+
# Gets the value of `index` attribute in the message.
|
|
3356
|
+
#--
|
|
3357
|
+
# @rbs return: ::Integer
|
|
3358
|
+
def index; attributes[:"index"]&.value; end
|
|
3143
3359
|
end
|
|
3144
3360
|
# Get dpipe headers attributes.
|
|
3145
3361
|
class DoDpipeHeadersGetReply < ::Nl::Protocols::Genl::Message
|
|
3146
3362
|
TYPE = 33
|
|
3147
3363
|
FIXED_HEADER = nil
|
|
3148
3364
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3149
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_headers])
|
|
3365
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_headers index])
|
|
3150
3366
|
# Gets the value of `bus-name` attribute in the message.
|
|
3151
3367
|
#--
|
|
3152
3368
|
# @rbs return: ::String
|
|
@@ -3159,13 +3375,19 @@ class Devlink < ::Nl::Family
|
|
|
3159
3375
|
#--
|
|
3160
3376
|
# @rbs return: AttributeSets::DlDpipeHeaders
|
|
3161
3377
|
def dpipe_headers; attributes[:"dpipe_headers"]&.value; end
|
|
3378
|
+
# Gets the value of `index` attribute in the message.
|
|
3379
|
+
#--
|
|
3380
|
+
# @rbs return: ::Integer
|
|
3381
|
+
def index; attributes[:"index"]&.value; end
|
|
3162
3382
|
end
|
|
3163
3383
|
# Set dpipe counter attributes.
|
|
3384
|
+
#
|
|
3385
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
3164
3386
|
class DoDpipeTableCountersSetRequest < ::Nl::Protocols::Genl::Message
|
|
3165
3387
|
TYPE = 34
|
|
3166
3388
|
FIXED_HEADER = nil
|
|
3167
3389
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3168
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_table_name dpipe_table_counters_enabled])
|
|
3390
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_table_name dpipe_table_counters_enabled index])
|
|
3169
3391
|
# Gets the value of `bus-name` attribute in the message.
|
|
3170
3392
|
#--
|
|
3171
3393
|
# @rbs return: ::String
|
|
@@ -3182,13 +3404,19 @@ class Devlink < ::Nl::Family
|
|
|
3182
3404
|
#--
|
|
3183
3405
|
# @rbs return: ::Integer
|
|
3184
3406
|
def dpipe_table_counters_enabled; attributes[:"dpipe_table_counters_enabled"]&.value; end
|
|
3407
|
+
# Gets the value of `index` attribute in the message.
|
|
3408
|
+
#--
|
|
3409
|
+
# @rbs return: ::Integer
|
|
3410
|
+
def index; attributes[:"index"]&.value; end
|
|
3185
3411
|
end
|
|
3186
3412
|
# Set resource attributes.
|
|
3413
|
+
#
|
|
3414
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
3187
3415
|
class DoResourceSetRequest < ::Nl::Protocols::Genl::Message
|
|
3188
3416
|
TYPE = 35
|
|
3189
3417
|
FIXED_HEADER = nil
|
|
3190
3418
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3191
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name resource_id resource_size])
|
|
3419
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name resource_id resource_size index])
|
|
3192
3420
|
# Gets the value of `bus-name` attribute in the message.
|
|
3193
3421
|
#--
|
|
3194
3422
|
# @rbs return: ::String
|
|
@@ -3205,13 +3433,17 @@ class Devlink < ::Nl::Family
|
|
|
3205
3433
|
#--
|
|
3206
3434
|
# @rbs return: ::Integer
|
|
3207
3435
|
def resource_size; attributes[:"resource_size"]&.value; end
|
|
3436
|
+
# Gets the value of `index` attribute in the message.
|
|
3437
|
+
#--
|
|
3438
|
+
# @rbs return: ::Integer
|
|
3439
|
+
def index; attributes[:"index"]&.value; end
|
|
3208
3440
|
end
|
|
3209
3441
|
# Get resource attributes.
|
|
3210
3442
|
class DoResourceDumpRequest < ::Nl::Protocols::Genl::Message
|
|
3211
3443
|
TYPE = 36
|
|
3212
3444
|
FIXED_HEADER = nil
|
|
3213
3445
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3214
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
3446
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
3215
3447
|
# Gets the value of `bus-name` attribute in the message.
|
|
3216
3448
|
#--
|
|
3217
3449
|
# @rbs return: ::String
|
|
@@ -3220,13 +3452,21 @@ class Devlink < ::Nl::Family
|
|
|
3220
3452
|
#--
|
|
3221
3453
|
# @rbs return: ::String
|
|
3222
3454
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
3455
|
+
# Gets the value of `port-index` attribute in the message.
|
|
3456
|
+
#--
|
|
3457
|
+
# @rbs return: ::Integer
|
|
3458
|
+
def port_index; attributes[:"port_index"]&.value; end
|
|
3459
|
+
# Gets the value of `index` attribute in the message.
|
|
3460
|
+
#--
|
|
3461
|
+
# @rbs return: ::Integer
|
|
3462
|
+
def index; attributes[:"index"]&.value; end
|
|
3223
3463
|
end
|
|
3224
3464
|
# Get resource attributes.
|
|
3225
3465
|
class DoResourceDumpReply < ::Nl::Protocols::Genl::Message
|
|
3226
3466
|
TYPE = 36
|
|
3227
3467
|
FIXED_HEADER = nil
|
|
3228
3468
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3229
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name resource_list])
|
|
3469
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index resource_list index])
|
|
3230
3470
|
# Gets the value of `bus-name` attribute in the message.
|
|
3231
3471
|
#--
|
|
3232
3472
|
# @rbs return: ::String
|
|
@@ -3235,17 +3475,77 @@ class Devlink < ::Nl::Family
|
|
|
3235
3475
|
#--
|
|
3236
3476
|
# @rbs return: ::String
|
|
3237
3477
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
3478
|
+
# Gets the value of `port-index` attribute in the message.
|
|
3479
|
+
#--
|
|
3480
|
+
# @rbs return: ::Integer
|
|
3481
|
+
def port_index; attributes[:"port_index"]&.value; end
|
|
3238
3482
|
# Gets the value of `resource-list` attribute in the message.
|
|
3239
3483
|
#--
|
|
3240
3484
|
# @rbs return: AttributeSets::DlResourceList
|
|
3241
3485
|
def resource_list; attributes[:"resource_list"]&.value; end
|
|
3486
|
+
# Gets the value of `index` attribute in the message.
|
|
3487
|
+
#--
|
|
3488
|
+
# @rbs return: ::Integer
|
|
3489
|
+
def index; attributes[:"index"]&.value; end
|
|
3490
|
+
end
|
|
3491
|
+
# Get resource attributes.
|
|
3492
|
+
class DumpResourceDumpRequest < ::Nl::Protocols::Genl::Message
|
|
3493
|
+
TYPE = 36
|
|
3494
|
+
FIXED_HEADER = nil
|
|
3495
|
+
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3496
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index resource_scope_mask])
|
|
3497
|
+
# Gets the value of `bus-name` attribute in the message.
|
|
3498
|
+
#--
|
|
3499
|
+
# @rbs return: ::String
|
|
3500
|
+
def bus_name; attributes[:"bus_name"]&.value; end
|
|
3501
|
+
# Gets the value of `dev-name` attribute in the message.
|
|
3502
|
+
#--
|
|
3503
|
+
# @rbs return: ::String
|
|
3504
|
+
def dev_name; attributes[:"dev_name"]&.value; end
|
|
3505
|
+
# Gets the value of `index` attribute in the message.
|
|
3506
|
+
#--
|
|
3507
|
+
# @rbs return: ::Integer
|
|
3508
|
+
def index; attributes[:"index"]&.value; end
|
|
3509
|
+
# Gets the value of `resource-scope-mask` attribute in the message.
|
|
3510
|
+
#--
|
|
3511
|
+
# @rbs return: ::Integer
|
|
3512
|
+
def resource_scope_mask; attributes[:"resource_scope_mask"]&.value; end
|
|
3513
|
+
end
|
|
3514
|
+
# Get resource attributes.
|
|
3515
|
+
class DumpResourceDumpReply < ::Nl::Protocols::Genl::Message
|
|
3516
|
+
TYPE = 36
|
|
3517
|
+
FIXED_HEADER = nil
|
|
3518
|
+
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3519
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index resource_list index])
|
|
3520
|
+
# Gets the value of `bus-name` attribute in the message.
|
|
3521
|
+
#--
|
|
3522
|
+
# @rbs return: ::String
|
|
3523
|
+
def bus_name; attributes[:"bus_name"]&.value; end
|
|
3524
|
+
# Gets the value of `dev-name` attribute in the message.
|
|
3525
|
+
#--
|
|
3526
|
+
# @rbs return: ::String
|
|
3527
|
+
def dev_name; attributes[:"dev_name"]&.value; end
|
|
3528
|
+
# Gets the value of `port-index` attribute in the message.
|
|
3529
|
+
#--
|
|
3530
|
+
# @rbs return: ::Integer
|
|
3531
|
+
def port_index; attributes[:"port_index"]&.value; end
|
|
3532
|
+
# Gets the value of `resource-list` attribute in the message.
|
|
3533
|
+
#--
|
|
3534
|
+
# @rbs return: AttributeSets::DlResourceList
|
|
3535
|
+
def resource_list; attributes[:"resource_list"]&.value; end
|
|
3536
|
+
# Gets the value of `index` attribute in the message.
|
|
3537
|
+
#--
|
|
3538
|
+
# @rbs return: ::Integer
|
|
3539
|
+
def index; attributes[:"index"]&.value; end
|
|
3242
3540
|
end
|
|
3243
3541
|
# Reload devlink.
|
|
3542
|
+
#
|
|
3543
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
3244
3544
|
class DoReloadRequest < ::Nl::Protocols::Genl::Message
|
|
3245
3545
|
TYPE = 37
|
|
3246
3546
|
FIXED_HEADER = nil
|
|
3247
3547
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3248
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name netns_fd netns_pid netns_id reload_action reload_limits])
|
|
3548
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name netns_fd netns_pid netns_id reload_action reload_limits index])
|
|
3249
3549
|
# Gets the value of `bus-name` attribute in the message.
|
|
3250
3550
|
#--
|
|
3251
3551
|
# @rbs return: ::String
|
|
@@ -3274,13 +3574,19 @@ class Devlink < ::Nl::Family
|
|
|
3274
3574
|
#--
|
|
3275
3575
|
# @rbs return: ::Integer
|
|
3276
3576
|
def reload_limits; attributes[:"reload_limits"]&.value; end
|
|
3577
|
+
# Gets the value of `index` attribute in the message.
|
|
3578
|
+
#--
|
|
3579
|
+
# @rbs return: ::Integer
|
|
3580
|
+
def index; attributes[:"index"]&.value; end
|
|
3277
3581
|
end
|
|
3278
3582
|
# Reload devlink.
|
|
3583
|
+
#
|
|
3584
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
3279
3585
|
class DoReloadReply < ::Nl::Protocols::Genl::Message
|
|
3280
3586
|
TYPE = 37
|
|
3281
3587
|
FIXED_HEADER = nil
|
|
3282
3588
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3283
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name reload_actions_performed])
|
|
3589
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name reload_actions_performed index])
|
|
3284
3590
|
# Gets the value of `bus-name` attribute in the message.
|
|
3285
3591
|
#--
|
|
3286
3592
|
# @rbs return: ::String
|
|
@@ -3293,13 +3599,17 @@ class Devlink < ::Nl::Family
|
|
|
3293
3599
|
#--
|
|
3294
3600
|
# @rbs return: ::Integer
|
|
3295
3601
|
def reload_actions_performed; attributes[:"reload_actions_performed"]&.value; end
|
|
3602
|
+
# Gets the value of `index` attribute in the message.
|
|
3603
|
+
#--
|
|
3604
|
+
# @rbs return: ::Integer
|
|
3605
|
+
def index; attributes[:"index"]&.value; end
|
|
3296
3606
|
end
|
|
3297
3607
|
# Get param instances.
|
|
3298
3608
|
class DoParamGetRequest < ::Nl::Protocols::Genl::Message
|
|
3299
3609
|
TYPE = 38
|
|
3300
3610
|
FIXED_HEADER = nil
|
|
3301
3611
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3302
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name param_name])
|
|
3612
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name param_name index])
|
|
3303
3613
|
# Gets the value of `bus-name` attribute in the message.
|
|
3304
3614
|
#--
|
|
3305
3615
|
# @rbs return: ::String
|
|
@@ -3312,13 +3622,17 @@ class Devlink < ::Nl::Family
|
|
|
3312
3622
|
#--
|
|
3313
3623
|
# @rbs return: ::String
|
|
3314
3624
|
def param_name; attributes[:"param_name"]&.value; end
|
|
3625
|
+
# Gets the value of `index` attribute in the message.
|
|
3626
|
+
#--
|
|
3627
|
+
# @rbs return: ::Integer
|
|
3628
|
+
def index; attributes[:"index"]&.value; end
|
|
3315
3629
|
end
|
|
3316
3630
|
# Get param instances.
|
|
3317
3631
|
class DoParamGetReply < ::Nl::Protocols::Genl::Message
|
|
3318
3632
|
TYPE = 38
|
|
3319
3633
|
FIXED_HEADER = nil
|
|
3320
3634
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3321
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name param_name])
|
|
3635
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name param_name index])
|
|
3322
3636
|
# Gets the value of `bus-name` attribute in the message.
|
|
3323
3637
|
#--
|
|
3324
3638
|
# @rbs return: ::String
|
|
@@ -3331,13 +3645,17 @@ class Devlink < ::Nl::Family
|
|
|
3331
3645
|
#--
|
|
3332
3646
|
# @rbs return: ::String
|
|
3333
3647
|
def param_name; attributes[:"param_name"]&.value; end
|
|
3648
|
+
# Gets the value of `index` attribute in the message.
|
|
3649
|
+
#--
|
|
3650
|
+
# @rbs return: ::Integer
|
|
3651
|
+
def index; attributes[:"index"]&.value; end
|
|
3334
3652
|
end
|
|
3335
3653
|
# Get param instances.
|
|
3336
3654
|
class DumpParamGetRequest < ::Nl::Protocols::Genl::Message
|
|
3337
3655
|
TYPE = 38
|
|
3338
3656
|
FIXED_HEADER = nil
|
|
3339
3657
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3340
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
3658
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
3341
3659
|
# Gets the value of `bus-name` attribute in the message.
|
|
3342
3660
|
#--
|
|
3343
3661
|
# @rbs return: ::String
|
|
@@ -3346,13 +3664,17 @@ class Devlink < ::Nl::Family
|
|
|
3346
3664
|
#--
|
|
3347
3665
|
# @rbs return: ::String
|
|
3348
3666
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
3667
|
+
# Gets the value of `index` attribute in the message.
|
|
3668
|
+
#--
|
|
3669
|
+
# @rbs return: ::Integer
|
|
3670
|
+
def index; attributes[:"index"]&.value; end
|
|
3349
3671
|
end
|
|
3350
3672
|
# Get param instances.
|
|
3351
3673
|
class DumpParamGetReply < ::Nl::Protocols::Genl::Message
|
|
3352
3674
|
TYPE = 38
|
|
3353
3675
|
FIXED_HEADER = nil
|
|
3354
3676
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3355
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name param_name])
|
|
3677
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name param_name index])
|
|
3356
3678
|
# Gets the value of `bus-name` attribute in the message.
|
|
3357
3679
|
#--
|
|
3358
3680
|
# @rbs return: ::String
|
|
@@ -3365,13 +3687,19 @@ class Devlink < ::Nl::Family
|
|
|
3365
3687
|
#--
|
|
3366
3688
|
# @rbs return: ::String
|
|
3367
3689
|
def param_name; attributes[:"param_name"]&.value; end
|
|
3690
|
+
# Gets the value of `index` attribute in the message.
|
|
3691
|
+
#--
|
|
3692
|
+
# @rbs return: ::Integer
|
|
3693
|
+
def index; attributes[:"index"]&.value; end
|
|
3368
3694
|
end
|
|
3369
3695
|
# Set param instances.
|
|
3696
|
+
#
|
|
3697
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
3370
3698
|
class DoParamSetRequest < ::Nl::Protocols::Genl::Message
|
|
3371
3699
|
TYPE = 39
|
|
3372
3700
|
FIXED_HEADER = nil
|
|
3373
3701
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3374
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name param_name param_type param_value_cmode param_reset_default])
|
|
3702
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name param_name param_type param_value_cmode param_reset_default index])
|
|
3375
3703
|
# Gets the value of `bus-name` attribute in the message.
|
|
3376
3704
|
#--
|
|
3377
3705
|
# @rbs return: ::String
|
|
@@ -3396,13 +3724,17 @@ class Devlink < ::Nl::Family
|
|
|
3396
3724
|
#--
|
|
3397
3725
|
# @rbs return: ::Integer
|
|
3398
3726
|
def param_reset_default; attributes[:"param_reset_default"]&.value; end
|
|
3727
|
+
# Gets the value of `index` attribute in the message.
|
|
3728
|
+
#--
|
|
3729
|
+
# @rbs return: ::Integer
|
|
3730
|
+
def index; attributes[:"index"]&.value; end
|
|
3399
3731
|
end
|
|
3400
3732
|
# Get region instances.
|
|
3401
3733
|
class DoRegionGetRequest < ::Nl::Protocols::Genl::Message
|
|
3402
3734
|
TYPE = 42
|
|
3403
3735
|
FIXED_HEADER = nil
|
|
3404
3736
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3405
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name])
|
|
3737
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name index])
|
|
3406
3738
|
# Gets the value of `bus-name` attribute in the message.
|
|
3407
3739
|
#--
|
|
3408
3740
|
# @rbs return: ::String
|
|
@@ -3419,13 +3751,17 @@ class Devlink < ::Nl::Family
|
|
|
3419
3751
|
#--
|
|
3420
3752
|
# @rbs return: ::String
|
|
3421
3753
|
def region_name; attributes[:"region_name"]&.value; end
|
|
3754
|
+
# Gets the value of `index` attribute in the message.
|
|
3755
|
+
#--
|
|
3756
|
+
# @rbs return: ::Integer
|
|
3757
|
+
def index; attributes[:"index"]&.value; end
|
|
3422
3758
|
end
|
|
3423
3759
|
# Get region instances.
|
|
3424
3760
|
class DoRegionGetReply < ::Nl::Protocols::Genl::Message
|
|
3425
3761
|
TYPE = 42
|
|
3426
3762
|
FIXED_HEADER = nil
|
|
3427
3763
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3428
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name])
|
|
3764
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name index])
|
|
3429
3765
|
# Gets the value of `bus-name` attribute in the message.
|
|
3430
3766
|
#--
|
|
3431
3767
|
# @rbs return: ::String
|
|
@@ -3442,13 +3778,17 @@ class Devlink < ::Nl::Family
|
|
|
3442
3778
|
#--
|
|
3443
3779
|
# @rbs return: ::String
|
|
3444
3780
|
def region_name; attributes[:"region_name"]&.value; end
|
|
3781
|
+
# Gets the value of `index` attribute in the message.
|
|
3782
|
+
#--
|
|
3783
|
+
# @rbs return: ::Integer
|
|
3784
|
+
def index; attributes[:"index"]&.value; end
|
|
3445
3785
|
end
|
|
3446
3786
|
# Get region instances.
|
|
3447
3787
|
class DumpRegionGetRequest < ::Nl::Protocols::Genl::Message
|
|
3448
3788
|
TYPE = 42
|
|
3449
3789
|
FIXED_HEADER = nil
|
|
3450
3790
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3451
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
3791
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
3452
3792
|
# Gets the value of `bus-name` attribute in the message.
|
|
3453
3793
|
#--
|
|
3454
3794
|
# @rbs return: ::String
|
|
@@ -3457,13 +3797,17 @@ class Devlink < ::Nl::Family
|
|
|
3457
3797
|
#--
|
|
3458
3798
|
# @rbs return: ::String
|
|
3459
3799
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
3800
|
+
# Gets the value of `index` attribute in the message.
|
|
3801
|
+
#--
|
|
3802
|
+
# @rbs return: ::Integer
|
|
3803
|
+
def index; attributes[:"index"]&.value; end
|
|
3460
3804
|
end
|
|
3461
3805
|
# Get region instances.
|
|
3462
3806
|
class DumpRegionGetReply < ::Nl::Protocols::Genl::Message
|
|
3463
3807
|
TYPE = 42
|
|
3464
3808
|
FIXED_HEADER = nil
|
|
3465
3809
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3466
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name])
|
|
3810
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name index])
|
|
3467
3811
|
# Gets the value of `bus-name` attribute in the message.
|
|
3468
3812
|
#--
|
|
3469
3813
|
# @rbs return: ::String
|
|
@@ -3480,13 +3824,19 @@ class Devlink < ::Nl::Family
|
|
|
3480
3824
|
#--
|
|
3481
3825
|
# @rbs return: ::String
|
|
3482
3826
|
def region_name; attributes[:"region_name"]&.value; end
|
|
3827
|
+
# Gets the value of `index` attribute in the message.
|
|
3828
|
+
#--
|
|
3829
|
+
# @rbs return: ::Integer
|
|
3830
|
+
def index; attributes[:"index"]&.value; end
|
|
3483
3831
|
end
|
|
3484
3832
|
# Create region snapshot.
|
|
3833
|
+
#
|
|
3834
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
3485
3835
|
class DoRegionNewRequest < ::Nl::Protocols::Genl::Message
|
|
3486
3836
|
TYPE = 44
|
|
3487
3837
|
FIXED_HEADER = nil
|
|
3488
3838
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3489
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name region_snapshot_id])
|
|
3839
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name region_snapshot_id index])
|
|
3490
3840
|
# Gets the value of `bus-name` attribute in the message.
|
|
3491
3841
|
#--
|
|
3492
3842
|
# @rbs return: ::String
|
|
@@ -3507,13 +3857,19 @@ class Devlink < ::Nl::Family
|
|
|
3507
3857
|
#--
|
|
3508
3858
|
# @rbs return: ::Integer
|
|
3509
3859
|
def region_snapshot_id; attributes[:"region_snapshot_id"]&.value; end
|
|
3860
|
+
# Gets the value of `index` attribute in the message.
|
|
3861
|
+
#--
|
|
3862
|
+
# @rbs return: ::Integer
|
|
3863
|
+
def index; attributes[:"index"]&.value; end
|
|
3510
3864
|
end
|
|
3511
3865
|
# Create region snapshot.
|
|
3866
|
+
#
|
|
3867
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
3512
3868
|
class DoRegionNewReply < ::Nl::Protocols::Genl::Message
|
|
3513
3869
|
TYPE = 44
|
|
3514
3870
|
FIXED_HEADER = nil
|
|
3515
3871
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3516
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name region_snapshot_id])
|
|
3872
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name region_snapshot_id index])
|
|
3517
3873
|
# Gets the value of `bus-name` attribute in the message.
|
|
3518
3874
|
#--
|
|
3519
3875
|
# @rbs return: ::String
|
|
@@ -3534,13 +3890,19 @@ class Devlink < ::Nl::Family
|
|
|
3534
3890
|
#--
|
|
3535
3891
|
# @rbs return: ::Integer
|
|
3536
3892
|
def region_snapshot_id; attributes[:"region_snapshot_id"]&.value; end
|
|
3893
|
+
# Gets the value of `index` attribute in the message.
|
|
3894
|
+
#--
|
|
3895
|
+
# @rbs return: ::Integer
|
|
3896
|
+
def index; attributes[:"index"]&.value; end
|
|
3537
3897
|
end
|
|
3538
3898
|
# Delete region snapshot.
|
|
3899
|
+
#
|
|
3900
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
3539
3901
|
class DoRegionDelRequest < ::Nl::Protocols::Genl::Message
|
|
3540
3902
|
TYPE = 45
|
|
3541
3903
|
FIXED_HEADER = nil
|
|
3542
3904
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3543
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name region_snapshot_id])
|
|
3905
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name region_snapshot_id index])
|
|
3544
3906
|
# Gets the value of `bus-name` attribute in the message.
|
|
3545
3907
|
#--
|
|
3546
3908
|
# @rbs return: ::String
|
|
@@ -3561,13 +3923,19 @@ class Devlink < ::Nl::Family
|
|
|
3561
3923
|
#--
|
|
3562
3924
|
# @rbs return: ::Integer
|
|
3563
3925
|
def region_snapshot_id; attributes[:"region_snapshot_id"]&.value; end
|
|
3926
|
+
# Gets the value of `index` attribute in the message.
|
|
3927
|
+
#--
|
|
3928
|
+
# @rbs return: ::Integer
|
|
3929
|
+
def index; attributes[:"index"]&.value; end
|
|
3564
3930
|
end
|
|
3565
3931
|
# Read region data.
|
|
3932
|
+
#
|
|
3933
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
3566
3934
|
class DumpRegionReadRequest < ::Nl::Protocols::Genl::Message
|
|
3567
3935
|
TYPE = 46
|
|
3568
3936
|
FIXED_HEADER = nil
|
|
3569
3937
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3570
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name region_snapshot_id region_chunk_addr region_chunk_len region_direct])
|
|
3938
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name region_snapshot_id region_chunk_addr region_chunk_len region_direct index])
|
|
3571
3939
|
# Gets the value of `bus-name` attribute in the message.
|
|
3572
3940
|
#--
|
|
3573
3941
|
# @rbs return: ::String
|
|
@@ -3600,13 +3968,19 @@ class Devlink < ::Nl::Family
|
|
|
3600
3968
|
#--
|
|
3601
3969
|
# @rbs return: ::Integer
|
|
3602
3970
|
def region_direct; attributes[:"region_direct"]&.value; end
|
|
3971
|
+
# Gets the value of `index` attribute in the message.
|
|
3972
|
+
#--
|
|
3973
|
+
# @rbs return: ::Integer
|
|
3974
|
+
def index; attributes[:"index"]&.value; end
|
|
3603
3975
|
end
|
|
3604
3976
|
# Read region data.
|
|
3977
|
+
#
|
|
3978
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
3605
3979
|
class DumpRegionReadReply < ::Nl::Protocols::Genl::Message
|
|
3606
3980
|
TYPE = 46
|
|
3607
3981
|
FIXED_HEADER = nil
|
|
3608
3982
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3609
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name])
|
|
3983
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name index])
|
|
3610
3984
|
# Gets the value of `bus-name` attribute in the message.
|
|
3611
3985
|
#--
|
|
3612
3986
|
# @rbs return: ::String
|
|
@@ -3623,13 +3997,17 @@ class Devlink < ::Nl::Family
|
|
|
3623
3997
|
#--
|
|
3624
3998
|
# @rbs return: ::String
|
|
3625
3999
|
def region_name; attributes[:"region_name"]&.value; end
|
|
4000
|
+
# Gets the value of `index` attribute in the message.
|
|
4001
|
+
#--
|
|
4002
|
+
# @rbs return: ::Integer
|
|
4003
|
+
def index; attributes[:"index"]&.value; end
|
|
3626
4004
|
end
|
|
3627
4005
|
# Get port param instances.
|
|
3628
4006
|
class DoPortParamGetRequest < ::Nl::Protocols::Genl::Message
|
|
3629
4007
|
TYPE = 47
|
|
3630
4008
|
FIXED_HEADER = nil
|
|
3631
4009
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3632
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
4010
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
3633
4011
|
# Gets the value of `bus-name` attribute in the message.
|
|
3634
4012
|
#--
|
|
3635
4013
|
# @rbs return: ::String
|
|
@@ -3642,13 +4020,17 @@ class Devlink < ::Nl::Family
|
|
|
3642
4020
|
#--
|
|
3643
4021
|
# @rbs return: ::Integer
|
|
3644
4022
|
def port_index; attributes[:"port_index"]&.value; end
|
|
4023
|
+
# Gets the value of `index` attribute in the message.
|
|
4024
|
+
#--
|
|
4025
|
+
# @rbs return: ::Integer
|
|
4026
|
+
def index; attributes[:"index"]&.value; end
|
|
3645
4027
|
end
|
|
3646
4028
|
# Get port param instances.
|
|
3647
4029
|
class DoPortParamGetReply < ::Nl::Protocols::Genl::Message
|
|
3648
4030
|
TYPE = 47
|
|
3649
4031
|
FIXED_HEADER = nil
|
|
3650
4032
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3651
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
4033
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
3652
4034
|
# Gets the value of `bus-name` attribute in the message.
|
|
3653
4035
|
#--
|
|
3654
4036
|
# @rbs return: ::String
|
|
@@ -3661,13 +4043,24 @@ class Devlink < ::Nl::Family
|
|
|
3661
4043
|
#--
|
|
3662
4044
|
# @rbs return: ::Integer
|
|
3663
4045
|
def port_index; attributes[:"port_index"]&.value; end
|
|
4046
|
+
# Gets the value of `index` attribute in the message.
|
|
4047
|
+
#--
|
|
4048
|
+
# @rbs return: ::Integer
|
|
4049
|
+
def index; attributes[:"index"]&.value; end
|
|
4050
|
+
end
|
|
4051
|
+
# Get port param instances.
|
|
4052
|
+
class DumpPortParamGetRequest < ::Nl::Protocols::Genl::Message
|
|
4053
|
+
TYPE = 47
|
|
4054
|
+
FIXED_HEADER = nil
|
|
4055
|
+
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4056
|
+
ATTRIBUTES = Ractor.make_shareable(%i[])
|
|
3664
4057
|
end
|
|
3665
4058
|
# Get port param instances.
|
|
3666
4059
|
class DumpPortParamGetReply < ::Nl::Protocols::Genl::Message
|
|
3667
4060
|
TYPE = 47
|
|
3668
4061
|
FIXED_HEADER = nil
|
|
3669
4062
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3670
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
4063
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
3671
4064
|
# Gets the value of `bus-name` attribute in the message.
|
|
3672
4065
|
#--
|
|
3673
4066
|
# @rbs return: ::String
|
|
@@ -3680,13 +4073,19 @@ class Devlink < ::Nl::Family
|
|
|
3680
4073
|
#--
|
|
3681
4074
|
# @rbs return: ::Integer
|
|
3682
4075
|
def port_index; attributes[:"port_index"]&.value; end
|
|
4076
|
+
# Gets the value of `index` attribute in the message.
|
|
4077
|
+
#--
|
|
4078
|
+
# @rbs return: ::Integer
|
|
4079
|
+
def index; attributes[:"index"]&.value; end
|
|
3683
4080
|
end
|
|
3684
4081
|
# Set port param instances.
|
|
4082
|
+
#
|
|
4083
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
3685
4084
|
class DoPortParamSetRequest < ::Nl::Protocols::Genl::Message
|
|
3686
4085
|
TYPE = 48
|
|
3687
4086
|
FIXED_HEADER = nil
|
|
3688
4087
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3689
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
4088
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
3690
4089
|
# Gets the value of `bus-name` attribute in the message.
|
|
3691
4090
|
#--
|
|
3692
4091
|
# @rbs return: ::String
|
|
@@ -3699,6 +4098,10 @@ class Devlink < ::Nl::Family
|
|
|
3699
4098
|
#--
|
|
3700
4099
|
# @rbs return: ::Integer
|
|
3701
4100
|
def port_index; attributes[:"port_index"]&.value; end
|
|
4101
|
+
# Gets the value of `index` attribute in the message.
|
|
4102
|
+
#--
|
|
4103
|
+
# @rbs return: ::Integer
|
|
4104
|
+
def index; attributes[:"index"]&.value; end
|
|
3702
4105
|
end
|
|
3703
4106
|
# Get device information, like driver name, hardware and firmware versions
|
|
3704
4107
|
# etc.
|
|
@@ -3706,7 +4109,7 @@ class Devlink < ::Nl::Family
|
|
|
3706
4109
|
TYPE = 51
|
|
3707
4110
|
FIXED_HEADER = nil
|
|
3708
4111
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3709
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
4112
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
3710
4113
|
# Gets the value of `bus-name` attribute in the message.
|
|
3711
4114
|
#--
|
|
3712
4115
|
# @rbs return: ::String
|
|
@@ -3715,6 +4118,10 @@ class Devlink < ::Nl::Family
|
|
|
3715
4118
|
#--
|
|
3716
4119
|
# @rbs return: ::String
|
|
3717
4120
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
4121
|
+
# Gets the value of `index` attribute in the message.
|
|
4122
|
+
#--
|
|
4123
|
+
# @rbs return: ::Integer
|
|
4124
|
+
def index; attributes[:"index"]&.value; end
|
|
3718
4125
|
end
|
|
3719
4126
|
# Get device information, like driver name, hardware and firmware versions
|
|
3720
4127
|
# etc.
|
|
@@ -3722,7 +4129,7 @@ class Devlink < ::Nl::Family
|
|
|
3722
4129
|
TYPE = 51
|
|
3723
4130
|
FIXED_HEADER = nil
|
|
3724
4131
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3725
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name info_driver_name info_serial_number info_version_fixed info_version_running info_version_stored info_board_serial_number])
|
|
4132
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name info_driver_name info_serial_number info_version_fixed info_version_running info_version_stored info_board_serial_number index])
|
|
3726
4133
|
# Gets the value of `bus-name` attribute in the message.
|
|
3727
4134
|
#--
|
|
3728
4135
|
# @rbs return: ::String
|
|
@@ -3755,6 +4162,18 @@ class Devlink < ::Nl::Family
|
|
|
3755
4162
|
#--
|
|
3756
4163
|
# @rbs return: ::String
|
|
3757
4164
|
def info_board_serial_number; attributes[:"info_board_serial_number"]&.value; end
|
|
4165
|
+
# Gets the value of `index` attribute in the message.
|
|
4166
|
+
#--
|
|
4167
|
+
# @rbs return: ::Integer
|
|
4168
|
+
def index; attributes[:"index"]&.value; end
|
|
4169
|
+
end
|
|
4170
|
+
# Get device information, like driver name, hardware and firmware versions
|
|
4171
|
+
# etc.
|
|
4172
|
+
class DumpInfoGetRequest < ::Nl::Protocols::Genl::Message
|
|
4173
|
+
TYPE = 51
|
|
4174
|
+
FIXED_HEADER = nil
|
|
4175
|
+
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4176
|
+
ATTRIBUTES = Ractor.make_shareable(%i[])
|
|
3758
4177
|
end
|
|
3759
4178
|
# Get device information, like driver name, hardware and firmware versions
|
|
3760
4179
|
# etc.
|
|
@@ -3762,7 +4181,7 @@ class Devlink < ::Nl::Family
|
|
|
3762
4181
|
TYPE = 51
|
|
3763
4182
|
FIXED_HEADER = nil
|
|
3764
4183
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3765
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name info_driver_name info_serial_number info_version_fixed info_version_running info_version_stored info_board_serial_number])
|
|
4184
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name info_driver_name info_serial_number info_version_fixed info_version_running info_version_stored info_board_serial_number index])
|
|
3766
4185
|
# Gets the value of `bus-name` attribute in the message.
|
|
3767
4186
|
#--
|
|
3768
4187
|
# @rbs return: ::String
|
|
@@ -3795,13 +4214,17 @@ class Devlink < ::Nl::Family
|
|
|
3795
4214
|
#--
|
|
3796
4215
|
# @rbs return: ::String
|
|
3797
4216
|
def info_board_serial_number; attributes[:"info_board_serial_number"]&.value; end
|
|
4217
|
+
# Gets the value of `index` attribute in the message.
|
|
4218
|
+
#--
|
|
4219
|
+
# @rbs return: ::Integer
|
|
4220
|
+
def index; attributes[:"index"]&.value; end
|
|
3798
4221
|
end
|
|
3799
4222
|
# Get health reporter instances.
|
|
3800
4223
|
class DoHealthReporterGetRequest < ::Nl::Protocols::Genl::Message
|
|
3801
4224
|
TYPE = 52
|
|
3802
4225
|
FIXED_HEADER = nil
|
|
3803
4226
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3804
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name])
|
|
4227
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name index])
|
|
3805
4228
|
# Gets the value of `bus-name` attribute in the message.
|
|
3806
4229
|
#--
|
|
3807
4230
|
# @rbs return: ::String
|
|
@@ -3818,13 +4241,17 @@ class Devlink < ::Nl::Family
|
|
|
3818
4241
|
#--
|
|
3819
4242
|
# @rbs return: ::String
|
|
3820
4243
|
def health_reporter_name; attributes[:"health_reporter_name"]&.value; end
|
|
4244
|
+
# Gets the value of `index` attribute in the message.
|
|
4245
|
+
#--
|
|
4246
|
+
# @rbs return: ::Integer
|
|
4247
|
+
def index; attributes[:"index"]&.value; end
|
|
3821
4248
|
end
|
|
3822
4249
|
# Get health reporter instances.
|
|
3823
4250
|
class DoHealthReporterGetReply < ::Nl::Protocols::Genl::Message
|
|
3824
4251
|
TYPE = 52
|
|
3825
4252
|
FIXED_HEADER = nil
|
|
3826
4253
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3827
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name])
|
|
4254
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name index])
|
|
3828
4255
|
# Gets the value of `bus-name` attribute in the message.
|
|
3829
4256
|
#--
|
|
3830
4257
|
# @rbs return: ::String
|
|
@@ -3841,13 +4268,17 @@ class Devlink < ::Nl::Family
|
|
|
3841
4268
|
#--
|
|
3842
4269
|
# @rbs return: ::String
|
|
3843
4270
|
def health_reporter_name; attributes[:"health_reporter_name"]&.value; end
|
|
4271
|
+
# Gets the value of `index` attribute in the message.
|
|
4272
|
+
#--
|
|
4273
|
+
# @rbs return: ::Integer
|
|
4274
|
+
def index; attributes[:"index"]&.value; end
|
|
3844
4275
|
end
|
|
3845
4276
|
# Get health reporter instances.
|
|
3846
4277
|
class DumpHealthReporterGetRequest < ::Nl::Protocols::Genl::Message
|
|
3847
4278
|
TYPE = 52
|
|
3848
4279
|
FIXED_HEADER = nil
|
|
3849
4280
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3850
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
4281
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
3851
4282
|
# Gets the value of `bus-name` attribute in the message.
|
|
3852
4283
|
#--
|
|
3853
4284
|
# @rbs return: ::String
|
|
@@ -3860,13 +4291,17 @@ class Devlink < ::Nl::Family
|
|
|
3860
4291
|
#--
|
|
3861
4292
|
# @rbs return: ::Integer
|
|
3862
4293
|
def port_index; attributes[:"port_index"]&.value; end
|
|
4294
|
+
# Gets the value of `index` attribute in the message.
|
|
4295
|
+
#--
|
|
4296
|
+
# @rbs return: ::Integer
|
|
4297
|
+
def index; attributes[:"index"]&.value; end
|
|
3863
4298
|
end
|
|
3864
4299
|
# Get health reporter instances.
|
|
3865
4300
|
class DumpHealthReporterGetReply < ::Nl::Protocols::Genl::Message
|
|
3866
4301
|
TYPE = 52
|
|
3867
4302
|
FIXED_HEADER = nil
|
|
3868
4303
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3869
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name])
|
|
4304
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name index])
|
|
3870
4305
|
# Gets the value of `bus-name` attribute in the message.
|
|
3871
4306
|
#--
|
|
3872
4307
|
# @rbs return: ::String
|
|
@@ -3883,13 +4318,19 @@ class Devlink < ::Nl::Family
|
|
|
3883
4318
|
#--
|
|
3884
4319
|
# @rbs return: ::String
|
|
3885
4320
|
def health_reporter_name; attributes[:"health_reporter_name"]&.value; end
|
|
4321
|
+
# Gets the value of `index` attribute in the message.
|
|
4322
|
+
#--
|
|
4323
|
+
# @rbs return: ::Integer
|
|
4324
|
+
def index; attributes[:"index"]&.value; end
|
|
3886
4325
|
end
|
|
3887
4326
|
# Set health reporter instances.
|
|
4327
|
+
#
|
|
4328
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
3888
4329
|
class DoHealthReporterSetRequest < ::Nl::Protocols::Genl::Message
|
|
3889
4330
|
TYPE = 53
|
|
3890
4331
|
FIXED_HEADER = nil
|
|
3891
4332
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3892
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name health_reporter_graceful_period health_reporter_auto_recover health_reporter_auto_dump health_reporter_burst_period])
|
|
4333
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name health_reporter_graceful_period health_reporter_auto_recover health_reporter_auto_dump health_reporter_burst_period index])
|
|
3893
4334
|
# Gets the value of `bus-name` attribute in the message.
|
|
3894
4335
|
#--
|
|
3895
4336
|
# @rbs return: ::String
|
|
@@ -3922,13 +4363,19 @@ class Devlink < ::Nl::Family
|
|
|
3922
4363
|
#--
|
|
3923
4364
|
# @rbs return: ::Integer
|
|
3924
4365
|
def health_reporter_burst_period; attributes[:"health_reporter_burst_period"]&.value; end
|
|
4366
|
+
# Gets the value of `index` attribute in the message.
|
|
4367
|
+
#--
|
|
4368
|
+
# @rbs return: ::Integer
|
|
4369
|
+
def index; attributes[:"index"]&.value; end
|
|
3925
4370
|
end
|
|
3926
4371
|
# Recover health reporter instances.
|
|
4372
|
+
#
|
|
4373
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
3927
4374
|
class DoHealthReporterRecoverRequest < ::Nl::Protocols::Genl::Message
|
|
3928
4375
|
TYPE = 54
|
|
3929
4376
|
FIXED_HEADER = nil
|
|
3930
4377
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3931
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name])
|
|
4378
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name index])
|
|
3932
4379
|
# Gets the value of `bus-name` attribute in the message.
|
|
3933
4380
|
#--
|
|
3934
4381
|
# @rbs return: ::String
|
|
@@ -3945,13 +4392,19 @@ class Devlink < ::Nl::Family
|
|
|
3945
4392
|
#--
|
|
3946
4393
|
# @rbs return: ::String
|
|
3947
4394
|
def health_reporter_name; attributes[:"health_reporter_name"]&.value; end
|
|
4395
|
+
# Gets the value of `index` attribute in the message.
|
|
4396
|
+
#--
|
|
4397
|
+
# @rbs return: ::Integer
|
|
4398
|
+
def index; attributes[:"index"]&.value; end
|
|
3948
4399
|
end
|
|
3949
4400
|
# Diagnose health reporter instances.
|
|
4401
|
+
#
|
|
4402
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
3950
4403
|
class DoHealthReporterDiagnoseRequest < ::Nl::Protocols::Genl::Message
|
|
3951
4404
|
TYPE = 55
|
|
3952
4405
|
FIXED_HEADER = nil
|
|
3953
4406
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3954
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name])
|
|
4407
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name index])
|
|
3955
4408
|
# Gets the value of `bus-name` attribute in the message.
|
|
3956
4409
|
#--
|
|
3957
4410
|
# @rbs return: ::String
|
|
@@ -3968,13 +4421,19 @@ class Devlink < ::Nl::Family
|
|
|
3968
4421
|
#--
|
|
3969
4422
|
# @rbs return: ::String
|
|
3970
4423
|
def health_reporter_name; attributes[:"health_reporter_name"]&.value; end
|
|
4424
|
+
# Gets the value of `index` attribute in the message.
|
|
4425
|
+
#--
|
|
4426
|
+
# @rbs return: ::Integer
|
|
4427
|
+
def index; attributes[:"index"]&.value; end
|
|
3971
4428
|
end
|
|
3972
4429
|
# Dump health reporter instances.
|
|
4430
|
+
#
|
|
4431
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
3973
4432
|
class DumpHealthReporterDumpGetRequest < ::Nl::Protocols::Genl::Message
|
|
3974
4433
|
TYPE = 56
|
|
3975
4434
|
FIXED_HEADER = nil
|
|
3976
4435
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3977
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name])
|
|
4436
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name index])
|
|
3978
4437
|
# Gets the value of `bus-name` attribute in the message.
|
|
3979
4438
|
#--
|
|
3980
4439
|
# @rbs return: ::String
|
|
@@ -3991,8 +4450,14 @@ class Devlink < ::Nl::Family
|
|
|
3991
4450
|
#--
|
|
3992
4451
|
# @rbs return: ::String
|
|
3993
4452
|
def health_reporter_name; attributes[:"health_reporter_name"]&.value; end
|
|
4453
|
+
# Gets the value of `index` attribute in the message.
|
|
4454
|
+
#--
|
|
4455
|
+
# @rbs return: ::Integer
|
|
4456
|
+
def index; attributes[:"index"]&.value; end
|
|
3994
4457
|
end
|
|
3995
4458
|
# Dump health reporter instances.
|
|
4459
|
+
#
|
|
4460
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
3996
4461
|
class DumpHealthReporterDumpGetReply < ::Nl::Protocols::Genl::Message
|
|
3997
4462
|
TYPE = 56
|
|
3998
4463
|
FIXED_HEADER = nil
|
|
@@ -4004,11 +4469,13 @@ class Devlink < ::Nl::Family
|
|
|
4004
4469
|
def fmsg; attributes[:"fmsg"]&.value; end
|
|
4005
4470
|
end
|
|
4006
4471
|
# Clear dump of health reporter instances.
|
|
4472
|
+
#
|
|
4473
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4007
4474
|
class DoHealthReporterDumpClearRequest < ::Nl::Protocols::Genl::Message
|
|
4008
4475
|
TYPE = 57
|
|
4009
4476
|
FIXED_HEADER = nil
|
|
4010
4477
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4011
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name])
|
|
4478
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name index])
|
|
4012
4479
|
# Gets the value of `bus-name` attribute in the message.
|
|
4013
4480
|
#--
|
|
4014
4481
|
# @rbs return: ::String
|
|
@@ -4025,13 +4492,19 @@ class Devlink < ::Nl::Family
|
|
|
4025
4492
|
#--
|
|
4026
4493
|
# @rbs return: ::String
|
|
4027
4494
|
def health_reporter_name; attributes[:"health_reporter_name"]&.value; end
|
|
4495
|
+
# Gets the value of `index` attribute in the message.
|
|
4496
|
+
#--
|
|
4497
|
+
# @rbs return: ::Integer
|
|
4498
|
+
def index; attributes[:"index"]&.value; end
|
|
4028
4499
|
end
|
|
4029
4500
|
# Flash update devlink instances.
|
|
4501
|
+
#
|
|
4502
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4030
4503
|
class DoFlashUpdateRequest < ::Nl::Protocols::Genl::Message
|
|
4031
4504
|
TYPE = 58
|
|
4032
4505
|
FIXED_HEADER = nil
|
|
4033
4506
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4034
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name flash_update_file_name flash_update_component flash_update_overwrite_mask])
|
|
4507
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name flash_update_file_name flash_update_component flash_update_overwrite_mask index])
|
|
4035
4508
|
# Gets the value of `bus-name` attribute in the message.
|
|
4036
4509
|
#--
|
|
4037
4510
|
# @rbs return: ::String
|
|
@@ -4052,13 +4525,17 @@ class Devlink < ::Nl::Family
|
|
|
4052
4525
|
#--
|
|
4053
4526
|
# @rbs return: ::Integer
|
|
4054
4527
|
def flash_update_overwrite_mask; attributes[:"flash_update_overwrite_mask"]&.value; end
|
|
4528
|
+
# Gets the value of `index` attribute in the message.
|
|
4529
|
+
#--
|
|
4530
|
+
# @rbs return: ::Integer
|
|
4531
|
+
def index; attributes[:"index"]&.value; end
|
|
4055
4532
|
end
|
|
4056
4533
|
# Get trap instances.
|
|
4057
4534
|
class DoTrapGetRequest < ::Nl::Protocols::Genl::Message
|
|
4058
4535
|
TYPE = 61
|
|
4059
4536
|
FIXED_HEADER = nil
|
|
4060
4537
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4061
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_name])
|
|
4538
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_name index])
|
|
4062
4539
|
# Gets the value of `bus-name` attribute in the message.
|
|
4063
4540
|
#--
|
|
4064
4541
|
# @rbs return: ::String
|
|
@@ -4071,13 +4548,17 @@ class Devlink < ::Nl::Family
|
|
|
4071
4548
|
#--
|
|
4072
4549
|
# @rbs return: ::String
|
|
4073
4550
|
def trap_name; attributes[:"trap_name"]&.value; end
|
|
4551
|
+
# Gets the value of `index` attribute in the message.
|
|
4552
|
+
#--
|
|
4553
|
+
# @rbs return: ::Integer
|
|
4554
|
+
def index; attributes[:"index"]&.value; end
|
|
4074
4555
|
end
|
|
4075
4556
|
# Get trap instances.
|
|
4076
4557
|
class DoTrapGetReply < ::Nl::Protocols::Genl::Message
|
|
4077
4558
|
TYPE = 63
|
|
4078
4559
|
FIXED_HEADER = nil
|
|
4079
4560
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4080
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_name])
|
|
4561
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_name index])
|
|
4081
4562
|
# Gets the value of `bus-name` attribute in the message.
|
|
4082
4563
|
#--
|
|
4083
4564
|
# @rbs return: ::String
|
|
@@ -4090,13 +4571,17 @@ class Devlink < ::Nl::Family
|
|
|
4090
4571
|
#--
|
|
4091
4572
|
# @rbs return: ::String
|
|
4092
4573
|
def trap_name; attributes[:"trap_name"]&.value; end
|
|
4574
|
+
# Gets the value of `index` attribute in the message.
|
|
4575
|
+
#--
|
|
4576
|
+
# @rbs return: ::Integer
|
|
4577
|
+
def index; attributes[:"index"]&.value; end
|
|
4093
4578
|
end
|
|
4094
4579
|
# Get trap instances.
|
|
4095
4580
|
class DumpTrapGetRequest < ::Nl::Protocols::Genl::Message
|
|
4096
4581
|
TYPE = 61
|
|
4097
4582
|
FIXED_HEADER = nil
|
|
4098
4583
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4099
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
4584
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
4100
4585
|
# Gets the value of `bus-name` attribute in the message.
|
|
4101
4586
|
#--
|
|
4102
4587
|
# @rbs return: ::String
|
|
@@ -4105,13 +4590,17 @@ class Devlink < ::Nl::Family
|
|
|
4105
4590
|
#--
|
|
4106
4591
|
# @rbs return: ::String
|
|
4107
4592
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
4593
|
+
# Gets the value of `index` attribute in the message.
|
|
4594
|
+
#--
|
|
4595
|
+
# @rbs return: ::Integer
|
|
4596
|
+
def index; attributes[:"index"]&.value; end
|
|
4108
4597
|
end
|
|
4109
4598
|
# Get trap instances.
|
|
4110
4599
|
class DumpTrapGetReply < ::Nl::Protocols::Genl::Message
|
|
4111
4600
|
TYPE = 63
|
|
4112
4601
|
FIXED_HEADER = nil
|
|
4113
4602
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4114
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_name])
|
|
4603
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_name index])
|
|
4115
4604
|
# Gets the value of `bus-name` attribute in the message.
|
|
4116
4605
|
#--
|
|
4117
4606
|
# @rbs return: ::String
|
|
@@ -4124,13 +4613,19 @@ class Devlink < ::Nl::Family
|
|
|
4124
4613
|
#--
|
|
4125
4614
|
# @rbs return: ::String
|
|
4126
4615
|
def trap_name; attributes[:"trap_name"]&.value; end
|
|
4616
|
+
# Gets the value of `index` attribute in the message.
|
|
4617
|
+
#--
|
|
4618
|
+
# @rbs return: ::Integer
|
|
4619
|
+
def index; attributes[:"index"]&.value; end
|
|
4127
4620
|
end
|
|
4128
4621
|
# Set trap instances.
|
|
4622
|
+
#
|
|
4623
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4129
4624
|
class DoTrapSetRequest < ::Nl::Protocols::Genl::Message
|
|
4130
4625
|
TYPE = 62
|
|
4131
4626
|
FIXED_HEADER = nil
|
|
4132
4627
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4133
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_name trap_action])
|
|
4628
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_name trap_action index])
|
|
4134
4629
|
# Gets the value of `bus-name` attribute in the message.
|
|
4135
4630
|
#--
|
|
4136
4631
|
# @rbs return: ::String
|
|
@@ -4147,13 +4642,17 @@ class Devlink < ::Nl::Family
|
|
|
4147
4642
|
#--
|
|
4148
4643
|
# @rbs return: ::Integer
|
|
4149
4644
|
def trap_action; attributes[:"trap_action"]&.value; end
|
|
4645
|
+
# Gets the value of `index` attribute in the message.
|
|
4646
|
+
#--
|
|
4647
|
+
# @rbs return: ::Integer
|
|
4648
|
+
def index; attributes[:"index"]&.value; end
|
|
4150
4649
|
end
|
|
4151
4650
|
# Get trap group instances.
|
|
4152
4651
|
class DoTrapGroupGetRequest < ::Nl::Protocols::Genl::Message
|
|
4153
4652
|
TYPE = 65
|
|
4154
4653
|
FIXED_HEADER = nil
|
|
4155
4654
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4156
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_group_name])
|
|
4655
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_group_name index])
|
|
4157
4656
|
# Gets the value of `bus-name` attribute in the message.
|
|
4158
4657
|
#--
|
|
4159
4658
|
# @rbs return: ::String
|
|
@@ -4166,13 +4665,17 @@ class Devlink < ::Nl::Family
|
|
|
4166
4665
|
#--
|
|
4167
4666
|
# @rbs return: ::String
|
|
4168
4667
|
def trap_group_name; attributes[:"trap_group_name"]&.value; end
|
|
4668
|
+
# Gets the value of `index` attribute in the message.
|
|
4669
|
+
#--
|
|
4670
|
+
# @rbs return: ::Integer
|
|
4671
|
+
def index; attributes[:"index"]&.value; end
|
|
4169
4672
|
end
|
|
4170
4673
|
# Get trap group instances.
|
|
4171
4674
|
class DoTrapGroupGetReply < ::Nl::Protocols::Genl::Message
|
|
4172
4675
|
TYPE = 67
|
|
4173
4676
|
FIXED_HEADER = nil
|
|
4174
4677
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4175
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_group_name])
|
|
4678
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_group_name index])
|
|
4176
4679
|
# Gets the value of `bus-name` attribute in the message.
|
|
4177
4680
|
#--
|
|
4178
4681
|
# @rbs return: ::String
|
|
@@ -4185,13 +4688,17 @@ class Devlink < ::Nl::Family
|
|
|
4185
4688
|
#--
|
|
4186
4689
|
# @rbs return: ::String
|
|
4187
4690
|
def trap_group_name; attributes[:"trap_group_name"]&.value; end
|
|
4691
|
+
# Gets the value of `index` attribute in the message.
|
|
4692
|
+
#--
|
|
4693
|
+
# @rbs return: ::Integer
|
|
4694
|
+
def index; attributes[:"index"]&.value; end
|
|
4188
4695
|
end
|
|
4189
4696
|
# Get trap group instances.
|
|
4190
4697
|
class DumpTrapGroupGetRequest < ::Nl::Protocols::Genl::Message
|
|
4191
4698
|
TYPE = 65
|
|
4192
4699
|
FIXED_HEADER = nil
|
|
4193
4700
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4194
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
4701
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
4195
4702
|
# Gets the value of `bus-name` attribute in the message.
|
|
4196
4703
|
#--
|
|
4197
4704
|
# @rbs return: ::String
|
|
@@ -4200,13 +4707,17 @@ class Devlink < ::Nl::Family
|
|
|
4200
4707
|
#--
|
|
4201
4708
|
# @rbs return: ::String
|
|
4202
4709
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
4710
|
+
# Gets the value of `index` attribute in the message.
|
|
4711
|
+
#--
|
|
4712
|
+
# @rbs return: ::Integer
|
|
4713
|
+
def index; attributes[:"index"]&.value; end
|
|
4203
4714
|
end
|
|
4204
4715
|
# Get trap group instances.
|
|
4205
4716
|
class DumpTrapGroupGetReply < ::Nl::Protocols::Genl::Message
|
|
4206
4717
|
TYPE = 67
|
|
4207
4718
|
FIXED_HEADER = nil
|
|
4208
4719
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4209
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_group_name])
|
|
4720
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_group_name index])
|
|
4210
4721
|
# Gets the value of `bus-name` attribute in the message.
|
|
4211
4722
|
#--
|
|
4212
4723
|
# @rbs return: ::String
|
|
@@ -4219,13 +4730,19 @@ class Devlink < ::Nl::Family
|
|
|
4219
4730
|
#--
|
|
4220
4731
|
# @rbs return: ::String
|
|
4221
4732
|
def trap_group_name; attributes[:"trap_group_name"]&.value; end
|
|
4733
|
+
# Gets the value of `index` attribute in the message.
|
|
4734
|
+
#--
|
|
4735
|
+
# @rbs return: ::Integer
|
|
4736
|
+
def index; attributes[:"index"]&.value; end
|
|
4222
4737
|
end
|
|
4223
4738
|
# Set trap group instances.
|
|
4739
|
+
#
|
|
4740
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4224
4741
|
class DoTrapGroupSetRequest < ::Nl::Protocols::Genl::Message
|
|
4225
4742
|
TYPE = 66
|
|
4226
4743
|
FIXED_HEADER = nil
|
|
4227
4744
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4228
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_action trap_group_name trap_policer_id])
|
|
4745
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_action trap_group_name trap_policer_id index])
|
|
4229
4746
|
# Gets the value of `bus-name` attribute in the message.
|
|
4230
4747
|
#--
|
|
4231
4748
|
# @rbs return: ::String
|
|
@@ -4246,13 +4763,17 @@ class Devlink < ::Nl::Family
|
|
|
4246
4763
|
#--
|
|
4247
4764
|
# @rbs return: ::Integer
|
|
4248
4765
|
def trap_policer_id; attributes[:"trap_policer_id"]&.value; end
|
|
4766
|
+
# Gets the value of `index` attribute in the message.
|
|
4767
|
+
#--
|
|
4768
|
+
# @rbs return: ::Integer
|
|
4769
|
+
def index; attributes[:"index"]&.value; end
|
|
4249
4770
|
end
|
|
4250
4771
|
# Get trap policer instances.
|
|
4251
4772
|
class DoTrapPolicerGetRequest < ::Nl::Protocols::Genl::Message
|
|
4252
4773
|
TYPE = 69
|
|
4253
4774
|
FIXED_HEADER = nil
|
|
4254
4775
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4255
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_policer_id])
|
|
4776
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_policer_id index])
|
|
4256
4777
|
# Gets the value of `bus-name` attribute in the message.
|
|
4257
4778
|
#--
|
|
4258
4779
|
# @rbs return: ::String
|
|
@@ -4265,13 +4786,17 @@ class Devlink < ::Nl::Family
|
|
|
4265
4786
|
#--
|
|
4266
4787
|
# @rbs return: ::Integer
|
|
4267
4788
|
def trap_policer_id; attributes[:"trap_policer_id"]&.value; end
|
|
4789
|
+
# Gets the value of `index` attribute in the message.
|
|
4790
|
+
#--
|
|
4791
|
+
# @rbs return: ::Integer
|
|
4792
|
+
def index; attributes[:"index"]&.value; end
|
|
4268
4793
|
end
|
|
4269
4794
|
# Get trap policer instances.
|
|
4270
4795
|
class DoTrapPolicerGetReply < ::Nl::Protocols::Genl::Message
|
|
4271
4796
|
TYPE = 71
|
|
4272
4797
|
FIXED_HEADER = nil
|
|
4273
4798
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4274
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_policer_id])
|
|
4799
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_policer_id index])
|
|
4275
4800
|
# Gets the value of `bus-name` attribute in the message.
|
|
4276
4801
|
#--
|
|
4277
4802
|
# @rbs return: ::String
|
|
@@ -4284,13 +4809,17 @@ class Devlink < ::Nl::Family
|
|
|
4284
4809
|
#--
|
|
4285
4810
|
# @rbs return: ::Integer
|
|
4286
4811
|
def trap_policer_id; attributes[:"trap_policer_id"]&.value; end
|
|
4812
|
+
# Gets the value of `index` attribute in the message.
|
|
4813
|
+
#--
|
|
4814
|
+
# @rbs return: ::Integer
|
|
4815
|
+
def index; attributes[:"index"]&.value; end
|
|
4287
4816
|
end
|
|
4288
4817
|
# Get trap policer instances.
|
|
4289
4818
|
class DumpTrapPolicerGetRequest < ::Nl::Protocols::Genl::Message
|
|
4290
4819
|
TYPE = 69
|
|
4291
4820
|
FIXED_HEADER = nil
|
|
4292
4821
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4293
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
4822
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
4294
4823
|
# Gets the value of `bus-name` attribute in the message.
|
|
4295
4824
|
#--
|
|
4296
4825
|
# @rbs return: ::String
|
|
@@ -4299,13 +4828,17 @@ class Devlink < ::Nl::Family
|
|
|
4299
4828
|
#--
|
|
4300
4829
|
# @rbs return: ::String
|
|
4301
4830
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
4831
|
+
# Gets the value of `index` attribute in the message.
|
|
4832
|
+
#--
|
|
4833
|
+
# @rbs return: ::Integer
|
|
4834
|
+
def index; attributes[:"index"]&.value; end
|
|
4302
4835
|
end
|
|
4303
4836
|
# Get trap policer instances.
|
|
4304
4837
|
class DumpTrapPolicerGetReply < ::Nl::Protocols::Genl::Message
|
|
4305
4838
|
TYPE = 71
|
|
4306
4839
|
FIXED_HEADER = nil
|
|
4307
4840
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4308
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_policer_id])
|
|
4841
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_policer_id index])
|
|
4309
4842
|
# Gets the value of `bus-name` attribute in the message.
|
|
4310
4843
|
#--
|
|
4311
4844
|
# @rbs return: ::String
|
|
@@ -4318,13 +4851,19 @@ class Devlink < ::Nl::Family
|
|
|
4318
4851
|
#--
|
|
4319
4852
|
# @rbs return: ::Integer
|
|
4320
4853
|
def trap_policer_id; attributes[:"trap_policer_id"]&.value; end
|
|
4854
|
+
# Gets the value of `index` attribute in the message.
|
|
4855
|
+
#--
|
|
4856
|
+
# @rbs return: ::Integer
|
|
4857
|
+
def index; attributes[:"index"]&.value; end
|
|
4321
4858
|
end
|
|
4322
4859
|
# Get trap policer instances.
|
|
4860
|
+
#
|
|
4861
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4323
4862
|
class DoTrapPolicerSetRequest < ::Nl::Protocols::Genl::Message
|
|
4324
4863
|
TYPE = 70
|
|
4325
4864
|
FIXED_HEADER = nil
|
|
4326
4865
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4327
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_policer_id trap_policer_rate trap_policer_burst])
|
|
4866
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_policer_id trap_policer_rate trap_policer_burst index])
|
|
4328
4867
|
# Gets the value of `bus-name` attribute in the message.
|
|
4329
4868
|
#--
|
|
4330
4869
|
# @rbs return: ::String
|
|
@@ -4345,13 +4884,19 @@ class Devlink < ::Nl::Family
|
|
|
4345
4884
|
#--
|
|
4346
4885
|
# @rbs return: ::Integer
|
|
4347
4886
|
def trap_policer_burst; attributes[:"trap_policer_burst"]&.value; end
|
|
4887
|
+
# Gets the value of `index` attribute in the message.
|
|
4888
|
+
#--
|
|
4889
|
+
# @rbs return: ::Integer
|
|
4890
|
+
def index; attributes[:"index"]&.value; end
|
|
4348
4891
|
end
|
|
4349
4892
|
# Test health reporter instances.
|
|
4893
|
+
#
|
|
4894
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4350
4895
|
class DoHealthReporterTestRequest < ::Nl::Protocols::Genl::Message
|
|
4351
4896
|
TYPE = 73
|
|
4352
4897
|
FIXED_HEADER = nil
|
|
4353
4898
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4354
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name])
|
|
4899
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name index])
|
|
4355
4900
|
# Gets the value of `bus-name` attribute in the message.
|
|
4356
4901
|
#--
|
|
4357
4902
|
# @rbs return: ::String
|
|
@@ -4368,13 +4913,17 @@ class Devlink < ::Nl::Family
|
|
|
4368
4913
|
#--
|
|
4369
4914
|
# @rbs return: ::String
|
|
4370
4915
|
def health_reporter_name; attributes[:"health_reporter_name"]&.value; end
|
|
4916
|
+
# Gets the value of `index` attribute in the message.
|
|
4917
|
+
#--
|
|
4918
|
+
# @rbs return: ::Integer
|
|
4919
|
+
def index; attributes[:"index"]&.value; end
|
|
4371
4920
|
end
|
|
4372
4921
|
# Get rate instances.
|
|
4373
4922
|
class DoRateGetRequest < ::Nl::Protocols::Genl::Message
|
|
4374
4923
|
TYPE = 74
|
|
4375
4924
|
FIXED_HEADER = nil
|
|
4376
4925
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4377
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index rate_node_name])
|
|
4926
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index rate_node_name index])
|
|
4378
4927
|
# Gets the value of `bus-name` attribute in the message.
|
|
4379
4928
|
#--
|
|
4380
4929
|
# @rbs return: ::String
|
|
@@ -4391,13 +4940,17 @@ class Devlink < ::Nl::Family
|
|
|
4391
4940
|
#--
|
|
4392
4941
|
# @rbs return: ::String
|
|
4393
4942
|
def rate_node_name; attributes[:"rate_node_name"]&.value; end
|
|
4943
|
+
# Gets the value of `index` attribute in the message.
|
|
4944
|
+
#--
|
|
4945
|
+
# @rbs return: ::Integer
|
|
4946
|
+
def index; attributes[:"index"]&.value; end
|
|
4394
4947
|
end
|
|
4395
4948
|
# Get rate instances.
|
|
4396
4949
|
class DoRateGetReply < ::Nl::Protocols::Genl::Message
|
|
4397
4950
|
TYPE = 76
|
|
4398
4951
|
FIXED_HEADER = nil
|
|
4399
4952
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4400
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index rate_node_name])
|
|
4953
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index rate_node_name index])
|
|
4401
4954
|
# Gets the value of `bus-name` attribute in the message.
|
|
4402
4955
|
#--
|
|
4403
4956
|
# @rbs return: ::String
|
|
@@ -4414,13 +4967,17 @@ class Devlink < ::Nl::Family
|
|
|
4414
4967
|
#--
|
|
4415
4968
|
# @rbs return: ::String
|
|
4416
4969
|
def rate_node_name; attributes[:"rate_node_name"]&.value; end
|
|
4970
|
+
# Gets the value of `index` attribute in the message.
|
|
4971
|
+
#--
|
|
4972
|
+
# @rbs return: ::Integer
|
|
4973
|
+
def index; attributes[:"index"]&.value; end
|
|
4417
4974
|
end
|
|
4418
4975
|
# Get rate instances.
|
|
4419
4976
|
class DumpRateGetRequest < ::Nl::Protocols::Genl::Message
|
|
4420
4977
|
TYPE = 74
|
|
4421
4978
|
FIXED_HEADER = nil
|
|
4422
4979
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4423
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
4980
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
4424
4981
|
# Gets the value of `bus-name` attribute in the message.
|
|
4425
4982
|
#--
|
|
4426
4983
|
# @rbs return: ::String
|
|
@@ -4429,13 +4986,17 @@ class Devlink < ::Nl::Family
|
|
|
4429
4986
|
#--
|
|
4430
4987
|
# @rbs return: ::String
|
|
4431
4988
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
4989
|
+
# Gets the value of `index` attribute in the message.
|
|
4990
|
+
#--
|
|
4991
|
+
# @rbs return: ::Integer
|
|
4992
|
+
def index; attributes[:"index"]&.value; end
|
|
4432
4993
|
end
|
|
4433
4994
|
# Get rate instances.
|
|
4434
4995
|
class DumpRateGetReply < ::Nl::Protocols::Genl::Message
|
|
4435
4996
|
TYPE = 76
|
|
4436
4997
|
FIXED_HEADER = nil
|
|
4437
4998
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4438
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index rate_node_name])
|
|
4999
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index rate_node_name index])
|
|
4439
5000
|
# Gets the value of `bus-name` attribute in the message.
|
|
4440
5001
|
#--
|
|
4441
5002
|
# @rbs return: ::String
|
|
@@ -4452,13 +5013,19 @@ class Devlink < ::Nl::Family
|
|
|
4452
5013
|
#--
|
|
4453
5014
|
# @rbs return: ::String
|
|
4454
5015
|
def rate_node_name; attributes[:"rate_node_name"]&.value; end
|
|
5016
|
+
# Gets the value of `index` attribute in the message.
|
|
5017
|
+
#--
|
|
5018
|
+
# @rbs return: ::Integer
|
|
5019
|
+
def index; attributes[:"index"]&.value; end
|
|
4455
5020
|
end
|
|
4456
5021
|
# Set rate instances.
|
|
5022
|
+
#
|
|
5023
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4457
5024
|
class DoRateSetRequest < ::Nl::Protocols::Genl::Message
|
|
4458
5025
|
TYPE = 75
|
|
4459
5026
|
FIXED_HEADER = nil
|
|
4460
5027
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4461
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name rate_tx_share rate_tx_max rate_node_name rate_parent_node_name rate_tx_priority rate_tx_weight rate_tc_bws])
|
|
5028
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name rate_tx_share rate_tx_max rate_node_name rate_parent_node_name rate_tx_priority rate_tx_weight rate_tc_bws index])
|
|
4462
5029
|
# Gets the value of `bus-name` attribute in the message.
|
|
4463
5030
|
#--
|
|
4464
5031
|
# @rbs return: ::String
|
|
@@ -4495,13 +5062,19 @@ class Devlink < ::Nl::Family
|
|
|
4495
5062
|
#--
|
|
4496
5063
|
# @rbs return: AttributeSets::DlRateTcBws
|
|
4497
5064
|
def rate_tc_bws; attributes[:"rate_tc_bws"]&.value; end
|
|
5065
|
+
# Gets the value of `index` attribute in the message.
|
|
5066
|
+
#--
|
|
5067
|
+
# @rbs return: ::Integer
|
|
5068
|
+
def index; attributes[:"index"]&.value; end
|
|
4498
5069
|
end
|
|
4499
5070
|
# Create rate instances.
|
|
5071
|
+
#
|
|
5072
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4500
5073
|
class DoRateNewRequest < ::Nl::Protocols::Genl::Message
|
|
4501
5074
|
TYPE = 76
|
|
4502
5075
|
FIXED_HEADER = nil
|
|
4503
5076
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4504
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name rate_tx_share rate_tx_max rate_node_name rate_parent_node_name rate_tx_priority rate_tx_weight rate_tc_bws])
|
|
5077
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name rate_tx_share rate_tx_max rate_node_name rate_parent_node_name rate_tx_priority rate_tx_weight rate_tc_bws index])
|
|
4505
5078
|
# Gets the value of `bus-name` attribute in the message.
|
|
4506
5079
|
#--
|
|
4507
5080
|
# @rbs return: ::String
|
|
@@ -4538,13 +5111,19 @@ class Devlink < ::Nl::Family
|
|
|
4538
5111
|
#--
|
|
4539
5112
|
# @rbs return: AttributeSets::DlRateTcBws
|
|
4540
5113
|
def rate_tc_bws; attributes[:"rate_tc_bws"]&.value; end
|
|
5114
|
+
# Gets the value of `index` attribute in the message.
|
|
5115
|
+
#--
|
|
5116
|
+
# @rbs return: ::Integer
|
|
5117
|
+
def index; attributes[:"index"]&.value; end
|
|
4541
5118
|
end
|
|
4542
5119
|
# Delete rate instances.
|
|
5120
|
+
#
|
|
5121
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4543
5122
|
class DoRateDelRequest < ::Nl::Protocols::Genl::Message
|
|
4544
5123
|
TYPE = 77
|
|
4545
5124
|
FIXED_HEADER = nil
|
|
4546
5125
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4547
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name rate_node_name])
|
|
5126
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name rate_node_name index])
|
|
4548
5127
|
# Gets the value of `bus-name` attribute in the message.
|
|
4549
5128
|
#--
|
|
4550
5129
|
# @rbs return: ::String
|
|
@@ -4557,13 +5136,17 @@ class Devlink < ::Nl::Family
|
|
|
4557
5136
|
#--
|
|
4558
5137
|
# @rbs return: ::String
|
|
4559
5138
|
def rate_node_name; attributes[:"rate_node_name"]&.value; end
|
|
5139
|
+
# Gets the value of `index` attribute in the message.
|
|
5140
|
+
#--
|
|
5141
|
+
# @rbs return: ::Integer
|
|
5142
|
+
def index; attributes[:"index"]&.value; end
|
|
4560
5143
|
end
|
|
4561
5144
|
# Get line card instances.
|
|
4562
5145
|
class DoLinecardGetRequest < ::Nl::Protocols::Genl::Message
|
|
4563
5146
|
TYPE = 78
|
|
4564
5147
|
FIXED_HEADER = nil
|
|
4565
5148
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4566
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name linecard_index])
|
|
5149
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name linecard_index index])
|
|
4567
5150
|
# Gets the value of `bus-name` attribute in the message.
|
|
4568
5151
|
#--
|
|
4569
5152
|
# @rbs return: ::String
|
|
@@ -4576,13 +5159,17 @@ class Devlink < ::Nl::Family
|
|
|
4576
5159
|
#--
|
|
4577
5160
|
# @rbs return: ::Integer
|
|
4578
5161
|
def linecard_index; attributes[:"linecard_index"]&.value; end
|
|
5162
|
+
# Gets the value of `index` attribute in the message.
|
|
5163
|
+
#--
|
|
5164
|
+
# @rbs return: ::Integer
|
|
5165
|
+
def index; attributes[:"index"]&.value; end
|
|
4579
5166
|
end
|
|
4580
5167
|
# Get line card instances.
|
|
4581
5168
|
class DoLinecardGetReply < ::Nl::Protocols::Genl::Message
|
|
4582
5169
|
TYPE = 80
|
|
4583
5170
|
FIXED_HEADER = nil
|
|
4584
5171
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4585
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name linecard_index])
|
|
5172
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name linecard_index index])
|
|
4586
5173
|
# Gets the value of `bus-name` attribute in the message.
|
|
4587
5174
|
#--
|
|
4588
5175
|
# @rbs return: ::String
|
|
@@ -4595,13 +5182,17 @@ class Devlink < ::Nl::Family
|
|
|
4595
5182
|
#--
|
|
4596
5183
|
# @rbs return: ::Integer
|
|
4597
5184
|
def linecard_index; attributes[:"linecard_index"]&.value; end
|
|
5185
|
+
# Gets the value of `index` attribute in the message.
|
|
5186
|
+
#--
|
|
5187
|
+
# @rbs return: ::Integer
|
|
5188
|
+
def index; attributes[:"index"]&.value; end
|
|
4598
5189
|
end
|
|
4599
5190
|
# Get line card instances.
|
|
4600
5191
|
class DumpLinecardGetRequest < ::Nl::Protocols::Genl::Message
|
|
4601
5192
|
TYPE = 78
|
|
4602
5193
|
FIXED_HEADER = nil
|
|
4603
5194
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4604
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
5195
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
4605
5196
|
# Gets the value of `bus-name` attribute in the message.
|
|
4606
5197
|
#--
|
|
4607
5198
|
# @rbs return: ::String
|
|
@@ -4610,13 +5201,17 @@ class Devlink < ::Nl::Family
|
|
|
4610
5201
|
#--
|
|
4611
5202
|
# @rbs return: ::String
|
|
4612
5203
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
5204
|
+
# Gets the value of `index` attribute in the message.
|
|
5205
|
+
#--
|
|
5206
|
+
# @rbs return: ::Integer
|
|
5207
|
+
def index; attributes[:"index"]&.value; end
|
|
4613
5208
|
end
|
|
4614
5209
|
# Get line card instances.
|
|
4615
5210
|
class DumpLinecardGetReply < ::Nl::Protocols::Genl::Message
|
|
4616
5211
|
TYPE = 80
|
|
4617
5212
|
FIXED_HEADER = nil
|
|
4618
5213
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4619
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name linecard_index])
|
|
5214
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name linecard_index index])
|
|
4620
5215
|
# Gets the value of `bus-name` attribute in the message.
|
|
4621
5216
|
#--
|
|
4622
5217
|
# @rbs return: ::String
|
|
@@ -4629,13 +5224,19 @@ class Devlink < ::Nl::Family
|
|
|
4629
5224
|
#--
|
|
4630
5225
|
# @rbs return: ::Integer
|
|
4631
5226
|
def linecard_index; attributes[:"linecard_index"]&.value; end
|
|
5227
|
+
# Gets the value of `index` attribute in the message.
|
|
5228
|
+
#--
|
|
5229
|
+
# @rbs return: ::Integer
|
|
5230
|
+
def index; attributes[:"index"]&.value; end
|
|
4632
5231
|
end
|
|
4633
5232
|
# Set line card instances.
|
|
5233
|
+
#
|
|
5234
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4634
5235
|
class DoLinecardSetRequest < ::Nl::Protocols::Genl::Message
|
|
4635
5236
|
TYPE = 79
|
|
4636
5237
|
FIXED_HEADER = nil
|
|
4637
5238
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4638
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name linecard_index linecard_type])
|
|
5239
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name linecard_index linecard_type index])
|
|
4639
5240
|
# Gets the value of `bus-name` attribute in the message.
|
|
4640
5241
|
#--
|
|
4641
5242
|
# @rbs return: ::String
|
|
@@ -4652,13 +5253,17 @@ class Devlink < ::Nl::Family
|
|
|
4652
5253
|
#--
|
|
4653
5254
|
# @rbs return: ::String
|
|
4654
5255
|
def linecard_type; attributes[:"linecard_type"]&.value; end
|
|
5256
|
+
# Gets the value of `index` attribute in the message.
|
|
5257
|
+
#--
|
|
5258
|
+
# @rbs return: ::Integer
|
|
5259
|
+
def index; attributes[:"index"]&.value; end
|
|
4655
5260
|
end
|
|
4656
5261
|
# Get device selftest instances.
|
|
4657
5262
|
class DoSelftestsGetRequest < ::Nl::Protocols::Genl::Message
|
|
4658
5263
|
TYPE = 82
|
|
4659
5264
|
FIXED_HEADER = nil
|
|
4660
5265
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4661
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
5266
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
4662
5267
|
# Gets the value of `bus-name` attribute in the message.
|
|
4663
5268
|
#--
|
|
4664
5269
|
# @rbs return: ::String
|
|
@@ -4667,13 +5272,17 @@ class Devlink < ::Nl::Family
|
|
|
4667
5272
|
#--
|
|
4668
5273
|
# @rbs return: ::String
|
|
4669
5274
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
5275
|
+
# Gets the value of `index` attribute in the message.
|
|
5276
|
+
#--
|
|
5277
|
+
# @rbs return: ::Integer
|
|
5278
|
+
def index; attributes[:"index"]&.value; end
|
|
4670
5279
|
end
|
|
4671
5280
|
# Get device selftest instances.
|
|
4672
5281
|
class DoSelftestsGetReply < ::Nl::Protocols::Genl::Message
|
|
4673
5282
|
TYPE = 82
|
|
4674
5283
|
FIXED_HEADER = nil
|
|
4675
5284
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4676
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
5285
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
4677
5286
|
# Gets the value of `bus-name` attribute in the message.
|
|
4678
5287
|
#--
|
|
4679
5288
|
# @rbs return: ::String
|
|
@@ -4682,13 +5291,24 @@ class Devlink < ::Nl::Family
|
|
|
4682
5291
|
#--
|
|
4683
5292
|
# @rbs return: ::String
|
|
4684
5293
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
5294
|
+
# Gets the value of `index` attribute in the message.
|
|
5295
|
+
#--
|
|
5296
|
+
# @rbs return: ::Integer
|
|
5297
|
+
def index; attributes[:"index"]&.value; end
|
|
5298
|
+
end
|
|
5299
|
+
# Get device selftest instances.
|
|
5300
|
+
class DumpSelftestsGetRequest < ::Nl::Protocols::Genl::Message
|
|
5301
|
+
TYPE = 82
|
|
5302
|
+
FIXED_HEADER = nil
|
|
5303
|
+
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
5304
|
+
ATTRIBUTES = Ractor.make_shareable(%i[])
|
|
4685
5305
|
end
|
|
4686
5306
|
# Get device selftest instances.
|
|
4687
5307
|
class DumpSelftestsGetReply < ::Nl::Protocols::Genl::Message
|
|
4688
5308
|
TYPE = 82
|
|
4689
5309
|
FIXED_HEADER = nil
|
|
4690
5310
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4691
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
5311
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
4692
5312
|
# Gets the value of `bus-name` attribute in the message.
|
|
4693
5313
|
#--
|
|
4694
5314
|
# @rbs return: ::String
|
|
@@ -4697,13 +5317,19 @@ class Devlink < ::Nl::Family
|
|
|
4697
5317
|
#--
|
|
4698
5318
|
# @rbs return: ::String
|
|
4699
5319
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
5320
|
+
# Gets the value of `index` attribute in the message.
|
|
5321
|
+
#--
|
|
5322
|
+
# @rbs return: ::Integer
|
|
5323
|
+
def index; attributes[:"index"]&.value; end
|
|
4700
5324
|
end
|
|
4701
5325
|
# Run device selftest instances.
|
|
5326
|
+
#
|
|
5327
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4702
5328
|
class DoSelftestsRunRequest < ::Nl::Protocols::Genl::Message
|
|
4703
5329
|
TYPE = 83
|
|
4704
5330
|
FIXED_HEADER = nil
|
|
4705
5331
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4706
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name selftests])
|
|
5332
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name selftests index])
|
|
4707
5333
|
# Gets the value of `bus-name` attribute in the message.
|
|
4708
5334
|
#--
|
|
4709
5335
|
# @rbs return: ::String
|
|
@@ -4716,13 +5342,17 @@ class Devlink < ::Nl::Family
|
|
|
4716
5342
|
#--
|
|
4717
5343
|
# @rbs return: AttributeSets::DlSelftestId
|
|
4718
5344
|
def selftests; attributes[:"selftests"]&.value; end
|
|
5345
|
+
# Gets the value of `index` attribute in the message.
|
|
5346
|
+
#--
|
|
5347
|
+
# @rbs return: ::Integer
|
|
5348
|
+
def index; attributes[:"index"]&.value; end
|
|
4719
5349
|
end
|
|
4720
5350
|
# Set notification messages socket filter.
|
|
4721
5351
|
class DoNotifyFilterSetRequest < ::Nl::Protocols::Genl::Message
|
|
4722
5352
|
TYPE = 84
|
|
4723
5353
|
FIXED_HEADER = nil
|
|
4724
5354
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4725
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
5355
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
4726
5356
|
# Gets the value of `bus-name` attribute in the message.
|
|
4727
5357
|
#--
|
|
4728
5358
|
# @rbs return: ::String
|
|
@@ -4735,443 +5365,1091 @@ class Devlink < ::Nl::Family
|
|
|
4735
5365
|
#--
|
|
4736
5366
|
# @rbs return: ::Integer
|
|
4737
5367
|
def port_index; attributes[:"port_index"]&.value; end
|
|
5368
|
+
# Gets the value of `index` attribute in the message.
|
|
5369
|
+
#--
|
|
5370
|
+
# @rbs return: ::Integer
|
|
5371
|
+
def index; attributes[:"index"]&.value; end
|
|
4738
5372
|
end
|
|
4739
5373
|
end
|
|
5374
|
+
module Notifications
|
|
5375
|
+
end
|
|
5376
|
+
NOTIFICATIONS = Ractor.make_shareable({}) #: Hash[::Integer, ::Class]
|
|
4740
5377
|
# Get devlink instances.
|
|
4741
5378
|
#--
|
|
4742
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Messages::DoGetReply
|
|
5379
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Messages::DoGetReply
|
|
4743
5380
|
def do_get(**args)
|
|
4744
5381
|
exchange_message(:"do", Messages::DoGetRequest, Messages::DoGetReply, args)
|
|
4745
5382
|
end
|
|
5383
|
+
# Get devlink instances.
|
|
5384
|
+
#--
|
|
5385
|
+
# @rbs () -> Enumerable[Messages::DumpGetReply]
|
|
5386
|
+
# | () { (Messages::DumpGetReply) -> void } -> void
|
|
5387
|
+
def dump_get(**args, &block)
|
|
5388
|
+
exchange_message(:"dump", Messages::DumpGetRequest, Messages::DumpGetReply, args, &block)
|
|
5389
|
+
end
|
|
4746
5390
|
# Get devlink port instances.
|
|
4747
5391
|
#--
|
|
4748
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer) -> Messages::DoPortGetReply
|
|
5392
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> Messages::DoPortGetReply
|
|
4749
5393
|
def do_port_get(**args)
|
|
4750
5394
|
exchange_message(:"do", Messages::DoPortGetRequest, Messages::DoPortGetReply, args)
|
|
4751
5395
|
end
|
|
4752
5396
|
# Get devlink port instances.
|
|
4753
5397
|
#--
|
|
4754
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpPortGetReply]
|
|
4755
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpPortGetReply) -> void } -> void
|
|
5398
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpPortGetReply]
|
|
5399
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpPortGetReply) -> void } -> void
|
|
4756
5400
|
def dump_port_get(**args, &block)
|
|
4757
5401
|
exchange_message(:"dump", Messages::DumpPortGetRequest, Messages::DumpPortGetReply, args, &block)
|
|
4758
5402
|
end
|
|
4759
5403
|
# Set devlink port instances.
|
|
5404
|
+
#
|
|
5405
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4760
5406
|
#--
|
|
4761
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?port_type: ::Integer, ?port_function: AttributeSets::DlPortFunction) -> void
|
|
5407
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?port_type: ::Integer, ?port_function: AttributeSets::DlPortFunction, ?index: ::Integer) -> void
|
|
4762
5408
|
def do_port_set(**args)
|
|
4763
5409
|
exchange_message(:"do", Messages::DoPortSetRequest, nil, args)
|
|
4764
5410
|
end
|
|
4765
5411
|
# Create devlink port instances.
|
|
5412
|
+
#
|
|
5413
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4766
5414
|
#--
|
|
4767
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?port_flavour: ::Integer, ?port_pci_pf_number: ::Integer, ?port_controller_number: ::Integer, ?port_pci_sf_number: ::Integer) -> Messages::DoPortNewReply
|
|
5415
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?port_flavour: ::Integer, ?port_pci_pf_number: ::Integer, ?port_controller_number: ::Integer, ?port_pci_sf_number: ::Integer, ?index: ::Integer) -> Messages::DoPortNewReply
|
|
4768
5416
|
def do_port_new(**args)
|
|
4769
5417
|
exchange_message(:"do", Messages::DoPortNewRequest, Messages::DoPortNewReply, args)
|
|
4770
5418
|
end
|
|
4771
5419
|
# Delete devlink port instances.
|
|
5420
|
+
#
|
|
5421
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4772
5422
|
#--
|
|
4773
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer) -> void
|
|
5423
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> void
|
|
4774
5424
|
def do_port_del(**args)
|
|
4775
5425
|
exchange_message(:"do", Messages::DoPortDelRequest, nil, args)
|
|
4776
5426
|
end
|
|
4777
5427
|
# Split devlink port instances.
|
|
5428
|
+
#
|
|
5429
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4778
5430
|
#--
|
|
4779
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?port_split_count: ::Integer) -> void
|
|
5431
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?port_split_count: ::Integer, ?index: ::Integer) -> void
|
|
4780
5432
|
def do_port_split(**args)
|
|
4781
5433
|
exchange_message(:"do", Messages::DoPortSplitRequest, nil, args)
|
|
4782
5434
|
end
|
|
4783
5435
|
# Unplit devlink port instances.
|
|
5436
|
+
#
|
|
5437
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4784
5438
|
#--
|
|
4785
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer) -> void
|
|
5439
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> void
|
|
4786
5440
|
def do_port_unsplit(**args)
|
|
4787
5441
|
exchange_message(:"do", Messages::DoPortUnsplitRequest, nil, args)
|
|
4788
5442
|
end
|
|
4789
5443
|
# Get shared buffer instances.
|
|
4790
5444
|
#--
|
|
4791
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer) -> Messages::DoSbGetReply
|
|
5445
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer, ?index: ::Integer) -> Messages::DoSbGetReply
|
|
4792
5446
|
def do_sb_get(**args)
|
|
4793
5447
|
exchange_message(:"do", Messages::DoSbGetRequest, Messages::DoSbGetReply, args)
|
|
4794
5448
|
end
|
|
4795
5449
|
# Get shared buffer instances.
|
|
4796
5450
|
#--
|
|
4797
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpSbGetReply]
|
|
4798
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpSbGetReply) -> void } -> void
|
|
5451
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpSbGetReply]
|
|
5452
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpSbGetReply) -> void } -> void
|
|
4799
5453
|
def dump_sb_get(**args, &block)
|
|
4800
5454
|
exchange_message(:"dump", Messages::DumpSbGetRequest, Messages::DumpSbGetReply, args, &block)
|
|
4801
5455
|
end
|
|
4802
5456
|
# Get shared buffer pool instances.
|
|
4803
5457
|
#--
|
|
4804
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer, ?sb_pool_index: ::Integer) -> Messages::DoSbPoolGetReply
|
|
5458
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer, ?sb_pool_index: ::Integer, ?index: ::Integer) -> Messages::DoSbPoolGetReply
|
|
4805
5459
|
def do_sb_pool_get(**args)
|
|
4806
5460
|
exchange_message(:"do", Messages::DoSbPoolGetRequest, Messages::DoSbPoolGetReply, args)
|
|
4807
5461
|
end
|
|
4808
5462
|
# Get shared buffer pool instances.
|
|
4809
5463
|
#--
|
|
4810
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpSbPoolGetReply]
|
|
4811
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpSbPoolGetReply) -> void } -> void
|
|
5464
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpSbPoolGetReply]
|
|
5465
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpSbPoolGetReply) -> void } -> void
|
|
4812
5466
|
def dump_sb_pool_get(**args, &block)
|
|
4813
5467
|
exchange_message(:"dump", Messages::DumpSbPoolGetRequest, Messages::DumpSbPoolGetReply, args, &block)
|
|
4814
5468
|
end
|
|
4815
5469
|
# Set shared buffer pool instances.
|
|
5470
|
+
#
|
|
5471
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4816
5472
|
#--
|
|
4817
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer, ?sb_pool_index: ::Integer, ?sb_pool_size: ::Integer, ?sb_pool_threshold_type: ::Integer) -> void
|
|
5473
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer, ?sb_pool_index: ::Integer, ?sb_pool_size: ::Integer, ?sb_pool_threshold_type: ::Integer, ?index: ::Integer) -> void
|
|
4818
5474
|
def do_sb_pool_set(**args)
|
|
4819
5475
|
exchange_message(:"do", Messages::DoSbPoolSetRequest, nil, args)
|
|
4820
5476
|
end
|
|
4821
5477
|
# Get shared buffer port-pool combinations and threshold.
|
|
4822
5478
|
#--
|
|
4823
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?sb_index: ::Integer, ?sb_pool_index: ::Integer) -> Messages::DoSbPortPoolGetReply
|
|
5479
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?sb_index: ::Integer, ?sb_pool_index: ::Integer, ?index: ::Integer) -> Messages::DoSbPortPoolGetReply
|
|
4824
5480
|
def do_sb_port_pool_get(**args)
|
|
4825
5481
|
exchange_message(:"do", Messages::DoSbPortPoolGetRequest, Messages::DoSbPortPoolGetReply, args)
|
|
4826
5482
|
end
|
|
4827
5483
|
# Get shared buffer port-pool combinations and threshold.
|
|
4828
5484
|
#--
|
|
4829
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpSbPortPoolGetReply]
|
|
4830
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpSbPortPoolGetReply) -> void } -> void
|
|
5485
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpSbPortPoolGetReply]
|
|
5486
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpSbPortPoolGetReply) -> void } -> void
|
|
4831
5487
|
def dump_sb_port_pool_get(**args, &block)
|
|
4832
5488
|
exchange_message(:"dump", Messages::DumpSbPortPoolGetRequest, Messages::DumpSbPortPoolGetReply, args, &block)
|
|
4833
5489
|
end
|
|
4834
5490
|
# Set shared buffer port-pool combinations and threshold.
|
|
5491
|
+
#
|
|
5492
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4835
5493
|
#--
|
|
4836
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?sb_index: ::Integer, ?sb_pool_index: ::Integer, ?sb_threshold: ::Integer) -> void
|
|
5494
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?sb_index: ::Integer, ?sb_pool_index: ::Integer, ?sb_threshold: ::Integer, ?index: ::Integer) -> void
|
|
4837
5495
|
def do_sb_port_pool_set(**args)
|
|
4838
5496
|
exchange_message(:"do", Messages::DoSbPortPoolSetRequest, nil, args)
|
|
4839
5497
|
end
|
|
4840
5498
|
# Get shared buffer port-TC to pool bindings and threshold.
|
|
4841
5499
|
#--
|
|
4842
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?sb_index: ::Integer, ?sb_pool_type: ::Integer, ?sb_tc_index: ::Integer) -> Messages::DoSbTcPoolBindGetReply
|
|
5500
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?sb_index: ::Integer, ?sb_pool_type: ::Integer, ?sb_tc_index: ::Integer, ?index: ::Integer) -> Messages::DoSbTcPoolBindGetReply
|
|
4843
5501
|
def do_sb_tc_pool_bind_get(**args)
|
|
4844
5502
|
exchange_message(:"do", Messages::DoSbTcPoolBindGetRequest, Messages::DoSbTcPoolBindGetReply, args)
|
|
4845
5503
|
end
|
|
4846
5504
|
# Get shared buffer port-TC to pool bindings and threshold.
|
|
4847
5505
|
#--
|
|
4848
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpSbTcPoolBindGetReply]
|
|
4849
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpSbTcPoolBindGetReply) -> void } -> void
|
|
5506
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpSbTcPoolBindGetReply]
|
|
5507
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpSbTcPoolBindGetReply) -> void } -> void
|
|
4850
5508
|
def dump_sb_tc_pool_bind_get(**args, &block)
|
|
4851
5509
|
exchange_message(:"dump", Messages::DumpSbTcPoolBindGetRequest, Messages::DumpSbTcPoolBindGetReply, args, &block)
|
|
4852
5510
|
end
|
|
4853
5511
|
# Set shared buffer port-TC to pool bindings and threshold.
|
|
5512
|
+
#
|
|
5513
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4854
5514
|
#--
|
|
4855
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?sb_index: ::Integer, ?sb_pool_index: ::Integer, ?sb_pool_type: ::Integer, ?sb_threshold: ::Integer, ?sb_tc_index: ::Integer) -> void
|
|
5515
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?sb_index: ::Integer, ?sb_pool_index: ::Integer, ?sb_pool_type: ::Integer, ?sb_threshold: ::Integer, ?sb_tc_index: ::Integer, ?index: ::Integer) -> void
|
|
4856
5516
|
def do_sb_tc_pool_bind_set(**args)
|
|
4857
5517
|
exchange_message(:"do", Messages::DoSbTcPoolBindSetRequest, nil, args)
|
|
4858
5518
|
end
|
|
4859
5519
|
# Take occupancy snapshot of shared buffer.
|
|
5520
|
+
#
|
|
5521
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4860
5522
|
#--
|
|
4861
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer) -> void
|
|
5523
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer, ?index: ::Integer) -> void
|
|
4862
5524
|
def do_sb_occ_snapshot(**args)
|
|
4863
5525
|
exchange_message(:"do", Messages::DoSbOccSnapshotRequest, nil, args)
|
|
4864
5526
|
end
|
|
4865
5527
|
# Clear occupancy watermarks of shared buffer.
|
|
5528
|
+
#
|
|
5529
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4866
5530
|
#--
|
|
4867
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer) -> void
|
|
5531
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer, ?index: ::Integer) -> void
|
|
4868
5532
|
def do_sb_occ_max_clear(**args)
|
|
4869
5533
|
exchange_message(:"do", Messages::DoSbOccMaxClearRequest, nil, args)
|
|
4870
5534
|
end
|
|
4871
5535
|
# Get eswitch attributes.
|
|
5536
|
+
#
|
|
5537
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4872
5538
|
#--
|
|
4873
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Messages::DoEswitchGetReply
|
|
5539
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Messages::DoEswitchGetReply
|
|
4874
5540
|
def do_eswitch_get(**args)
|
|
4875
5541
|
exchange_message(:"do", Messages::DoEswitchGetRequest, Messages::DoEswitchGetReply, args)
|
|
4876
5542
|
end
|
|
4877
5543
|
# Set eswitch attributes.
|
|
5544
|
+
#
|
|
5545
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4878
5546
|
#--
|
|
4879
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?eswitch_mode: ::Integer, ?eswitch_inline_mode: ::Integer, ?eswitch_encap_mode: ::Integer) -> void
|
|
5547
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?eswitch_mode: ::Integer, ?eswitch_inline_mode: ::Integer, ?eswitch_encap_mode: ::Integer, ?index: ::Integer) -> void
|
|
4880
5548
|
def do_eswitch_set(**args)
|
|
4881
5549
|
exchange_message(:"do", Messages::DoEswitchSetRequest, nil, args)
|
|
4882
5550
|
end
|
|
4883
5551
|
# Get dpipe table attributes.
|
|
4884
5552
|
#--
|
|
4885
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?dpipe_table_name: ::String) -> Messages::DoDpipeTableGetReply
|
|
5553
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?dpipe_table_name: ::String, ?index: ::Integer) -> Messages::DoDpipeTableGetReply
|
|
4886
5554
|
def do_dpipe_table_get(**args)
|
|
4887
5555
|
exchange_message(:"do", Messages::DoDpipeTableGetRequest, Messages::DoDpipeTableGetReply, args)
|
|
4888
5556
|
end
|
|
4889
5557
|
# Get dpipe entries attributes.
|
|
4890
5558
|
#--
|
|
4891
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?dpipe_table_name: ::String) -> Messages::DoDpipeEntriesGetReply
|
|
5559
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?dpipe_table_name: ::String, ?index: ::Integer) -> Messages::DoDpipeEntriesGetReply
|
|
4892
5560
|
def do_dpipe_entries_get(**args)
|
|
4893
5561
|
exchange_message(:"do", Messages::DoDpipeEntriesGetRequest, Messages::DoDpipeEntriesGetReply, args)
|
|
4894
5562
|
end
|
|
4895
5563
|
# Get dpipe headers attributes.
|
|
4896
5564
|
#--
|
|
4897
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Messages::DoDpipeHeadersGetReply
|
|
5565
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Messages::DoDpipeHeadersGetReply
|
|
4898
5566
|
def do_dpipe_headers_get(**args)
|
|
4899
5567
|
exchange_message(:"do", Messages::DoDpipeHeadersGetRequest, Messages::DoDpipeHeadersGetReply, args)
|
|
4900
5568
|
end
|
|
4901
5569
|
# Set dpipe counter attributes.
|
|
5570
|
+
#
|
|
5571
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4902
5572
|
#--
|
|
4903
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?dpipe_table_name: ::String, ?dpipe_table_counters_enabled: ::Integer) -> void
|
|
5573
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?dpipe_table_name: ::String, ?dpipe_table_counters_enabled: ::Integer, ?index: ::Integer) -> void
|
|
4904
5574
|
def do_dpipe_table_counters_set(**args)
|
|
4905
5575
|
exchange_message(:"do", Messages::DoDpipeTableCountersSetRequest, nil, args)
|
|
4906
5576
|
end
|
|
4907
5577
|
# Set resource attributes.
|
|
5578
|
+
#
|
|
5579
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4908
5580
|
#--
|
|
4909
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?resource_id: ::Integer, ?resource_size: ::Integer) -> void
|
|
5581
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?resource_id: ::Integer, ?resource_size: ::Integer, ?index: ::Integer) -> void
|
|
4910
5582
|
def do_resource_set(**args)
|
|
4911
5583
|
exchange_message(:"do", Messages::DoResourceSetRequest, nil, args)
|
|
4912
5584
|
end
|
|
4913
5585
|
# Get resource attributes.
|
|
4914
5586
|
#--
|
|
4915
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Messages::DoResourceDumpReply
|
|
5587
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> Messages::DoResourceDumpReply
|
|
4916
5588
|
def do_resource_dump(**args)
|
|
4917
5589
|
exchange_message(:"do", Messages::DoResourceDumpRequest, Messages::DoResourceDumpReply, args)
|
|
4918
5590
|
end
|
|
5591
|
+
# Get resource attributes.
|
|
5592
|
+
#--
|
|
5593
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer, ?resource_scope_mask: ::Integer) -> Enumerable[Messages::DumpResourceDumpReply]
|
|
5594
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer, ?resource_scope_mask: ::Integer) { (Messages::DumpResourceDumpReply) -> void } -> void
|
|
5595
|
+
def dump_resource_dump(**args, &block)
|
|
5596
|
+
exchange_message(:"dump", Messages::DumpResourceDumpRequest, Messages::DumpResourceDumpReply, args, &block)
|
|
5597
|
+
end
|
|
4919
5598
|
# Reload devlink.
|
|
5599
|
+
#
|
|
5600
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4920
5601
|
#--
|
|
4921
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?netns_fd: ::Integer, ?netns_pid: ::Integer, ?netns_id: ::Integer, ?reload_action: ::Integer, ?reload_limits: ::Integer) -> Messages::DoReloadReply
|
|
5602
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?netns_fd: ::Integer, ?netns_pid: ::Integer, ?netns_id: ::Integer, ?reload_action: ::Integer, ?reload_limits: ::Integer, ?index: ::Integer) -> Messages::DoReloadReply
|
|
4922
5603
|
def do_reload(**args)
|
|
4923
5604
|
exchange_message(:"do", Messages::DoReloadRequest, Messages::DoReloadReply, args)
|
|
4924
5605
|
end
|
|
4925
5606
|
# Get param instances.
|
|
4926
5607
|
#--
|
|
4927
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?param_name: ::String) -> Messages::DoParamGetReply
|
|
5608
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?param_name: ::String, ?index: ::Integer) -> Messages::DoParamGetReply
|
|
4928
5609
|
def do_param_get(**args)
|
|
4929
5610
|
exchange_message(:"do", Messages::DoParamGetRequest, Messages::DoParamGetReply, args)
|
|
4930
5611
|
end
|
|
4931
5612
|
# Get param instances.
|
|
4932
5613
|
#--
|
|
4933
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpParamGetReply]
|
|
4934
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpParamGetReply) -> void } -> void
|
|
5614
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpParamGetReply]
|
|
5615
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpParamGetReply) -> void } -> void
|
|
4935
5616
|
def dump_param_get(**args, &block)
|
|
4936
5617
|
exchange_message(:"dump", Messages::DumpParamGetRequest, Messages::DumpParamGetReply, args, &block)
|
|
4937
5618
|
end
|
|
4938
5619
|
# Set param instances.
|
|
5620
|
+
#
|
|
5621
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4939
5622
|
#--
|
|
4940
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?param_name: ::String, ?param_type: ::Integer, ?param_value_cmode: ::Integer, ?param_reset_default: ::Integer) -> void
|
|
5623
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?param_name: ::String, ?param_type: ::Integer, ?param_value_cmode: ::Integer, ?param_reset_default: ::Integer, ?index: ::Integer) -> void
|
|
4941
5624
|
def do_param_set(**args)
|
|
4942
5625
|
exchange_message(:"do", Messages::DoParamSetRequest, nil, args)
|
|
4943
5626
|
end
|
|
4944
5627
|
# Get region instances.
|
|
4945
5628
|
#--
|
|
4946
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?region_name: ::String) -> Messages::DoRegionGetReply
|
|
5629
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?region_name: ::String, ?index: ::Integer) -> Messages::DoRegionGetReply
|
|
4947
5630
|
def do_region_get(**args)
|
|
4948
5631
|
exchange_message(:"do", Messages::DoRegionGetRequest, Messages::DoRegionGetReply, args)
|
|
4949
5632
|
end
|
|
4950
5633
|
# Get region instances.
|
|
4951
5634
|
#--
|
|
4952
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpRegionGetReply]
|
|
4953
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpRegionGetReply) -> void } -> void
|
|
5635
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpRegionGetReply]
|
|
5636
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpRegionGetReply) -> void } -> void
|
|
4954
5637
|
def dump_region_get(**args, &block)
|
|
4955
5638
|
exchange_message(:"dump", Messages::DumpRegionGetRequest, Messages::DumpRegionGetReply, args, &block)
|
|
4956
5639
|
end
|
|
4957
5640
|
# Create region snapshot.
|
|
5641
|
+
#
|
|
5642
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4958
5643
|
#--
|
|
4959
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?region_name: ::String, ?region_snapshot_id: ::Integer) -> Messages::DoRegionNewReply
|
|
5644
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?region_name: ::String, ?region_snapshot_id: ::Integer, ?index: ::Integer) -> Messages::DoRegionNewReply
|
|
4960
5645
|
def do_region_new(**args)
|
|
4961
5646
|
exchange_message(:"do", Messages::DoRegionNewRequest, Messages::DoRegionNewReply, args)
|
|
4962
5647
|
end
|
|
4963
5648
|
# Delete region snapshot.
|
|
5649
|
+
#
|
|
5650
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4964
5651
|
#--
|
|
4965
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?region_name: ::String, ?region_snapshot_id: ::Integer) -> void
|
|
5652
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?region_name: ::String, ?region_snapshot_id: ::Integer, ?index: ::Integer) -> void
|
|
4966
5653
|
def do_region_del(**args)
|
|
4967
5654
|
exchange_message(:"do", Messages::DoRegionDelRequest, nil, args)
|
|
4968
5655
|
end
|
|
4969
5656
|
# Read region data.
|
|
5657
|
+
#
|
|
5658
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4970
5659
|
#--
|
|
4971
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?region_name: ::String, ?region_snapshot_id: ::Integer, ?region_chunk_addr: ::Integer, ?region_chunk_len: ::Integer, ?region_direct: ::Integer) -> Enumerable[Messages::DumpRegionReadReply]
|
|
4972
|
-
# | (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?region_name: ::String, ?region_snapshot_id: ::Integer, ?region_chunk_addr: ::Integer, ?region_chunk_len: ::Integer, ?region_direct: ::Integer) { (Messages::DumpRegionReadReply) -> void } -> void
|
|
5660
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?region_name: ::String, ?region_snapshot_id: ::Integer, ?region_chunk_addr: ::Integer, ?region_chunk_len: ::Integer, ?region_direct: ::Integer, ?index: ::Integer) -> Enumerable[Messages::DumpRegionReadReply]
|
|
5661
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?region_name: ::String, ?region_snapshot_id: ::Integer, ?region_chunk_addr: ::Integer, ?region_chunk_len: ::Integer, ?region_direct: ::Integer, ?index: ::Integer) { (Messages::DumpRegionReadReply) -> void } -> void
|
|
4973
5662
|
def dump_region_read(**args, &block)
|
|
4974
5663
|
exchange_message(:"dump", Messages::DumpRegionReadRequest, Messages::DumpRegionReadReply, args, &block)
|
|
4975
5664
|
end
|
|
4976
5665
|
# Get port param instances.
|
|
4977
5666
|
#--
|
|
4978
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer) -> Messages::DoPortParamGetReply
|
|
5667
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> Messages::DoPortParamGetReply
|
|
4979
5668
|
def do_port_param_get(**args)
|
|
4980
5669
|
exchange_message(:"do", Messages::DoPortParamGetRequest, Messages::DoPortParamGetReply, args)
|
|
4981
5670
|
end
|
|
5671
|
+
# Get port param instances.
|
|
5672
|
+
#--
|
|
5673
|
+
# @rbs () -> Enumerable[Messages::DumpPortParamGetReply]
|
|
5674
|
+
# | () { (Messages::DumpPortParamGetReply) -> void } -> void
|
|
5675
|
+
def dump_port_param_get(**args, &block)
|
|
5676
|
+
exchange_message(:"dump", Messages::DumpPortParamGetRequest, Messages::DumpPortParamGetReply, args, &block)
|
|
5677
|
+
end
|
|
4982
5678
|
# Set port param instances.
|
|
5679
|
+
#
|
|
5680
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
4983
5681
|
#--
|
|
4984
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer) -> void
|
|
5682
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> void
|
|
4985
5683
|
def do_port_param_set(**args)
|
|
4986
5684
|
exchange_message(:"do", Messages::DoPortParamSetRequest, nil, args)
|
|
4987
5685
|
end
|
|
4988
5686
|
# Get device information, like driver name, hardware and firmware versions
|
|
4989
5687
|
# etc.
|
|
4990
5688
|
#--
|
|
4991
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Messages::DoInfoGetReply
|
|
5689
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Messages::DoInfoGetReply
|
|
4992
5690
|
def do_info_get(**args)
|
|
4993
5691
|
exchange_message(:"do", Messages::DoInfoGetRequest, Messages::DoInfoGetReply, args)
|
|
4994
5692
|
end
|
|
5693
|
+
# Get device information, like driver name, hardware and firmware versions
|
|
5694
|
+
# etc.
|
|
5695
|
+
#--
|
|
5696
|
+
# @rbs () -> Enumerable[Messages::DumpInfoGetReply]
|
|
5697
|
+
# | () { (Messages::DumpInfoGetReply) -> void } -> void
|
|
5698
|
+
def dump_info_get(**args, &block)
|
|
5699
|
+
exchange_message(:"dump", Messages::DumpInfoGetRequest, Messages::DumpInfoGetReply, args, &block)
|
|
5700
|
+
end
|
|
4995
5701
|
# Get health reporter instances.
|
|
4996
5702
|
#--
|
|
4997
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String) -> Messages::DoHealthReporterGetReply
|
|
5703
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?index: ::Integer) -> Messages::DoHealthReporterGetReply
|
|
4998
5704
|
def do_health_reporter_get(**args)
|
|
4999
5705
|
exchange_message(:"do", Messages::DoHealthReporterGetRequest, Messages::DoHealthReporterGetReply, args)
|
|
5000
5706
|
end
|
|
5001
5707
|
# Get health reporter instances.
|
|
5002
5708
|
#--
|
|
5003
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer) -> Enumerable[Messages::DumpHealthReporterGetReply]
|
|
5004
|
-
# | (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer) { (Messages::DumpHealthReporterGetReply) -> void } -> void
|
|
5709
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> Enumerable[Messages::DumpHealthReporterGetReply]
|
|
5710
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) { (Messages::DumpHealthReporterGetReply) -> void } -> void
|
|
5005
5711
|
def dump_health_reporter_get(**args, &block)
|
|
5006
5712
|
exchange_message(:"dump", Messages::DumpHealthReporterGetRequest, Messages::DumpHealthReporterGetReply, args, &block)
|
|
5007
5713
|
end
|
|
5008
5714
|
# Set health reporter instances.
|
|
5715
|
+
#
|
|
5716
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
5009
5717
|
#--
|
|
5010
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?health_reporter_graceful_period: ::Integer, ?health_reporter_auto_recover: ::Integer, ?health_reporter_auto_dump: ::Integer, ?health_reporter_burst_period: ::Integer) -> void
|
|
5718
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?health_reporter_graceful_period: ::Integer, ?health_reporter_auto_recover: ::Integer, ?health_reporter_auto_dump: ::Integer, ?health_reporter_burst_period: ::Integer, ?index: ::Integer) -> void
|
|
5011
5719
|
def do_health_reporter_set(**args)
|
|
5012
5720
|
exchange_message(:"do", Messages::DoHealthReporterSetRequest, nil, args)
|
|
5013
5721
|
end
|
|
5014
5722
|
# Recover health reporter instances.
|
|
5723
|
+
#
|
|
5724
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
5015
5725
|
#--
|
|
5016
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String) -> void
|
|
5726
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?index: ::Integer) -> void
|
|
5017
5727
|
def do_health_reporter_recover(**args)
|
|
5018
5728
|
exchange_message(:"do", Messages::DoHealthReporterRecoverRequest, nil, args)
|
|
5019
5729
|
end
|
|
5020
5730
|
# Diagnose health reporter instances.
|
|
5731
|
+
#
|
|
5732
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
5021
5733
|
#--
|
|
5022
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String) -> void
|
|
5734
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?index: ::Integer) -> void
|
|
5023
5735
|
def do_health_reporter_diagnose(**args)
|
|
5024
5736
|
exchange_message(:"do", Messages::DoHealthReporterDiagnoseRequest, nil, args)
|
|
5025
5737
|
end
|
|
5026
5738
|
# Dump health reporter instances.
|
|
5739
|
+
#
|
|
5740
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
5027
5741
|
#--
|
|
5028
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String) -> Enumerable[Messages::DumpHealthReporterDumpGetReply]
|
|
5029
|
-
# | (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String) { (Messages::DumpHealthReporterDumpGetReply) -> void } -> void
|
|
5742
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpHealthReporterDumpGetReply]
|
|
5743
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?index: ::Integer) { (Messages::DumpHealthReporterDumpGetReply) -> void } -> void
|
|
5030
5744
|
def dump_health_reporter_dump_get(**args, &block)
|
|
5031
5745
|
exchange_message(:"dump", Messages::DumpHealthReporterDumpGetRequest, Messages::DumpHealthReporterDumpGetReply, args, &block)
|
|
5032
5746
|
end
|
|
5033
5747
|
# Clear dump of health reporter instances.
|
|
5748
|
+
#
|
|
5749
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
5034
5750
|
#--
|
|
5035
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String) -> void
|
|
5751
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?index: ::Integer) -> void
|
|
5036
5752
|
def do_health_reporter_dump_clear(**args)
|
|
5037
5753
|
exchange_message(:"do", Messages::DoHealthReporterDumpClearRequest, nil, args)
|
|
5038
5754
|
end
|
|
5039
5755
|
# Flash update devlink instances.
|
|
5756
|
+
#
|
|
5757
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
5040
5758
|
#--
|
|
5041
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?flash_update_file_name: ::String, ?flash_update_component: ::String, ?flash_update_overwrite_mask: ::Integer) -> void
|
|
5759
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?flash_update_file_name: ::String, ?flash_update_component: ::String, ?flash_update_overwrite_mask: ::Integer, ?index: ::Integer) -> void
|
|
5042
5760
|
def do_flash_update(**args)
|
|
5043
5761
|
exchange_message(:"do", Messages::DoFlashUpdateRequest, nil, args)
|
|
5044
5762
|
end
|
|
5045
5763
|
# Get trap instances.
|
|
5046
5764
|
#--
|
|
5047
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_name: ::String) -> Messages::DoTrapGetReply
|
|
5765
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_name: ::String, ?index: ::Integer) -> Messages::DoTrapGetReply
|
|
5048
5766
|
def do_trap_get(**args)
|
|
5049
5767
|
exchange_message(:"do", Messages::DoTrapGetRequest, Messages::DoTrapGetReply, args)
|
|
5050
5768
|
end
|
|
5051
5769
|
# Get trap instances.
|
|
5052
5770
|
#--
|
|
5053
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpTrapGetReply]
|
|
5054
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpTrapGetReply) -> void } -> void
|
|
5771
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpTrapGetReply]
|
|
5772
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpTrapGetReply) -> void } -> void
|
|
5055
5773
|
def dump_trap_get(**args, &block)
|
|
5056
5774
|
exchange_message(:"dump", Messages::DumpTrapGetRequest, Messages::DumpTrapGetReply, args, &block)
|
|
5057
5775
|
end
|
|
5058
5776
|
# Set trap instances.
|
|
5777
|
+
#
|
|
5778
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
5059
5779
|
#--
|
|
5060
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_name: ::String, ?trap_action: ::Integer) -> void
|
|
5780
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_name: ::String, ?trap_action: ::Integer, ?index: ::Integer) -> void
|
|
5061
5781
|
def do_trap_set(**args)
|
|
5062
5782
|
exchange_message(:"do", Messages::DoTrapSetRequest, nil, args)
|
|
5063
5783
|
end
|
|
5064
5784
|
# Get trap group instances.
|
|
5065
5785
|
#--
|
|
5066
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_group_name: ::String) -> Messages::DoTrapGroupGetReply
|
|
5786
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_group_name: ::String, ?index: ::Integer) -> Messages::DoTrapGroupGetReply
|
|
5067
5787
|
def do_trap_group_get(**args)
|
|
5068
5788
|
exchange_message(:"do", Messages::DoTrapGroupGetRequest, Messages::DoTrapGroupGetReply, args)
|
|
5069
5789
|
end
|
|
5070
5790
|
# Get trap group instances.
|
|
5071
5791
|
#--
|
|
5072
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpTrapGroupGetReply]
|
|
5073
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpTrapGroupGetReply) -> void } -> void
|
|
5792
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpTrapGroupGetReply]
|
|
5793
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpTrapGroupGetReply) -> void } -> void
|
|
5074
5794
|
def dump_trap_group_get(**args, &block)
|
|
5075
5795
|
exchange_message(:"dump", Messages::DumpTrapGroupGetRequest, Messages::DumpTrapGroupGetReply, args, &block)
|
|
5076
5796
|
end
|
|
5077
5797
|
# Set trap group instances.
|
|
5798
|
+
#
|
|
5799
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
5078
5800
|
#--
|
|
5079
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_action: ::Integer, ?trap_group_name: ::String, ?trap_policer_id: ::Integer) -> void
|
|
5801
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_action: ::Integer, ?trap_group_name: ::String, ?trap_policer_id: ::Integer, ?index: ::Integer) -> void
|
|
5080
5802
|
def do_trap_group_set(**args)
|
|
5081
5803
|
exchange_message(:"do", Messages::DoTrapGroupSetRequest, nil, args)
|
|
5082
5804
|
end
|
|
5083
5805
|
# Get trap policer instances.
|
|
5084
5806
|
#--
|
|
5085
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_policer_id: ::Integer) -> Messages::DoTrapPolicerGetReply
|
|
5807
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_policer_id: ::Integer, ?index: ::Integer) -> Messages::DoTrapPolicerGetReply
|
|
5086
5808
|
def do_trap_policer_get(**args)
|
|
5087
5809
|
exchange_message(:"do", Messages::DoTrapPolicerGetRequest, Messages::DoTrapPolicerGetReply, args)
|
|
5088
5810
|
end
|
|
5089
5811
|
# Get trap policer instances.
|
|
5090
5812
|
#--
|
|
5091
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpTrapPolicerGetReply]
|
|
5092
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpTrapPolicerGetReply) -> void } -> void
|
|
5813
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpTrapPolicerGetReply]
|
|
5814
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpTrapPolicerGetReply) -> void } -> void
|
|
5093
5815
|
def dump_trap_policer_get(**args, &block)
|
|
5094
5816
|
exchange_message(:"dump", Messages::DumpTrapPolicerGetRequest, Messages::DumpTrapPolicerGetReply, args, &block)
|
|
5095
5817
|
end
|
|
5096
5818
|
# Get trap policer instances.
|
|
5819
|
+
#
|
|
5820
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
5097
5821
|
#--
|
|
5098
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_policer_id: ::Integer, ?trap_policer_rate: ::Integer, ?trap_policer_burst: ::Integer) -> void
|
|
5822
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_policer_id: ::Integer, ?trap_policer_rate: ::Integer, ?trap_policer_burst: ::Integer, ?index: ::Integer) -> void
|
|
5099
5823
|
def do_trap_policer_set(**args)
|
|
5100
5824
|
exchange_message(:"do", Messages::DoTrapPolicerSetRequest, nil, args)
|
|
5101
5825
|
end
|
|
5102
5826
|
# Test health reporter instances.
|
|
5827
|
+
#
|
|
5828
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
5103
5829
|
#--
|
|
5104
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String) -> void
|
|
5830
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?index: ::Integer) -> void
|
|
5105
5831
|
def do_health_reporter_test(**args)
|
|
5106
5832
|
exchange_message(:"do", Messages::DoHealthReporterTestRequest, nil, args)
|
|
5107
5833
|
end
|
|
5108
5834
|
# Get rate instances.
|
|
5109
5835
|
#--
|
|
5110
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?rate_node_name: ::String) -> Messages::DoRateGetReply
|
|
5836
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?rate_node_name: ::String, ?index: ::Integer) -> Messages::DoRateGetReply
|
|
5111
5837
|
def do_rate_get(**args)
|
|
5112
5838
|
exchange_message(:"do", Messages::DoRateGetRequest, Messages::DoRateGetReply, args)
|
|
5113
5839
|
end
|
|
5114
5840
|
# Get rate instances.
|
|
5115
5841
|
#--
|
|
5116
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpRateGetReply]
|
|
5117
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpRateGetReply) -> void } -> void
|
|
5842
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpRateGetReply]
|
|
5843
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpRateGetReply) -> void } -> void
|
|
5118
5844
|
def dump_rate_get(**args, &block)
|
|
5119
5845
|
exchange_message(:"dump", Messages::DumpRateGetRequest, Messages::DumpRateGetReply, args, &block)
|
|
5120
5846
|
end
|
|
5121
5847
|
# Set rate instances.
|
|
5848
|
+
#
|
|
5849
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
5122
5850
|
#--
|
|
5123
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?rate_tx_share: ::Integer, ?rate_tx_max: ::Integer, ?rate_node_name: ::String, ?rate_parent_node_name: ::String, ?rate_tx_priority: ::Integer, ?rate_tx_weight: ::Integer, ?rate_tc_bws: AttributeSets::DlRateTcBws) -> void
|
|
5851
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?rate_tx_share: ::Integer, ?rate_tx_max: ::Integer, ?rate_node_name: ::String, ?rate_parent_node_name: ::String, ?rate_tx_priority: ::Integer, ?rate_tx_weight: ::Integer, ?rate_tc_bws: AttributeSets::DlRateTcBws, ?index: ::Integer) -> void
|
|
5124
5852
|
def do_rate_set(**args)
|
|
5125
5853
|
exchange_message(:"do", Messages::DoRateSetRequest, nil, args)
|
|
5126
5854
|
end
|
|
5127
5855
|
# Create rate instances.
|
|
5856
|
+
#
|
|
5857
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
5128
5858
|
#--
|
|
5129
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?rate_tx_share: ::Integer, ?rate_tx_max: ::Integer, ?rate_node_name: ::String, ?rate_parent_node_name: ::String, ?rate_tx_priority: ::Integer, ?rate_tx_weight: ::Integer, ?rate_tc_bws: AttributeSets::DlRateTcBws) -> void
|
|
5859
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?rate_tx_share: ::Integer, ?rate_tx_max: ::Integer, ?rate_node_name: ::String, ?rate_parent_node_name: ::String, ?rate_tx_priority: ::Integer, ?rate_tx_weight: ::Integer, ?rate_tc_bws: AttributeSets::DlRateTcBws, ?index: ::Integer) -> void
|
|
5130
5860
|
def do_rate_new(**args)
|
|
5131
5861
|
exchange_message(:"do", Messages::DoRateNewRequest, nil, args)
|
|
5132
5862
|
end
|
|
5133
5863
|
# Delete rate instances.
|
|
5864
|
+
#
|
|
5865
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
5134
5866
|
#--
|
|
5135
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?rate_node_name: ::String) -> void
|
|
5867
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?rate_node_name: ::String, ?index: ::Integer) -> void
|
|
5136
5868
|
def do_rate_del(**args)
|
|
5137
5869
|
exchange_message(:"do", Messages::DoRateDelRequest, nil, args)
|
|
5138
5870
|
end
|
|
5139
5871
|
# Get line card instances.
|
|
5140
5872
|
#--
|
|
5141
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?linecard_index: ::Integer) -> Messages::DoLinecardGetReply
|
|
5873
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?linecard_index: ::Integer, ?index: ::Integer) -> Messages::DoLinecardGetReply
|
|
5142
5874
|
def do_linecard_get(**args)
|
|
5143
5875
|
exchange_message(:"do", Messages::DoLinecardGetRequest, Messages::DoLinecardGetReply, args)
|
|
5144
5876
|
end
|
|
5145
5877
|
# Get line card instances.
|
|
5146
5878
|
#--
|
|
5147
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpLinecardGetReply]
|
|
5148
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpLinecardGetReply) -> void } -> void
|
|
5879
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpLinecardGetReply]
|
|
5880
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpLinecardGetReply) -> void } -> void
|
|
5149
5881
|
def dump_linecard_get(**args, &block)
|
|
5150
5882
|
exchange_message(:"dump", Messages::DumpLinecardGetRequest, Messages::DumpLinecardGetReply, args, &block)
|
|
5151
5883
|
end
|
|
5152
5884
|
# Set line card instances.
|
|
5885
|
+
#
|
|
5886
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
5153
5887
|
#--
|
|
5154
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?linecard_index: ::Integer, ?linecard_type: ::String) -> void
|
|
5888
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?linecard_index: ::Integer, ?linecard_type: ::String, ?index: ::Integer) -> void
|
|
5155
5889
|
def do_linecard_set(**args)
|
|
5156
5890
|
exchange_message(:"do", Messages::DoLinecardSetRequest, nil, args)
|
|
5157
5891
|
end
|
|
5158
5892
|
# Get device selftest instances.
|
|
5159
5893
|
#--
|
|
5160
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Messages::DoSelftestsGetReply
|
|
5894
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Messages::DoSelftestsGetReply
|
|
5161
5895
|
def do_selftests_get(**args)
|
|
5162
5896
|
exchange_message(:"do", Messages::DoSelftestsGetRequest, Messages::DoSelftestsGetReply, args)
|
|
5163
5897
|
end
|
|
5898
|
+
# Get device selftest instances.
|
|
5899
|
+
#--
|
|
5900
|
+
# @rbs () -> Enumerable[Messages::DumpSelftestsGetReply]
|
|
5901
|
+
# | () { (Messages::DumpSelftestsGetReply) -> void } -> void
|
|
5902
|
+
def dump_selftests_get(**args, &block)
|
|
5903
|
+
exchange_message(:"dump", Messages::DumpSelftestsGetRequest, Messages::DumpSelftestsGetReply, args, &block)
|
|
5904
|
+
end
|
|
5164
5905
|
# Run device selftest instances.
|
|
5906
|
+
#
|
|
5907
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
5165
5908
|
#--
|
|
5166
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?selftests: AttributeSets::DlSelftestId) -> void
|
|
5909
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?selftests: AttributeSets::DlSelftestId, ?index: ::Integer) -> void
|
|
5167
5910
|
def do_selftests_run(**args)
|
|
5168
5911
|
exchange_message(:"do", Messages::DoSelftestsRunRequest, nil, args)
|
|
5169
5912
|
end
|
|
5170
5913
|
# Set notification messages socket filter.
|
|
5171
5914
|
#--
|
|
5172
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer) -> void
|
|
5915
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> void
|
|
5173
5916
|
def do_notify_filter_set(**args)
|
|
5174
5917
|
exchange_message(:"do", Messages::DoNotifyFilterSetRequest, nil, args)
|
|
5175
5918
|
end
|
|
5919
|
+
class AsyncOperations
|
|
5920
|
+
# :nodoc:
|
|
5921
|
+
def initialize(&exchange)
|
|
5922
|
+
@exchange = exchange
|
|
5923
|
+
end
|
|
5924
|
+
# Get devlink instances.
|
|
5925
|
+
#--
|
|
5926
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoGetReply]
|
|
5927
|
+
def do_get(**args)
|
|
5928
|
+
@exchange.call(:"do", Messages::DoGetRequest, Messages::DoGetReply, args)
|
|
5929
|
+
end
|
|
5930
|
+
# Get devlink instances.
|
|
5931
|
+
#--
|
|
5932
|
+
# @rbs () -> ::Nl::Async::Stream[Messages::DumpGetReply]
|
|
5933
|
+
def dump_get(**args)
|
|
5934
|
+
@exchange.call(:"dump", Messages::DumpGetRequest, Messages::DumpGetReply, args)
|
|
5935
|
+
end
|
|
5936
|
+
# Get devlink port instances.
|
|
5937
|
+
#--
|
|
5938
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoPortGetReply]
|
|
5939
|
+
def do_port_get(**args)
|
|
5940
|
+
@exchange.call(:"do", Messages::DoPortGetRequest, Messages::DoPortGetReply, args)
|
|
5941
|
+
end
|
|
5942
|
+
# Get devlink port instances.
|
|
5943
|
+
#--
|
|
5944
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> ::Nl::Async::Stream[Messages::DumpPortGetReply]
|
|
5945
|
+
def dump_port_get(**args)
|
|
5946
|
+
@exchange.call(:"dump", Messages::DumpPortGetRequest, Messages::DumpPortGetReply, args)
|
|
5947
|
+
end
|
|
5948
|
+
# Set devlink port instances.
|
|
5949
|
+
#
|
|
5950
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
5951
|
+
#--
|
|
5952
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?port_type: ::Integer, ?port_function: AttributeSets::DlPortFunction, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
5953
|
+
def do_port_set(**args)
|
|
5954
|
+
@exchange.call(:"do", Messages::DoPortSetRequest, nil, args)
|
|
5955
|
+
end
|
|
5956
|
+
# Create devlink port instances.
|
|
5957
|
+
#
|
|
5958
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
5959
|
+
#--
|
|
5960
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?port_flavour: ::Integer, ?port_pci_pf_number: ::Integer, ?port_controller_number: ::Integer, ?port_pci_sf_number: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoPortNewReply]
|
|
5961
|
+
def do_port_new(**args)
|
|
5962
|
+
@exchange.call(:"do", Messages::DoPortNewRequest, Messages::DoPortNewReply, args)
|
|
5963
|
+
end
|
|
5964
|
+
# Delete devlink port instances.
|
|
5965
|
+
#
|
|
5966
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
5967
|
+
#--
|
|
5968
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
5969
|
+
def do_port_del(**args)
|
|
5970
|
+
@exchange.call(:"do", Messages::DoPortDelRequest, nil, args)
|
|
5971
|
+
end
|
|
5972
|
+
# Split devlink port instances.
|
|
5973
|
+
#
|
|
5974
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
5975
|
+
#--
|
|
5976
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?port_split_count: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
5977
|
+
def do_port_split(**args)
|
|
5978
|
+
@exchange.call(:"do", Messages::DoPortSplitRequest, nil, args)
|
|
5979
|
+
end
|
|
5980
|
+
# Unplit devlink port instances.
|
|
5981
|
+
#
|
|
5982
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
5983
|
+
#--
|
|
5984
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
5985
|
+
def do_port_unsplit(**args)
|
|
5986
|
+
@exchange.call(:"do", Messages::DoPortUnsplitRequest, nil, args)
|
|
5987
|
+
end
|
|
5988
|
+
# Get shared buffer instances.
|
|
5989
|
+
#--
|
|
5990
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoSbGetReply]
|
|
5991
|
+
def do_sb_get(**args)
|
|
5992
|
+
@exchange.call(:"do", Messages::DoSbGetRequest, Messages::DoSbGetReply, args)
|
|
5993
|
+
end
|
|
5994
|
+
# Get shared buffer instances.
|
|
5995
|
+
#--
|
|
5996
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> ::Nl::Async::Stream[Messages::DumpSbGetReply]
|
|
5997
|
+
def dump_sb_get(**args)
|
|
5998
|
+
@exchange.call(:"dump", Messages::DumpSbGetRequest, Messages::DumpSbGetReply, args)
|
|
5999
|
+
end
|
|
6000
|
+
# Get shared buffer pool instances.
|
|
6001
|
+
#--
|
|
6002
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer, ?sb_pool_index: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoSbPoolGetReply]
|
|
6003
|
+
def do_sb_pool_get(**args)
|
|
6004
|
+
@exchange.call(:"do", Messages::DoSbPoolGetRequest, Messages::DoSbPoolGetReply, args)
|
|
6005
|
+
end
|
|
6006
|
+
# Get shared buffer pool instances.
|
|
6007
|
+
#--
|
|
6008
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> ::Nl::Async::Stream[Messages::DumpSbPoolGetReply]
|
|
6009
|
+
def dump_sb_pool_get(**args)
|
|
6010
|
+
@exchange.call(:"dump", Messages::DumpSbPoolGetRequest, Messages::DumpSbPoolGetReply, args)
|
|
6011
|
+
end
|
|
6012
|
+
# Set shared buffer pool instances.
|
|
6013
|
+
#
|
|
6014
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6015
|
+
#--
|
|
6016
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer, ?sb_pool_index: ::Integer, ?sb_pool_size: ::Integer, ?sb_pool_threshold_type: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6017
|
+
def do_sb_pool_set(**args)
|
|
6018
|
+
@exchange.call(:"do", Messages::DoSbPoolSetRequest, nil, args)
|
|
6019
|
+
end
|
|
6020
|
+
# Get shared buffer port-pool combinations and threshold.
|
|
6021
|
+
#--
|
|
6022
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?sb_index: ::Integer, ?sb_pool_index: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoSbPortPoolGetReply]
|
|
6023
|
+
def do_sb_port_pool_get(**args)
|
|
6024
|
+
@exchange.call(:"do", Messages::DoSbPortPoolGetRequest, Messages::DoSbPortPoolGetReply, args)
|
|
6025
|
+
end
|
|
6026
|
+
# Get shared buffer port-pool combinations and threshold.
|
|
6027
|
+
#--
|
|
6028
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> ::Nl::Async::Stream[Messages::DumpSbPortPoolGetReply]
|
|
6029
|
+
def dump_sb_port_pool_get(**args)
|
|
6030
|
+
@exchange.call(:"dump", Messages::DumpSbPortPoolGetRequest, Messages::DumpSbPortPoolGetReply, args)
|
|
6031
|
+
end
|
|
6032
|
+
# Set shared buffer port-pool combinations and threshold.
|
|
6033
|
+
#
|
|
6034
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6035
|
+
#--
|
|
6036
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?sb_index: ::Integer, ?sb_pool_index: ::Integer, ?sb_threshold: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6037
|
+
def do_sb_port_pool_set(**args)
|
|
6038
|
+
@exchange.call(:"do", Messages::DoSbPortPoolSetRequest, nil, args)
|
|
6039
|
+
end
|
|
6040
|
+
# Get shared buffer port-TC to pool bindings and threshold.
|
|
6041
|
+
#--
|
|
6042
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?sb_index: ::Integer, ?sb_pool_type: ::Integer, ?sb_tc_index: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoSbTcPoolBindGetReply]
|
|
6043
|
+
def do_sb_tc_pool_bind_get(**args)
|
|
6044
|
+
@exchange.call(:"do", Messages::DoSbTcPoolBindGetRequest, Messages::DoSbTcPoolBindGetReply, args)
|
|
6045
|
+
end
|
|
6046
|
+
# Get shared buffer port-TC to pool bindings and threshold.
|
|
6047
|
+
#--
|
|
6048
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> ::Nl::Async::Stream[Messages::DumpSbTcPoolBindGetReply]
|
|
6049
|
+
def dump_sb_tc_pool_bind_get(**args)
|
|
6050
|
+
@exchange.call(:"dump", Messages::DumpSbTcPoolBindGetRequest, Messages::DumpSbTcPoolBindGetReply, args)
|
|
6051
|
+
end
|
|
6052
|
+
# Set shared buffer port-TC to pool bindings and threshold.
|
|
6053
|
+
#
|
|
6054
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6055
|
+
#--
|
|
6056
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?sb_index: ::Integer, ?sb_pool_index: ::Integer, ?sb_pool_type: ::Integer, ?sb_threshold: ::Integer, ?sb_tc_index: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6057
|
+
def do_sb_tc_pool_bind_set(**args)
|
|
6058
|
+
@exchange.call(:"do", Messages::DoSbTcPoolBindSetRequest, nil, args)
|
|
6059
|
+
end
|
|
6060
|
+
# Take occupancy snapshot of shared buffer.
|
|
6061
|
+
#
|
|
6062
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6063
|
+
#--
|
|
6064
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6065
|
+
def do_sb_occ_snapshot(**args)
|
|
6066
|
+
@exchange.call(:"do", Messages::DoSbOccSnapshotRequest, nil, args)
|
|
6067
|
+
end
|
|
6068
|
+
# Clear occupancy watermarks of shared buffer.
|
|
6069
|
+
#
|
|
6070
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6071
|
+
#--
|
|
6072
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6073
|
+
def do_sb_occ_max_clear(**args)
|
|
6074
|
+
@exchange.call(:"do", Messages::DoSbOccMaxClearRequest, nil, args)
|
|
6075
|
+
end
|
|
6076
|
+
# Get eswitch attributes.
|
|
6077
|
+
#
|
|
6078
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6079
|
+
#--
|
|
6080
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoEswitchGetReply]
|
|
6081
|
+
def do_eswitch_get(**args)
|
|
6082
|
+
@exchange.call(:"do", Messages::DoEswitchGetRequest, Messages::DoEswitchGetReply, args)
|
|
6083
|
+
end
|
|
6084
|
+
# Set eswitch attributes.
|
|
6085
|
+
#
|
|
6086
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6087
|
+
#--
|
|
6088
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?eswitch_mode: ::Integer, ?eswitch_inline_mode: ::Integer, ?eswitch_encap_mode: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6089
|
+
def do_eswitch_set(**args)
|
|
6090
|
+
@exchange.call(:"do", Messages::DoEswitchSetRequest, nil, args)
|
|
6091
|
+
end
|
|
6092
|
+
# Get dpipe table attributes.
|
|
6093
|
+
#--
|
|
6094
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?dpipe_table_name: ::String, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoDpipeTableGetReply]
|
|
6095
|
+
def do_dpipe_table_get(**args)
|
|
6096
|
+
@exchange.call(:"do", Messages::DoDpipeTableGetRequest, Messages::DoDpipeTableGetReply, args)
|
|
6097
|
+
end
|
|
6098
|
+
# Get dpipe entries attributes.
|
|
6099
|
+
#--
|
|
6100
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?dpipe_table_name: ::String, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoDpipeEntriesGetReply]
|
|
6101
|
+
def do_dpipe_entries_get(**args)
|
|
6102
|
+
@exchange.call(:"do", Messages::DoDpipeEntriesGetRequest, Messages::DoDpipeEntriesGetReply, args)
|
|
6103
|
+
end
|
|
6104
|
+
# Get dpipe headers attributes.
|
|
6105
|
+
#--
|
|
6106
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoDpipeHeadersGetReply]
|
|
6107
|
+
def do_dpipe_headers_get(**args)
|
|
6108
|
+
@exchange.call(:"do", Messages::DoDpipeHeadersGetRequest, Messages::DoDpipeHeadersGetReply, args)
|
|
6109
|
+
end
|
|
6110
|
+
# Set dpipe counter attributes.
|
|
6111
|
+
#
|
|
6112
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6113
|
+
#--
|
|
6114
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?dpipe_table_name: ::String, ?dpipe_table_counters_enabled: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6115
|
+
def do_dpipe_table_counters_set(**args)
|
|
6116
|
+
@exchange.call(:"do", Messages::DoDpipeTableCountersSetRequest, nil, args)
|
|
6117
|
+
end
|
|
6118
|
+
# Set resource attributes.
|
|
6119
|
+
#
|
|
6120
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6121
|
+
#--
|
|
6122
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?resource_id: ::Integer, ?resource_size: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6123
|
+
def do_resource_set(**args)
|
|
6124
|
+
@exchange.call(:"do", Messages::DoResourceSetRequest, nil, args)
|
|
6125
|
+
end
|
|
6126
|
+
# Get resource attributes.
|
|
6127
|
+
#--
|
|
6128
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoResourceDumpReply]
|
|
6129
|
+
def do_resource_dump(**args)
|
|
6130
|
+
@exchange.call(:"do", Messages::DoResourceDumpRequest, Messages::DoResourceDumpReply, args)
|
|
6131
|
+
end
|
|
6132
|
+
# Get resource attributes.
|
|
6133
|
+
#--
|
|
6134
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer, ?resource_scope_mask: ::Integer) -> ::Nl::Async::Stream[Messages::DumpResourceDumpReply]
|
|
6135
|
+
def dump_resource_dump(**args)
|
|
6136
|
+
@exchange.call(:"dump", Messages::DumpResourceDumpRequest, Messages::DumpResourceDumpReply, args)
|
|
6137
|
+
end
|
|
6138
|
+
# Reload devlink.
|
|
6139
|
+
#
|
|
6140
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6141
|
+
#--
|
|
6142
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?netns_fd: ::Integer, ?netns_pid: ::Integer, ?netns_id: ::Integer, ?reload_action: ::Integer, ?reload_limits: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoReloadReply]
|
|
6143
|
+
def do_reload(**args)
|
|
6144
|
+
@exchange.call(:"do", Messages::DoReloadRequest, Messages::DoReloadReply, args)
|
|
6145
|
+
end
|
|
6146
|
+
# Get param instances.
|
|
6147
|
+
#--
|
|
6148
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?param_name: ::String, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoParamGetReply]
|
|
6149
|
+
def do_param_get(**args)
|
|
6150
|
+
@exchange.call(:"do", Messages::DoParamGetRequest, Messages::DoParamGetReply, args)
|
|
6151
|
+
end
|
|
6152
|
+
# Get param instances.
|
|
6153
|
+
#--
|
|
6154
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> ::Nl::Async::Stream[Messages::DumpParamGetReply]
|
|
6155
|
+
def dump_param_get(**args)
|
|
6156
|
+
@exchange.call(:"dump", Messages::DumpParamGetRequest, Messages::DumpParamGetReply, args)
|
|
6157
|
+
end
|
|
6158
|
+
# Set param instances.
|
|
6159
|
+
#
|
|
6160
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6161
|
+
#--
|
|
6162
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?param_name: ::String, ?param_type: ::Integer, ?param_value_cmode: ::Integer, ?param_reset_default: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6163
|
+
def do_param_set(**args)
|
|
6164
|
+
@exchange.call(:"do", Messages::DoParamSetRequest, nil, args)
|
|
6165
|
+
end
|
|
6166
|
+
# Get region instances.
|
|
6167
|
+
#--
|
|
6168
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?region_name: ::String, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoRegionGetReply]
|
|
6169
|
+
def do_region_get(**args)
|
|
6170
|
+
@exchange.call(:"do", Messages::DoRegionGetRequest, Messages::DoRegionGetReply, args)
|
|
6171
|
+
end
|
|
6172
|
+
# Get region instances.
|
|
6173
|
+
#--
|
|
6174
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> ::Nl::Async::Stream[Messages::DumpRegionGetReply]
|
|
6175
|
+
def dump_region_get(**args)
|
|
6176
|
+
@exchange.call(:"dump", Messages::DumpRegionGetRequest, Messages::DumpRegionGetReply, args)
|
|
6177
|
+
end
|
|
6178
|
+
# Create region snapshot.
|
|
6179
|
+
#
|
|
6180
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6181
|
+
#--
|
|
6182
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?region_name: ::String, ?region_snapshot_id: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoRegionNewReply]
|
|
6183
|
+
def do_region_new(**args)
|
|
6184
|
+
@exchange.call(:"do", Messages::DoRegionNewRequest, Messages::DoRegionNewReply, args)
|
|
6185
|
+
end
|
|
6186
|
+
# Delete region snapshot.
|
|
6187
|
+
#
|
|
6188
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6189
|
+
#--
|
|
6190
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?region_name: ::String, ?region_snapshot_id: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6191
|
+
def do_region_del(**args)
|
|
6192
|
+
@exchange.call(:"do", Messages::DoRegionDelRequest, nil, args)
|
|
6193
|
+
end
|
|
6194
|
+
# Read region data.
|
|
6195
|
+
#
|
|
6196
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6197
|
+
#--
|
|
6198
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?region_name: ::String, ?region_snapshot_id: ::Integer, ?region_chunk_addr: ::Integer, ?region_chunk_len: ::Integer, ?region_direct: ::Integer, ?index: ::Integer) -> ::Nl::Async::Stream[Messages::DumpRegionReadReply]
|
|
6199
|
+
def dump_region_read(**args)
|
|
6200
|
+
@exchange.call(:"dump", Messages::DumpRegionReadRequest, Messages::DumpRegionReadReply, args)
|
|
6201
|
+
end
|
|
6202
|
+
# Get port param instances.
|
|
6203
|
+
#--
|
|
6204
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoPortParamGetReply]
|
|
6205
|
+
def do_port_param_get(**args)
|
|
6206
|
+
@exchange.call(:"do", Messages::DoPortParamGetRequest, Messages::DoPortParamGetReply, args)
|
|
6207
|
+
end
|
|
6208
|
+
# Get port param instances.
|
|
6209
|
+
#--
|
|
6210
|
+
# @rbs () -> ::Nl::Async::Stream[Messages::DumpPortParamGetReply]
|
|
6211
|
+
def dump_port_param_get(**args)
|
|
6212
|
+
@exchange.call(:"dump", Messages::DumpPortParamGetRequest, Messages::DumpPortParamGetReply, args)
|
|
6213
|
+
end
|
|
6214
|
+
# Set port param instances.
|
|
6215
|
+
#
|
|
6216
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6217
|
+
#--
|
|
6218
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6219
|
+
def do_port_param_set(**args)
|
|
6220
|
+
@exchange.call(:"do", Messages::DoPortParamSetRequest, nil, args)
|
|
6221
|
+
end
|
|
6222
|
+
# Get device information, like driver name, hardware and firmware versions
|
|
6223
|
+
# etc.
|
|
6224
|
+
#--
|
|
6225
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoInfoGetReply]
|
|
6226
|
+
def do_info_get(**args)
|
|
6227
|
+
@exchange.call(:"do", Messages::DoInfoGetRequest, Messages::DoInfoGetReply, args)
|
|
6228
|
+
end
|
|
6229
|
+
# Get device information, like driver name, hardware and firmware versions
|
|
6230
|
+
# etc.
|
|
6231
|
+
#--
|
|
6232
|
+
# @rbs () -> ::Nl::Async::Stream[Messages::DumpInfoGetReply]
|
|
6233
|
+
def dump_info_get(**args)
|
|
6234
|
+
@exchange.call(:"dump", Messages::DumpInfoGetRequest, Messages::DumpInfoGetReply, args)
|
|
6235
|
+
end
|
|
6236
|
+
# Get health reporter instances.
|
|
6237
|
+
#--
|
|
6238
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoHealthReporterGetReply]
|
|
6239
|
+
def do_health_reporter_get(**args)
|
|
6240
|
+
@exchange.call(:"do", Messages::DoHealthReporterGetRequest, Messages::DoHealthReporterGetReply, args)
|
|
6241
|
+
end
|
|
6242
|
+
# Get health reporter instances.
|
|
6243
|
+
#--
|
|
6244
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> ::Nl::Async::Stream[Messages::DumpHealthReporterGetReply]
|
|
6245
|
+
def dump_health_reporter_get(**args)
|
|
6246
|
+
@exchange.call(:"dump", Messages::DumpHealthReporterGetRequest, Messages::DumpHealthReporterGetReply, args)
|
|
6247
|
+
end
|
|
6248
|
+
# Set health reporter instances.
|
|
6249
|
+
#
|
|
6250
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6251
|
+
#--
|
|
6252
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?health_reporter_graceful_period: ::Integer, ?health_reporter_auto_recover: ::Integer, ?health_reporter_auto_dump: ::Integer, ?health_reporter_burst_period: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6253
|
+
def do_health_reporter_set(**args)
|
|
6254
|
+
@exchange.call(:"do", Messages::DoHealthReporterSetRequest, nil, args)
|
|
6255
|
+
end
|
|
6256
|
+
# Recover health reporter instances.
|
|
6257
|
+
#
|
|
6258
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6259
|
+
#--
|
|
6260
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6261
|
+
def do_health_reporter_recover(**args)
|
|
6262
|
+
@exchange.call(:"do", Messages::DoHealthReporterRecoverRequest, nil, args)
|
|
6263
|
+
end
|
|
6264
|
+
# Diagnose health reporter instances.
|
|
6265
|
+
#
|
|
6266
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6267
|
+
#--
|
|
6268
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6269
|
+
def do_health_reporter_diagnose(**args)
|
|
6270
|
+
@exchange.call(:"do", Messages::DoHealthReporterDiagnoseRequest, nil, args)
|
|
6271
|
+
end
|
|
6272
|
+
# Dump health reporter instances.
|
|
6273
|
+
#
|
|
6274
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6275
|
+
#--
|
|
6276
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?index: ::Integer) -> ::Nl::Async::Stream[Messages::DumpHealthReporterDumpGetReply]
|
|
6277
|
+
def dump_health_reporter_dump_get(**args)
|
|
6278
|
+
@exchange.call(:"dump", Messages::DumpHealthReporterDumpGetRequest, Messages::DumpHealthReporterDumpGetReply, args)
|
|
6279
|
+
end
|
|
6280
|
+
# Clear dump of health reporter instances.
|
|
6281
|
+
#
|
|
6282
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6283
|
+
#--
|
|
6284
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6285
|
+
def do_health_reporter_dump_clear(**args)
|
|
6286
|
+
@exchange.call(:"do", Messages::DoHealthReporterDumpClearRequest, nil, args)
|
|
6287
|
+
end
|
|
6288
|
+
# Flash update devlink instances.
|
|
6289
|
+
#
|
|
6290
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6291
|
+
#--
|
|
6292
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?flash_update_file_name: ::String, ?flash_update_component: ::String, ?flash_update_overwrite_mask: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6293
|
+
def do_flash_update(**args)
|
|
6294
|
+
@exchange.call(:"do", Messages::DoFlashUpdateRequest, nil, args)
|
|
6295
|
+
end
|
|
6296
|
+
# Get trap instances.
|
|
6297
|
+
#--
|
|
6298
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_name: ::String, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoTrapGetReply]
|
|
6299
|
+
def do_trap_get(**args)
|
|
6300
|
+
@exchange.call(:"do", Messages::DoTrapGetRequest, Messages::DoTrapGetReply, args)
|
|
6301
|
+
end
|
|
6302
|
+
# Get trap instances.
|
|
6303
|
+
#--
|
|
6304
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> ::Nl::Async::Stream[Messages::DumpTrapGetReply]
|
|
6305
|
+
def dump_trap_get(**args)
|
|
6306
|
+
@exchange.call(:"dump", Messages::DumpTrapGetRequest, Messages::DumpTrapGetReply, args)
|
|
6307
|
+
end
|
|
6308
|
+
# Set trap instances.
|
|
6309
|
+
#
|
|
6310
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6311
|
+
#--
|
|
6312
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_name: ::String, ?trap_action: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6313
|
+
def do_trap_set(**args)
|
|
6314
|
+
@exchange.call(:"do", Messages::DoTrapSetRequest, nil, args)
|
|
6315
|
+
end
|
|
6316
|
+
# Get trap group instances.
|
|
6317
|
+
#--
|
|
6318
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_group_name: ::String, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoTrapGroupGetReply]
|
|
6319
|
+
def do_trap_group_get(**args)
|
|
6320
|
+
@exchange.call(:"do", Messages::DoTrapGroupGetRequest, Messages::DoTrapGroupGetReply, args)
|
|
6321
|
+
end
|
|
6322
|
+
# Get trap group instances.
|
|
6323
|
+
#--
|
|
6324
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> ::Nl::Async::Stream[Messages::DumpTrapGroupGetReply]
|
|
6325
|
+
def dump_trap_group_get(**args)
|
|
6326
|
+
@exchange.call(:"dump", Messages::DumpTrapGroupGetRequest, Messages::DumpTrapGroupGetReply, args)
|
|
6327
|
+
end
|
|
6328
|
+
# Set trap group instances.
|
|
6329
|
+
#
|
|
6330
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6331
|
+
#--
|
|
6332
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_action: ::Integer, ?trap_group_name: ::String, ?trap_policer_id: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6333
|
+
def do_trap_group_set(**args)
|
|
6334
|
+
@exchange.call(:"do", Messages::DoTrapGroupSetRequest, nil, args)
|
|
6335
|
+
end
|
|
6336
|
+
# Get trap policer instances.
|
|
6337
|
+
#--
|
|
6338
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_policer_id: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoTrapPolicerGetReply]
|
|
6339
|
+
def do_trap_policer_get(**args)
|
|
6340
|
+
@exchange.call(:"do", Messages::DoTrapPolicerGetRequest, Messages::DoTrapPolicerGetReply, args)
|
|
6341
|
+
end
|
|
6342
|
+
# Get trap policer instances.
|
|
6343
|
+
#--
|
|
6344
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> ::Nl::Async::Stream[Messages::DumpTrapPolicerGetReply]
|
|
6345
|
+
def dump_trap_policer_get(**args)
|
|
6346
|
+
@exchange.call(:"dump", Messages::DumpTrapPolicerGetRequest, Messages::DumpTrapPolicerGetReply, args)
|
|
6347
|
+
end
|
|
6348
|
+
# Get trap policer instances.
|
|
6349
|
+
#
|
|
6350
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6351
|
+
#--
|
|
6352
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_policer_id: ::Integer, ?trap_policer_rate: ::Integer, ?trap_policer_burst: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6353
|
+
def do_trap_policer_set(**args)
|
|
6354
|
+
@exchange.call(:"do", Messages::DoTrapPolicerSetRequest, nil, args)
|
|
6355
|
+
end
|
|
6356
|
+
# Test health reporter instances.
|
|
6357
|
+
#
|
|
6358
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6359
|
+
#--
|
|
6360
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6361
|
+
def do_health_reporter_test(**args)
|
|
6362
|
+
@exchange.call(:"do", Messages::DoHealthReporterTestRequest, nil, args)
|
|
6363
|
+
end
|
|
6364
|
+
# Get rate instances.
|
|
6365
|
+
#--
|
|
6366
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?rate_node_name: ::String, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoRateGetReply]
|
|
6367
|
+
def do_rate_get(**args)
|
|
6368
|
+
@exchange.call(:"do", Messages::DoRateGetRequest, Messages::DoRateGetReply, args)
|
|
6369
|
+
end
|
|
6370
|
+
# Get rate instances.
|
|
6371
|
+
#--
|
|
6372
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> ::Nl::Async::Stream[Messages::DumpRateGetReply]
|
|
6373
|
+
def dump_rate_get(**args)
|
|
6374
|
+
@exchange.call(:"dump", Messages::DumpRateGetRequest, Messages::DumpRateGetReply, args)
|
|
6375
|
+
end
|
|
6376
|
+
# Set rate instances.
|
|
6377
|
+
#
|
|
6378
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6379
|
+
#--
|
|
6380
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?rate_tx_share: ::Integer, ?rate_tx_max: ::Integer, ?rate_node_name: ::String, ?rate_parent_node_name: ::String, ?rate_tx_priority: ::Integer, ?rate_tx_weight: ::Integer, ?rate_tc_bws: AttributeSets::DlRateTcBws, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6381
|
+
def do_rate_set(**args)
|
|
6382
|
+
@exchange.call(:"do", Messages::DoRateSetRequest, nil, args)
|
|
6383
|
+
end
|
|
6384
|
+
# Create rate instances.
|
|
6385
|
+
#
|
|
6386
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6387
|
+
#--
|
|
6388
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?rate_tx_share: ::Integer, ?rate_tx_max: ::Integer, ?rate_node_name: ::String, ?rate_parent_node_name: ::String, ?rate_tx_priority: ::Integer, ?rate_tx_weight: ::Integer, ?rate_tc_bws: AttributeSets::DlRateTcBws, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6389
|
+
def do_rate_new(**args)
|
|
6390
|
+
@exchange.call(:"do", Messages::DoRateNewRequest, nil, args)
|
|
6391
|
+
end
|
|
6392
|
+
# Delete rate instances.
|
|
6393
|
+
#
|
|
6394
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6395
|
+
#--
|
|
6396
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?rate_node_name: ::String, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6397
|
+
def do_rate_del(**args)
|
|
6398
|
+
@exchange.call(:"do", Messages::DoRateDelRequest, nil, args)
|
|
6399
|
+
end
|
|
6400
|
+
# Get line card instances.
|
|
6401
|
+
#--
|
|
6402
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?linecard_index: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoLinecardGetReply]
|
|
6403
|
+
def do_linecard_get(**args)
|
|
6404
|
+
@exchange.call(:"do", Messages::DoLinecardGetRequest, Messages::DoLinecardGetReply, args)
|
|
6405
|
+
end
|
|
6406
|
+
# Get line card instances.
|
|
6407
|
+
#--
|
|
6408
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> ::Nl::Async::Stream[Messages::DumpLinecardGetReply]
|
|
6409
|
+
def dump_linecard_get(**args)
|
|
6410
|
+
@exchange.call(:"dump", Messages::DumpLinecardGetRequest, Messages::DumpLinecardGetReply, args)
|
|
6411
|
+
end
|
|
6412
|
+
# Set line card instances.
|
|
6413
|
+
#
|
|
6414
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6415
|
+
#--
|
|
6416
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?linecard_index: ::Integer, ?linecard_type: ::String, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6417
|
+
def do_linecard_set(**args)
|
|
6418
|
+
@exchange.call(:"do", Messages::DoLinecardSetRequest, nil, args)
|
|
6419
|
+
end
|
|
6420
|
+
# Get device selftest instances.
|
|
6421
|
+
#--
|
|
6422
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> ::Nl::Async::Future[Messages::DoSelftestsGetReply]
|
|
6423
|
+
def do_selftests_get(**args)
|
|
6424
|
+
@exchange.call(:"do", Messages::DoSelftestsGetRequest, Messages::DoSelftestsGetReply, args)
|
|
6425
|
+
end
|
|
6426
|
+
# Get device selftest instances.
|
|
6427
|
+
#--
|
|
6428
|
+
# @rbs () -> ::Nl::Async::Stream[Messages::DumpSelftestsGetReply]
|
|
6429
|
+
def dump_selftests_get(**args)
|
|
6430
|
+
@exchange.call(:"dump", Messages::DumpSelftestsGetRequest, Messages::DumpSelftestsGetReply, args)
|
|
6431
|
+
end
|
|
6432
|
+
# Run device selftest instances.
|
|
6433
|
+
#
|
|
6434
|
+
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
6435
|
+
#--
|
|
6436
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?selftests: AttributeSets::DlSelftestId, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6437
|
+
def do_selftests_run(**args)
|
|
6438
|
+
@exchange.call(:"do", Messages::DoSelftestsRunRequest, nil, args)
|
|
6439
|
+
end
|
|
6440
|
+
# Set notification messages socket filter.
|
|
6441
|
+
#--
|
|
6442
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> ::Nl::Async::Future[void]
|
|
6443
|
+
def do_notify_filter_set(**args)
|
|
6444
|
+
@exchange.call(:"do", Messages::DoNotifyFilterSetRequest, nil, args)
|
|
6445
|
+
end
|
|
6446
|
+
end
|
|
6447
|
+
# Returns the asynchronous operation facade for this family.
|
|
6448
|
+
#--
|
|
6449
|
+
# @rbs (?stream_capacity: ::Integer?) -> AsyncOperations
|
|
6450
|
+
def async(stream_capacity: nil)
|
|
6451
|
+
return @async_operations ||= build_async_facade(AsyncOperations) if stream_capacity.nil?
|
|
6452
|
+
build_async_facade(AsyncOperations, stream_capacity:)
|
|
6453
|
+
end
|
|
5176
6454
|
end
|
|
5177
6455
|
end; end
|