nl-linux 0.2.3 → 0.2.4
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/CHANGELOG.md +6 -0
- data/NLSPEC_VERSION +1 -1
- data/generated/nl/linux/devlink.rb +727 -200
- data/generated/nl/linux/dpll.rb +79 -12
- data/generated/nl/linux/drm_ras.rb +222 -0
- data/generated/nl/linux/ethtool.rb +47 -8
- data/generated/nl/linux/handshake.rb +1 -1
- data/generated/nl/linux/net_shaper.rb +1 -1
- data/generated/nl/linux/netdev.rb +141 -6
- data/generated/nl/linux/nfsd.rb +566 -8
- data/generated/nl/linux/nftables.rb +1705 -139
- data/generated/nl/linux/ovpn.rb +27 -12
- data/generated/nl/linux/ovs_datapath.rb +4 -4
- data/generated/nl/linux/ovs_packet.rb +166 -0
- data/generated/nl/linux/ovs_vport.rb +4 -4
- data/generated/nl/linux/psp.rb +196 -6
- data/generated/nl/linux/rt_link.rb +84 -78
- data/generated/nl/linux/sunrpc_cache.rb +293 -0
- data/generated/nl/linux/tc.rb +7 -2
- 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 +12 -6
|
@@ -861,10 +861,20 @@ class Devlink < ::Nl::Family
|
|
|
861
861
|
NAME = :"param_reset_default"
|
|
862
862
|
DATATYPE = ::Nl::Protocols::Genl::DataTypes::Flag.new
|
|
863
863
|
end
|
|
864
|
+
class Index < Attribute
|
|
865
|
+
TYPE = 184
|
|
866
|
+
NAME = :"index"
|
|
867
|
+
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 })
|
|
868
|
+
end
|
|
869
|
+
class ResourceScopeMask < Attribute
|
|
870
|
+
TYPE = 185
|
|
871
|
+
NAME = :"resource_scope_mask"
|
|
872
|
+
DATATYPE = ::Nl::Protocols::Genl::DataTypes::Scalar.new(::Nl::Endian::Host::U32, check: nil)
|
|
873
|
+
end
|
|
864
874
|
# :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]
|
|
875
|
+
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
876
|
# :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]
|
|
877
|
+
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
878
|
class << self
|
|
869
879
|
# Looks up Attribute class by name.
|
|
870
880
|
#--
|
|
@@ -2212,7 +2222,7 @@ class Devlink < ::Nl::Family
|
|
|
2212
2222
|
TYPE = 1
|
|
2213
2223
|
FIXED_HEADER = nil
|
|
2214
2224
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2215
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
2225
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
2216
2226
|
# Gets the value of `bus-name` attribute in the message.
|
|
2217
2227
|
#--
|
|
2218
2228
|
# @rbs return: ::String
|
|
@@ -2221,13 +2231,17 @@ class Devlink < ::Nl::Family
|
|
|
2221
2231
|
#--
|
|
2222
2232
|
# @rbs return: ::String
|
|
2223
2233
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
2234
|
+
# Gets the value of `index` attribute in the message.
|
|
2235
|
+
#--
|
|
2236
|
+
# @rbs return: ::Integer
|
|
2237
|
+
def index; attributes[:"index"]&.value; end
|
|
2224
2238
|
end
|
|
2225
2239
|
# Get devlink instances.
|
|
2226
2240
|
class DoGetReply < ::Nl::Protocols::Genl::Message
|
|
2227
2241
|
TYPE = 3
|
|
2228
2242
|
FIXED_HEADER = nil
|
|
2229
2243
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2230
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name reload_failed dev_stats])
|
|
2244
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name reload_failed dev_stats index])
|
|
2231
2245
|
# Gets the value of `bus-name` attribute in the message.
|
|
2232
2246
|
#--
|
|
2233
2247
|
# @rbs return: ::String
|
|
@@ -2244,13 +2258,17 @@ class Devlink < ::Nl::Family
|
|
|
2244
2258
|
#--
|
|
2245
2259
|
# @rbs return: AttributeSets::DlDevStats
|
|
2246
2260
|
def dev_stats; attributes[:"dev_stats"]&.value; end
|
|
2261
|
+
# Gets the value of `index` attribute in the message.
|
|
2262
|
+
#--
|
|
2263
|
+
# @rbs return: ::Integer
|
|
2264
|
+
def index; attributes[:"index"]&.value; end
|
|
2247
2265
|
end
|
|
2248
2266
|
# Get devlink instances.
|
|
2249
2267
|
class DumpGetReply < ::Nl::Protocols::Genl::Message
|
|
2250
2268
|
TYPE = 3
|
|
2251
2269
|
FIXED_HEADER = nil
|
|
2252
2270
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2253
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name reload_failed dev_stats])
|
|
2271
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name reload_failed dev_stats index])
|
|
2254
2272
|
# Gets the value of `bus-name` attribute in the message.
|
|
2255
2273
|
#--
|
|
2256
2274
|
# @rbs return: ::String
|
|
@@ -2267,13 +2285,17 @@ class Devlink < ::Nl::Family
|
|
|
2267
2285
|
#--
|
|
2268
2286
|
# @rbs return: AttributeSets::DlDevStats
|
|
2269
2287
|
def dev_stats; attributes[:"dev_stats"]&.value; end
|
|
2288
|
+
# Gets the value of `index` attribute in the message.
|
|
2289
|
+
#--
|
|
2290
|
+
# @rbs return: ::Integer
|
|
2291
|
+
def index; attributes[:"index"]&.value; end
|
|
2270
2292
|
end
|
|
2271
2293
|
# Get devlink port instances.
|
|
2272
2294
|
class DoPortGetRequest < ::Nl::Protocols::Genl::Message
|
|
2273
2295
|
TYPE = 5
|
|
2274
2296
|
FIXED_HEADER = nil
|
|
2275
2297
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2276
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
2298
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
2277
2299
|
# Gets the value of `bus-name` attribute in the message.
|
|
2278
2300
|
#--
|
|
2279
2301
|
# @rbs return: ::String
|
|
@@ -2286,13 +2308,17 @@ class Devlink < ::Nl::Family
|
|
|
2286
2308
|
#--
|
|
2287
2309
|
# @rbs return: ::Integer
|
|
2288
2310
|
def port_index; attributes[:"port_index"]&.value; end
|
|
2311
|
+
# Gets the value of `index` attribute in the message.
|
|
2312
|
+
#--
|
|
2313
|
+
# @rbs return: ::Integer
|
|
2314
|
+
def index; attributes[:"index"]&.value; end
|
|
2289
2315
|
end
|
|
2290
2316
|
# Get devlink port instances.
|
|
2291
2317
|
class DoPortGetReply < ::Nl::Protocols::Genl::Message
|
|
2292
2318
|
TYPE = 7
|
|
2293
2319
|
FIXED_HEADER = nil
|
|
2294
2320
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2295
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
2321
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
2296
2322
|
# Gets the value of `bus-name` attribute in the message.
|
|
2297
2323
|
#--
|
|
2298
2324
|
# @rbs return: ::String
|
|
@@ -2305,13 +2331,17 @@ class Devlink < ::Nl::Family
|
|
|
2305
2331
|
#--
|
|
2306
2332
|
# @rbs return: ::Integer
|
|
2307
2333
|
def port_index; attributes[:"port_index"]&.value; end
|
|
2334
|
+
# Gets the value of `index` attribute in the message.
|
|
2335
|
+
#--
|
|
2336
|
+
# @rbs return: ::Integer
|
|
2337
|
+
def index; attributes[:"index"]&.value; end
|
|
2308
2338
|
end
|
|
2309
2339
|
# Get devlink port instances.
|
|
2310
2340
|
class DumpPortGetRequest < ::Nl::Protocols::Genl::Message
|
|
2311
2341
|
TYPE = 5
|
|
2312
2342
|
FIXED_HEADER = nil
|
|
2313
2343
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2314
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
2344
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
2315
2345
|
# Gets the value of `bus-name` attribute in the message.
|
|
2316
2346
|
#--
|
|
2317
2347
|
# @rbs return: ::String
|
|
@@ -2320,13 +2350,17 @@ class Devlink < ::Nl::Family
|
|
|
2320
2350
|
#--
|
|
2321
2351
|
# @rbs return: ::String
|
|
2322
2352
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
2353
|
+
# Gets the value of `index` attribute in the message.
|
|
2354
|
+
#--
|
|
2355
|
+
# @rbs return: ::Integer
|
|
2356
|
+
def index; attributes[:"index"]&.value; end
|
|
2323
2357
|
end
|
|
2324
2358
|
# Get devlink port instances.
|
|
2325
2359
|
class DumpPortGetReply < ::Nl::Protocols::Genl::Message
|
|
2326
2360
|
TYPE = 3
|
|
2327
2361
|
FIXED_HEADER = nil
|
|
2328
2362
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2329
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
2363
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
2330
2364
|
# Gets the value of `bus-name` attribute in the message.
|
|
2331
2365
|
#--
|
|
2332
2366
|
# @rbs return: ::String
|
|
@@ -2339,13 +2373,17 @@ class Devlink < ::Nl::Family
|
|
|
2339
2373
|
#--
|
|
2340
2374
|
# @rbs return: ::Integer
|
|
2341
2375
|
def port_index; attributes[:"port_index"]&.value; end
|
|
2376
|
+
# Gets the value of `index` attribute in the message.
|
|
2377
|
+
#--
|
|
2378
|
+
# @rbs return: ::Integer
|
|
2379
|
+
def index; attributes[:"index"]&.value; end
|
|
2342
2380
|
end
|
|
2343
2381
|
# Set devlink port instances.
|
|
2344
2382
|
class DoPortSetRequest < ::Nl::Protocols::Genl::Message
|
|
2345
2383
|
TYPE = 6
|
|
2346
2384
|
FIXED_HEADER = nil
|
|
2347
2385
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2348
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index port_type port_function])
|
|
2386
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index port_type port_function index])
|
|
2349
2387
|
# Gets the value of `bus-name` attribute in the message.
|
|
2350
2388
|
#--
|
|
2351
2389
|
# @rbs return: ::String
|
|
@@ -2366,13 +2404,17 @@ class Devlink < ::Nl::Family
|
|
|
2366
2404
|
#--
|
|
2367
2405
|
# @rbs return: AttributeSets::DlPortFunction
|
|
2368
2406
|
def port_function; attributes[:"port_function"]&.value; end
|
|
2407
|
+
# Gets the value of `index` attribute in the message.
|
|
2408
|
+
#--
|
|
2409
|
+
# @rbs return: ::Integer
|
|
2410
|
+
def index; attributes[:"index"]&.value; end
|
|
2369
2411
|
end
|
|
2370
2412
|
# Create devlink port instances.
|
|
2371
2413
|
class DoPortNewRequest < ::Nl::Protocols::Genl::Message
|
|
2372
2414
|
TYPE = 7
|
|
2373
2415
|
FIXED_HEADER = nil
|
|
2374
2416
|
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])
|
|
2417
|
+
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
2418
|
# Gets the value of `bus-name` attribute in the message.
|
|
2377
2419
|
#--
|
|
2378
2420
|
# @rbs return: ::String
|
|
@@ -2401,13 +2443,17 @@ class Devlink < ::Nl::Family
|
|
|
2401
2443
|
#--
|
|
2402
2444
|
# @rbs return: ::Integer
|
|
2403
2445
|
def port_pci_sf_number; attributes[:"port_pci_sf_number"]&.value; end
|
|
2446
|
+
# Gets the value of `index` attribute in the message.
|
|
2447
|
+
#--
|
|
2448
|
+
# @rbs return: ::Integer
|
|
2449
|
+
def index; attributes[:"index"]&.value; end
|
|
2404
2450
|
end
|
|
2405
2451
|
# Create devlink port instances.
|
|
2406
2452
|
class DoPortNewReply < ::Nl::Protocols::Genl::Message
|
|
2407
2453
|
TYPE = 7
|
|
2408
2454
|
FIXED_HEADER = nil
|
|
2409
2455
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2410
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
2456
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
2411
2457
|
# Gets the value of `bus-name` attribute in the message.
|
|
2412
2458
|
#--
|
|
2413
2459
|
# @rbs return: ::String
|
|
@@ -2420,13 +2466,17 @@ class Devlink < ::Nl::Family
|
|
|
2420
2466
|
#--
|
|
2421
2467
|
# @rbs return: ::Integer
|
|
2422
2468
|
def port_index; attributes[:"port_index"]&.value; end
|
|
2469
|
+
# Gets the value of `index` attribute in the message.
|
|
2470
|
+
#--
|
|
2471
|
+
# @rbs return: ::Integer
|
|
2472
|
+
def index; attributes[:"index"]&.value; end
|
|
2423
2473
|
end
|
|
2424
2474
|
# Delete devlink port instances.
|
|
2425
2475
|
class DoPortDelRequest < ::Nl::Protocols::Genl::Message
|
|
2426
2476
|
TYPE = 8
|
|
2427
2477
|
FIXED_HEADER = nil
|
|
2428
2478
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2429
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
2479
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
2430
2480
|
# Gets the value of `bus-name` attribute in the message.
|
|
2431
2481
|
#--
|
|
2432
2482
|
# @rbs return: ::String
|
|
@@ -2439,13 +2489,17 @@ class Devlink < ::Nl::Family
|
|
|
2439
2489
|
#--
|
|
2440
2490
|
# @rbs return: ::Integer
|
|
2441
2491
|
def port_index; attributes[:"port_index"]&.value; end
|
|
2492
|
+
# Gets the value of `index` attribute in the message.
|
|
2493
|
+
#--
|
|
2494
|
+
# @rbs return: ::Integer
|
|
2495
|
+
def index; attributes[:"index"]&.value; end
|
|
2442
2496
|
end
|
|
2443
2497
|
# Split devlink port instances.
|
|
2444
2498
|
class DoPortSplitRequest < ::Nl::Protocols::Genl::Message
|
|
2445
2499
|
TYPE = 9
|
|
2446
2500
|
FIXED_HEADER = nil
|
|
2447
2501
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2448
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index port_split_count])
|
|
2502
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index port_split_count index])
|
|
2449
2503
|
# Gets the value of `bus-name` attribute in the message.
|
|
2450
2504
|
#--
|
|
2451
2505
|
# @rbs return: ::String
|
|
@@ -2462,13 +2516,17 @@ class Devlink < ::Nl::Family
|
|
|
2462
2516
|
#--
|
|
2463
2517
|
# @rbs return: ::Integer
|
|
2464
2518
|
def port_split_count; attributes[:"port_split_count"]&.value; end
|
|
2519
|
+
# Gets the value of `index` attribute in the message.
|
|
2520
|
+
#--
|
|
2521
|
+
# @rbs return: ::Integer
|
|
2522
|
+
def index; attributes[:"index"]&.value; end
|
|
2465
2523
|
end
|
|
2466
2524
|
# Unplit devlink port instances.
|
|
2467
2525
|
class DoPortUnsplitRequest < ::Nl::Protocols::Genl::Message
|
|
2468
2526
|
TYPE = 10
|
|
2469
2527
|
FIXED_HEADER = nil
|
|
2470
2528
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2471
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
2529
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
2472
2530
|
# Gets the value of `bus-name` attribute in the message.
|
|
2473
2531
|
#--
|
|
2474
2532
|
# @rbs return: ::String
|
|
@@ -2481,13 +2539,17 @@ class Devlink < ::Nl::Family
|
|
|
2481
2539
|
#--
|
|
2482
2540
|
# @rbs return: ::Integer
|
|
2483
2541
|
def port_index; attributes[:"port_index"]&.value; end
|
|
2542
|
+
# Gets the value of `index` attribute in the message.
|
|
2543
|
+
#--
|
|
2544
|
+
# @rbs return: ::Integer
|
|
2545
|
+
def index; attributes[:"index"]&.value; end
|
|
2484
2546
|
end
|
|
2485
2547
|
# Get shared buffer instances.
|
|
2486
2548
|
class DoSbGetRequest < ::Nl::Protocols::Genl::Message
|
|
2487
2549
|
TYPE = 11
|
|
2488
2550
|
FIXED_HEADER = nil
|
|
2489
2551
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2490
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index])
|
|
2552
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index index])
|
|
2491
2553
|
# Gets the value of `bus-name` attribute in the message.
|
|
2492
2554
|
#--
|
|
2493
2555
|
# @rbs return: ::String
|
|
@@ -2500,13 +2562,17 @@ class Devlink < ::Nl::Family
|
|
|
2500
2562
|
#--
|
|
2501
2563
|
# @rbs return: ::Integer
|
|
2502
2564
|
def sb_index; attributes[:"sb_index"]&.value; end
|
|
2565
|
+
# Gets the value of `index` attribute in the message.
|
|
2566
|
+
#--
|
|
2567
|
+
# @rbs return: ::Integer
|
|
2568
|
+
def index; attributes[:"index"]&.value; end
|
|
2503
2569
|
end
|
|
2504
2570
|
# Get shared buffer instances.
|
|
2505
2571
|
class DoSbGetReply < ::Nl::Protocols::Genl::Message
|
|
2506
2572
|
TYPE = 13
|
|
2507
2573
|
FIXED_HEADER = nil
|
|
2508
2574
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2509
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index])
|
|
2575
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index index])
|
|
2510
2576
|
# Gets the value of `bus-name` attribute in the message.
|
|
2511
2577
|
#--
|
|
2512
2578
|
# @rbs return: ::String
|
|
@@ -2519,13 +2585,17 @@ class Devlink < ::Nl::Family
|
|
|
2519
2585
|
#--
|
|
2520
2586
|
# @rbs return: ::Integer
|
|
2521
2587
|
def sb_index; attributes[:"sb_index"]&.value; end
|
|
2588
|
+
# Gets the value of `index` attribute in the message.
|
|
2589
|
+
#--
|
|
2590
|
+
# @rbs return: ::Integer
|
|
2591
|
+
def index; attributes[:"index"]&.value; end
|
|
2522
2592
|
end
|
|
2523
2593
|
# Get shared buffer instances.
|
|
2524
2594
|
class DumpSbGetRequest < ::Nl::Protocols::Genl::Message
|
|
2525
2595
|
TYPE = 11
|
|
2526
2596
|
FIXED_HEADER = nil
|
|
2527
2597
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2528
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
2598
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
2529
2599
|
# Gets the value of `bus-name` attribute in the message.
|
|
2530
2600
|
#--
|
|
2531
2601
|
# @rbs return: ::String
|
|
@@ -2534,13 +2604,17 @@ class Devlink < ::Nl::Family
|
|
|
2534
2604
|
#--
|
|
2535
2605
|
# @rbs return: ::String
|
|
2536
2606
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
2607
|
+
# Gets the value of `index` attribute in the message.
|
|
2608
|
+
#--
|
|
2609
|
+
# @rbs return: ::Integer
|
|
2610
|
+
def index; attributes[:"index"]&.value; end
|
|
2537
2611
|
end
|
|
2538
2612
|
# Get shared buffer instances.
|
|
2539
2613
|
class DumpSbGetReply < ::Nl::Protocols::Genl::Message
|
|
2540
2614
|
TYPE = 13
|
|
2541
2615
|
FIXED_HEADER = nil
|
|
2542
2616
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2543
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index])
|
|
2617
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index index])
|
|
2544
2618
|
# Gets the value of `bus-name` attribute in the message.
|
|
2545
2619
|
#--
|
|
2546
2620
|
# @rbs return: ::String
|
|
@@ -2553,13 +2627,17 @@ class Devlink < ::Nl::Family
|
|
|
2553
2627
|
#--
|
|
2554
2628
|
# @rbs return: ::Integer
|
|
2555
2629
|
def sb_index; attributes[:"sb_index"]&.value; end
|
|
2630
|
+
# Gets the value of `index` attribute in the message.
|
|
2631
|
+
#--
|
|
2632
|
+
# @rbs return: ::Integer
|
|
2633
|
+
def index; attributes[:"index"]&.value; end
|
|
2556
2634
|
end
|
|
2557
2635
|
# Get shared buffer pool instances.
|
|
2558
2636
|
class DoSbPoolGetRequest < ::Nl::Protocols::Genl::Message
|
|
2559
2637
|
TYPE = 15
|
|
2560
2638
|
FIXED_HEADER = nil
|
|
2561
2639
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2562
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index sb_pool_index])
|
|
2640
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index sb_pool_index index])
|
|
2563
2641
|
# Gets the value of `bus-name` attribute in the message.
|
|
2564
2642
|
#--
|
|
2565
2643
|
# @rbs return: ::String
|
|
@@ -2576,13 +2654,17 @@ class Devlink < ::Nl::Family
|
|
|
2576
2654
|
#--
|
|
2577
2655
|
# @rbs return: ::Integer
|
|
2578
2656
|
def sb_pool_index; attributes[:"sb_pool_index"]&.value; end
|
|
2657
|
+
# Gets the value of `index` attribute in the message.
|
|
2658
|
+
#--
|
|
2659
|
+
# @rbs return: ::Integer
|
|
2660
|
+
def index; attributes[:"index"]&.value; end
|
|
2579
2661
|
end
|
|
2580
2662
|
# Get shared buffer pool instances.
|
|
2581
2663
|
class DoSbPoolGetReply < ::Nl::Protocols::Genl::Message
|
|
2582
2664
|
TYPE = 17
|
|
2583
2665
|
FIXED_HEADER = nil
|
|
2584
2666
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2585
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index sb_pool_index])
|
|
2667
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index sb_pool_index index])
|
|
2586
2668
|
# Gets the value of `bus-name` attribute in the message.
|
|
2587
2669
|
#--
|
|
2588
2670
|
# @rbs return: ::String
|
|
@@ -2599,13 +2681,17 @@ class Devlink < ::Nl::Family
|
|
|
2599
2681
|
#--
|
|
2600
2682
|
# @rbs return: ::Integer
|
|
2601
2683
|
def sb_pool_index; attributes[:"sb_pool_index"]&.value; end
|
|
2684
|
+
# Gets the value of `index` attribute in the message.
|
|
2685
|
+
#--
|
|
2686
|
+
# @rbs return: ::Integer
|
|
2687
|
+
def index; attributes[:"index"]&.value; end
|
|
2602
2688
|
end
|
|
2603
2689
|
# Get shared buffer pool instances.
|
|
2604
2690
|
class DumpSbPoolGetRequest < ::Nl::Protocols::Genl::Message
|
|
2605
2691
|
TYPE = 15
|
|
2606
2692
|
FIXED_HEADER = nil
|
|
2607
2693
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2608
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
2694
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
2609
2695
|
# Gets the value of `bus-name` attribute in the message.
|
|
2610
2696
|
#--
|
|
2611
2697
|
# @rbs return: ::String
|
|
@@ -2614,13 +2700,17 @@ class Devlink < ::Nl::Family
|
|
|
2614
2700
|
#--
|
|
2615
2701
|
# @rbs return: ::String
|
|
2616
2702
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
2703
|
+
# Gets the value of `index` attribute in the message.
|
|
2704
|
+
#--
|
|
2705
|
+
# @rbs return: ::Integer
|
|
2706
|
+
def index; attributes[:"index"]&.value; end
|
|
2617
2707
|
end
|
|
2618
2708
|
# Get shared buffer pool instances.
|
|
2619
2709
|
class DumpSbPoolGetReply < ::Nl::Protocols::Genl::Message
|
|
2620
2710
|
TYPE = 17
|
|
2621
2711
|
FIXED_HEADER = nil
|
|
2622
2712
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2623
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index sb_pool_index])
|
|
2713
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index sb_pool_index index])
|
|
2624
2714
|
# Gets the value of `bus-name` attribute in the message.
|
|
2625
2715
|
#--
|
|
2626
2716
|
# @rbs return: ::String
|
|
@@ -2637,13 +2727,17 @@ class Devlink < ::Nl::Family
|
|
|
2637
2727
|
#--
|
|
2638
2728
|
# @rbs return: ::Integer
|
|
2639
2729
|
def sb_pool_index; attributes[:"sb_pool_index"]&.value; end
|
|
2730
|
+
# Gets the value of `index` attribute in the message.
|
|
2731
|
+
#--
|
|
2732
|
+
# @rbs return: ::Integer
|
|
2733
|
+
def index; attributes[:"index"]&.value; end
|
|
2640
2734
|
end
|
|
2641
2735
|
# Set shared buffer pool instances.
|
|
2642
2736
|
class DoSbPoolSetRequest < ::Nl::Protocols::Genl::Message
|
|
2643
2737
|
TYPE = 16
|
|
2644
2738
|
FIXED_HEADER = nil
|
|
2645
2739
|
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])
|
|
2740
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index sb_pool_index sb_pool_size sb_pool_threshold_type index])
|
|
2647
2741
|
# Gets the value of `bus-name` attribute in the message.
|
|
2648
2742
|
#--
|
|
2649
2743
|
# @rbs return: ::String
|
|
@@ -2668,13 +2762,17 @@ class Devlink < ::Nl::Family
|
|
|
2668
2762
|
#--
|
|
2669
2763
|
# @rbs return: ::Integer
|
|
2670
2764
|
def sb_pool_threshold_type; attributes[:"sb_pool_threshold_type"]&.value; end
|
|
2765
|
+
# Gets the value of `index` attribute in the message.
|
|
2766
|
+
#--
|
|
2767
|
+
# @rbs return: ::Integer
|
|
2768
|
+
def index; attributes[:"index"]&.value; end
|
|
2671
2769
|
end
|
|
2672
2770
|
# Get shared buffer port-pool combinations and threshold.
|
|
2673
2771
|
class DoSbPortPoolGetRequest < ::Nl::Protocols::Genl::Message
|
|
2674
2772
|
TYPE = 19
|
|
2675
2773
|
FIXED_HEADER = nil
|
|
2676
2774
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2677
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_index])
|
|
2775
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_index index])
|
|
2678
2776
|
# Gets the value of `bus-name` attribute in the message.
|
|
2679
2777
|
#--
|
|
2680
2778
|
# @rbs return: ::String
|
|
@@ -2695,13 +2793,17 @@ class Devlink < ::Nl::Family
|
|
|
2695
2793
|
#--
|
|
2696
2794
|
# @rbs return: ::Integer
|
|
2697
2795
|
def sb_pool_index; attributes[:"sb_pool_index"]&.value; end
|
|
2796
|
+
# Gets the value of `index` attribute in the message.
|
|
2797
|
+
#--
|
|
2798
|
+
# @rbs return: ::Integer
|
|
2799
|
+
def index; attributes[:"index"]&.value; end
|
|
2698
2800
|
end
|
|
2699
2801
|
# Get shared buffer port-pool combinations and threshold.
|
|
2700
2802
|
class DoSbPortPoolGetReply < ::Nl::Protocols::Genl::Message
|
|
2701
2803
|
TYPE = 21
|
|
2702
2804
|
FIXED_HEADER = nil
|
|
2703
2805
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2704
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_index])
|
|
2806
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_index index])
|
|
2705
2807
|
# Gets the value of `bus-name` attribute in the message.
|
|
2706
2808
|
#--
|
|
2707
2809
|
# @rbs return: ::String
|
|
@@ -2722,13 +2824,17 @@ class Devlink < ::Nl::Family
|
|
|
2722
2824
|
#--
|
|
2723
2825
|
# @rbs return: ::Integer
|
|
2724
2826
|
def sb_pool_index; attributes[:"sb_pool_index"]&.value; end
|
|
2827
|
+
# Gets the value of `index` attribute in the message.
|
|
2828
|
+
#--
|
|
2829
|
+
# @rbs return: ::Integer
|
|
2830
|
+
def index; attributes[:"index"]&.value; end
|
|
2725
2831
|
end
|
|
2726
2832
|
# Get shared buffer port-pool combinations and threshold.
|
|
2727
2833
|
class DumpSbPortPoolGetRequest < ::Nl::Protocols::Genl::Message
|
|
2728
2834
|
TYPE = 19
|
|
2729
2835
|
FIXED_HEADER = nil
|
|
2730
2836
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2731
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
2837
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
2732
2838
|
# Gets the value of `bus-name` attribute in the message.
|
|
2733
2839
|
#--
|
|
2734
2840
|
# @rbs return: ::String
|
|
@@ -2737,13 +2843,17 @@ class Devlink < ::Nl::Family
|
|
|
2737
2843
|
#--
|
|
2738
2844
|
# @rbs return: ::String
|
|
2739
2845
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
2846
|
+
# Gets the value of `index` attribute in the message.
|
|
2847
|
+
#--
|
|
2848
|
+
# @rbs return: ::Integer
|
|
2849
|
+
def index; attributes[:"index"]&.value; end
|
|
2740
2850
|
end
|
|
2741
2851
|
# Get shared buffer port-pool combinations and threshold.
|
|
2742
2852
|
class DumpSbPortPoolGetReply < ::Nl::Protocols::Genl::Message
|
|
2743
2853
|
TYPE = 21
|
|
2744
2854
|
FIXED_HEADER = nil
|
|
2745
2855
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2746
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_index])
|
|
2856
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_index index])
|
|
2747
2857
|
# Gets the value of `bus-name` attribute in the message.
|
|
2748
2858
|
#--
|
|
2749
2859
|
# @rbs return: ::String
|
|
@@ -2764,13 +2874,17 @@ class Devlink < ::Nl::Family
|
|
|
2764
2874
|
#--
|
|
2765
2875
|
# @rbs return: ::Integer
|
|
2766
2876
|
def sb_pool_index; attributes[:"sb_pool_index"]&.value; end
|
|
2877
|
+
# Gets the value of `index` attribute in the message.
|
|
2878
|
+
#--
|
|
2879
|
+
# @rbs return: ::Integer
|
|
2880
|
+
def index; attributes[:"index"]&.value; end
|
|
2767
2881
|
end
|
|
2768
2882
|
# Set shared buffer port-pool combinations and threshold.
|
|
2769
2883
|
class DoSbPortPoolSetRequest < ::Nl::Protocols::Genl::Message
|
|
2770
2884
|
TYPE = 20
|
|
2771
2885
|
FIXED_HEADER = nil
|
|
2772
2886
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2773
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_index sb_threshold])
|
|
2887
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_index sb_threshold index])
|
|
2774
2888
|
# Gets the value of `bus-name` attribute in the message.
|
|
2775
2889
|
#--
|
|
2776
2890
|
# @rbs return: ::String
|
|
@@ -2795,13 +2909,17 @@ class Devlink < ::Nl::Family
|
|
|
2795
2909
|
#--
|
|
2796
2910
|
# @rbs return: ::Integer
|
|
2797
2911
|
def sb_threshold; attributes[:"sb_threshold"]&.value; end
|
|
2912
|
+
# Gets the value of `index` attribute in the message.
|
|
2913
|
+
#--
|
|
2914
|
+
# @rbs return: ::Integer
|
|
2915
|
+
def index; attributes[:"index"]&.value; end
|
|
2798
2916
|
end
|
|
2799
2917
|
# Get shared buffer port-TC to pool bindings and threshold.
|
|
2800
2918
|
class DoSbTcPoolBindGetRequest < ::Nl::Protocols::Genl::Message
|
|
2801
2919
|
TYPE = 23
|
|
2802
2920
|
FIXED_HEADER = nil
|
|
2803
2921
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2804
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_type sb_tc_index])
|
|
2922
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_type sb_tc_index index])
|
|
2805
2923
|
# Gets the value of `bus-name` attribute in the message.
|
|
2806
2924
|
#--
|
|
2807
2925
|
# @rbs return: ::String
|
|
@@ -2826,13 +2944,17 @@ class Devlink < ::Nl::Family
|
|
|
2826
2944
|
#--
|
|
2827
2945
|
# @rbs return: ::Integer
|
|
2828
2946
|
def sb_tc_index; attributes[:"sb_tc_index"]&.value; end
|
|
2947
|
+
# Gets the value of `index` attribute in the message.
|
|
2948
|
+
#--
|
|
2949
|
+
# @rbs return: ::Integer
|
|
2950
|
+
def index; attributes[:"index"]&.value; end
|
|
2829
2951
|
end
|
|
2830
2952
|
# Get shared buffer port-TC to pool bindings and threshold.
|
|
2831
2953
|
class DoSbTcPoolBindGetReply < ::Nl::Protocols::Genl::Message
|
|
2832
2954
|
TYPE = 25
|
|
2833
2955
|
FIXED_HEADER = nil
|
|
2834
2956
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2835
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_type sb_tc_index])
|
|
2957
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_type sb_tc_index index])
|
|
2836
2958
|
# Gets the value of `bus-name` attribute in the message.
|
|
2837
2959
|
#--
|
|
2838
2960
|
# @rbs return: ::String
|
|
@@ -2857,13 +2979,17 @@ class Devlink < ::Nl::Family
|
|
|
2857
2979
|
#--
|
|
2858
2980
|
# @rbs return: ::Integer
|
|
2859
2981
|
def sb_tc_index; attributes[:"sb_tc_index"]&.value; end
|
|
2982
|
+
# Gets the value of `index` attribute in the message.
|
|
2983
|
+
#--
|
|
2984
|
+
# @rbs return: ::Integer
|
|
2985
|
+
def index; attributes[:"index"]&.value; end
|
|
2860
2986
|
end
|
|
2861
2987
|
# Get shared buffer port-TC to pool bindings and threshold.
|
|
2862
2988
|
class DumpSbTcPoolBindGetRequest < ::Nl::Protocols::Genl::Message
|
|
2863
2989
|
TYPE = 23
|
|
2864
2990
|
FIXED_HEADER = nil
|
|
2865
2991
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2866
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
2992
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
2867
2993
|
# Gets the value of `bus-name` attribute in the message.
|
|
2868
2994
|
#--
|
|
2869
2995
|
# @rbs return: ::String
|
|
@@ -2872,13 +2998,17 @@ class Devlink < ::Nl::Family
|
|
|
2872
2998
|
#--
|
|
2873
2999
|
# @rbs return: ::String
|
|
2874
3000
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
3001
|
+
# Gets the value of `index` attribute in the message.
|
|
3002
|
+
#--
|
|
3003
|
+
# @rbs return: ::Integer
|
|
3004
|
+
def index; attributes[:"index"]&.value; end
|
|
2875
3005
|
end
|
|
2876
3006
|
# Get shared buffer port-TC to pool bindings and threshold.
|
|
2877
3007
|
class DumpSbTcPoolBindGetReply < ::Nl::Protocols::Genl::Message
|
|
2878
3008
|
TYPE = 25
|
|
2879
3009
|
FIXED_HEADER = nil
|
|
2880
3010
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2881
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_type sb_tc_index])
|
|
3011
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index sb_index sb_pool_type sb_tc_index index])
|
|
2882
3012
|
# Gets the value of `bus-name` attribute in the message.
|
|
2883
3013
|
#--
|
|
2884
3014
|
# @rbs return: ::String
|
|
@@ -2903,13 +3033,17 @@ class Devlink < ::Nl::Family
|
|
|
2903
3033
|
#--
|
|
2904
3034
|
# @rbs return: ::Integer
|
|
2905
3035
|
def sb_tc_index; attributes[:"sb_tc_index"]&.value; end
|
|
3036
|
+
# Gets the value of `index` attribute in the message.
|
|
3037
|
+
#--
|
|
3038
|
+
# @rbs return: ::Integer
|
|
3039
|
+
def index; attributes[:"index"]&.value; end
|
|
2906
3040
|
end
|
|
2907
3041
|
# Set shared buffer port-TC to pool bindings and threshold.
|
|
2908
3042
|
class DoSbTcPoolBindSetRequest < ::Nl::Protocols::Genl::Message
|
|
2909
3043
|
TYPE = 24
|
|
2910
3044
|
FIXED_HEADER = nil
|
|
2911
3045
|
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])
|
|
3046
|
+
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
3047
|
# Gets the value of `bus-name` attribute in the message.
|
|
2914
3048
|
#--
|
|
2915
3049
|
# @rbs return: ::String
|
|
@@ -2942,13 +3076,17 @@ class Devlink < ::Nl::Family
|
|
|
2942
3076
|
#--
|
|
2943
3077
|
# @rbs return: ::Integer
|
|
2944
3078
|
def sb_tc_index; attributes[:"sb_tc_index"]&.value; end
|
|
3079
|
+
# Gets the value of `index` attribute in the message.
|
|
3080
|
+
#--
|
|
3081
|
+
# @rbs return: ::Integer
|
|
3082
|
+
def index; attributes[:"index"]&.value; end
|
|
2945
3083
|
end
|
|
2946
3084
|
# Take occupancy snapshot of shared buffer.
|
|
2947
3085
|
class DoSbOccSnapshotRequest < ::Nl::Protocols::Genl::Message
|
|
2948
3086
|
TYPE = 27
|
|
2949
3087
|
FIXED_HEADER = nil
|
|
2950
3088
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2951
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index])
|
|
3089
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index index])
|
|
2952
3090
|
# Gets the value of `bus-name` attribute in the message.
|
|
2953
3091
|
#--
|
|
2954
3092
|
# @rbs return: ::String
|
|
@@ -2961,13 +3099,17 @@ class Devlink < ::Nl::Family
|
|
|
2961
3099
|
#--
|
|
2962
3100
|
# @rbs return: ::Integer
|
|
2963
3101
|
def sb_index; attributes[:"sb_index"]&.value; end
|
|
3102
|
+
# Gets the value of `index` attribute in the message.
|
|
3103
|
+
#--
|
|
3104
|
+
# @rbs return: ::Integer
|
|
3105
|
+
def index; attributes[:"index"]&.value; end
|
|
2964
3106
|
end
|
|
2965
3107
|
# Clear occupancy watermarks of shared buffer.
|
|
2966
3108
|
class DoSbOccMaxClearRequest < ::Nl::Protocols::Genl::Message
|
|
2967
3109
|
TYPE = 28
|
|
2968
3110
|
FIXED_HEADER = nil
|
|
2969
3111
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2970
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index])
|
|
3112
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name sb_index index])
|
|
2971
3113
|
# Gets the value of `bus-name` attribute in the message.
|
|
2972
3114
|
#--
|
|
2973
3115
|
# @rbs return: ::String
|
|
@@ -2980,13 +3122,17 @@ class Devlink < ::Nl::Family
|
|
|
2980
3122
|
#--
|
|
2981
3123
|
# @rbs return: ::Integer
|
|
2982
3124
|
def sb_index; attributes[:"sb_index"]&.value; end
|
|
3125
|
+
# Gets the value of `index` attribute in the message.
|
|
3126
|
+
#--
|
|
3127
|
+
# @rbs return: ::Integer
|
|
3128
|
+
def index; attributes[:"index"]&.value; end
|
|
2983
3129
|
end
|
|
2984
3130
|
# Get eswitch attributes.
|
|
2985
3131
|
class DoEswitchGetRequest < ::Nl::Protocols::Genl::Message
|
|
2986
3132
|
TYPE = 29
|
|
2987
3133
|
FIXED_HEADER = nil
|
|
2988
3134
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
2989
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
3135
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
2990
3136
|
# Gets the value of `bus-name` attribute in the message.
|
|
2991
3137
|
#--
|
|
2992
3138
|
# @rbs return: ::String
|
|
@@ -2995,13 +3141,17 @@ class Devlink < ::Nl::Family
|
|
|
2995
3141
|
#--
|
|
2996
3142
|
# @rbs return: ::String
|
|
2997
3143
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
3144
|
+
# Gets the value of `index` attribute in the message.
|
|
3145
|
+
#--
|
|
3146
|
+
# @rbs return: ::Integer
|
|
3147
|
+
def index; attributes[:"index"]&.value; end
|
|
2998
3148
|
end
|
|
2999
3149
|
# Get eswitch attributes.
|
|
3000
3150
|
class DoEswitchGetReply < ::Nl::Protocols::Genl::Message
|
|
3001
3151
|
TYPE = 29
|
|
3002
3152
|
FIXED_HEADER = nil
|
|
3003
3153
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3004
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name eswitch_mode eswitch_inline_mode eswitch_encap_mode])
|
|
3154
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name eswitch_mode eswitch_inline_mode eswitch_encap_mode index])
|
|
3005
3155
|
# Gets the value of `bus-name` attribute in the message.
|
|
3006
3156
|
#--
|
|
3007
3157
|
# @rbs return: ::String
|
|
@@ -3022,13 +3172,17 @@ class Devlink < ::Nl::Family
|
|
|
3022
3172
|
#--
|
|
3023
3173
|
# @rbs return: ::Integer
|
|
3024
3174
|
def eswitch_encap_mode; attributes[:"eswitch_encap_mode"]&.value; end
|
|
3175
|
+
# Gets the value of `index` attribute in the message.
|
|
3176
|
+
#--
|
|
3177
|
+
# @rbs return: ::Integer
|
|
3178
|
+
def index; attributes[:"index"]&.value; end
|
|
3025
3179
|
end
|
|
3026
3180
|
# Set eswitch attributes.
|
|
3027
3181
|
class DoEswitchSetRequest < ::Nl::Protocols::Genl::Message
|
|
3028
3182
|
TYPE = 30
|
|
3029
3183
|
FIXED_HEADER = nil
|
|
3030
3184
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3031
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name eswitch_mode eswitch_inline_mode eswitch_encap_mode])
|
|
3185
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name eswitch_mode eswitch_inline_mode eswitch_encap_mode index])
|
|
3032
3186
|
# Gets the value of `bus-name` attribute in the message.
|
|
3033
3187
|
#--
|
|
3034
3188
|
# @rbs return: ::String
|
|
@@ -3049,13 +3203,17 @@ class Devlink < ::Nl::Family
|
|
|
3049
3203
|
#--
|
|
3050
3204
|
# @rbs return: ::Integer
|
|
3051
3205
|
def eswitch_encap_mode; attributes[:"eswitch_encap_mode"]&.value; end
|
|
3206
|
+
# Gets the value of `index` attribute in the message.
|
|
3207
|
+
#--
|
|
3208
|
+
# @rbs return: ::Integer
|
|
3209
|
+
def index; attributes[:"index"]&.value; end
|
|
3052
3210
|
end
|
|
3053
3211
|
# Get dpipe table attributes.
|
|
3054
3212
|
class DoDpipeTableGetRequest < ::Nl::Protocols::Genl::Message
|
|
3055
3213
|
TYPE = 31
|
|
3056
3214
|
FIXED_HEADER = nil
|
|
3057
3215
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3058
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_table_name])
|
|
3216
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_table_name index])
|
|
3059
3217
|
# Gets the value of `bus-name` attribute in the message.
|
|
3060
3218
|
#--
|
|
3061
3219
|
# @rbs return: ::String
|
|
@@ -3068,13 +3226,17 @@ class Devlink < ::Nl::Family
|
|
|
3068
3226
|
#--
|
|
3069
3227
|
# @rbs return: ::String
|
|
3070
3228
|
def dpipe_table_name; attributes[:"dpipe_table_name"]&.value; end
|
|
3229
|
+
# Gets the value of `index` attribute in the message.
|
|
3230
|
+
#--
|
|
3231
|
+
# @rbs return: ::Integer
|
|
3232
|
+
def index; attributes[:"index"]&.value; end
|
|
3071
3233
|
end
|
|
3072
3234
|
# Get dpipe table attributes.
|
|
3073
3235
|
class DoDpipeTableGetReply < ::Nl::Protocols::Genl::Message
|
|
3074
3236
|
TYPE = 31
|
|
3075
3237
|
FIXED_HEADER = nil
|
|
3076
3238
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3077
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_tables])
|
|
3239
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_tables index])
|
|
3078
3240
|
# Gets the value of `bus-name` attribute in the message.
|
|
3079
3241
|
#--
|
|
3080
3242
|
# @rbs return: ::String
|
|
@@ -3087,13 +3249,17 @@ class Devlink < ::Nl::Family
|
|
|
3087
3249
|
#--
|
|
3088
3250
|
# @rbs return: AttributeSets::DlDpipeTables
|
|
3089
3251
|
def dpipe_tables; attributes[:"dpipe_tables"]&.value; end
|
|
3252
|
+
# Gets the value of `index` attribute in the message.
|
|
3253
|
+
#--
|
|
3254
|
+
# @rbs return: ::Integer
|
|
3255
|
+
def index; attributes[:"index"]&.value; end
|
|
3090
3256
|
end
|
|
3091
3257
|
# Get dpipe entries attributes.
|
|
3092
3258
|
class DoDpipeEntriesGetRequest < ::Nl::Protocols::Genl::Message
|
|
3093
3259
|
TYPE = 32
|
|
3094
3260
|
FIXED_HEADER = nil
|
|
3095
3261
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3096
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_table_name])
|
|
3262
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_table_name index])
|
|
3097
3263
|
# Gets the value of `bus-name` attribute in the message.
|
|
3098
3264
|
#--
|
|
3099
3265
|
# @rbs return: ::String
|
|
@@ -3106,13 +3272,17 @@ class Devlink < ::Nl::Family
|
|
|
3106
3272
|
#--
|
|
3107
3273
|
# @rbs return: ::String
|
|
3108
3274
|
def dpipe_table_name; attributes[:"dpipe_table_name"]&.value; end
|
|
3275
|
+
# Gets the value of `index` attribute in the message.
|
|
3276
|
+
#--
|
|
3277
|
+
# @rbs return: ::Integer
|
|
3278
|
+
def index; attributes[:"index"]&.value; end
|
|
3109
3279
|
end
|
|
3110
3280
|
# Get dpipe entries attributes.
|
|
3111
3281
|
class DoDpipeEntriesGetReply < ::Nl::Protocols::Genl::Message
|
|
3112
3282
|
TYPE = 32
|
|
3113
3283
|
FIXED_HEADER = nil
|
|
3114
3284
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3115
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_entries])
|
|
3285
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_entries index])
|
|
3116
3286
|
# Gets the value of `bus-name` attribute in the message.
|
|
3117
3287
|
#--
|
|
3118
3288
|
# @rbs return: ::String
|
|
@@ -3125,13 +3295,17 @@ class Devlink < ::Nl::Family
|
|
|
3125
3295
|
#--
|
|
3126
3296
|
# @rbs return: AttributeSets::DlDpipeEntries
|
|
3127
3297
|
def dpipe_entries; attributes[:"dpipe_entries"]&.value; end
|
|
3298
|
+
# Gets the value of `index` attribute in the message.
|
|
3299
|
+
#--
|
|
3300
|
+
# @rbs return: ::Integer
|
|
3301
|
+
def index; attributes[:"index"]&.value; end
|
|
3128
3302
|
end
|
|
3129
3303
|
# Get dpipe headers attributes.
|
|
3130
3304
|
class DoDpipeHeadersGetRequest < ::Nl::Protocols::Genl::Message
|
|
3131
3305
|
TYPE = 33
|
|
3132
3306
|
FIXED_HEADER = nil
|
|
3133
3307
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3134
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
3308
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
3135
3309
|
# Gets the value of `bus-name` attribute in the message.
|
|
3136
3310
|
#--
|
|
3137
3311
|
# @rbs return: ::String
|
|
@@ -3140,13 +3314,17 @@ class Devlink < ::Nl::Family
|
|
|
3140
3314
|
#--
|
|
3141
3315
|
# @rbs return: ::String
|
|
3142
3316
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
3317
|
+
# Gets the value of `index` attribute in the message.
|
|
3318
|
+
#--
|
|
3319
|
+
# @rbs return: ::Integer
|
|
3320
|
+
def index; attributes[:"index"]&.value; end
|
|
3143
3321
|
end
|
|
3144
3322
|
# Get dpipe headers attributes.
|
|
3145
3323
|
class DoDpipeHeadersGetReply < ::Nl::Protocols::Genl::Message
|
|
3146
3324
|
TYPE = 33
|
|
3147
3325
|
FIXED_HEADER = nil
|
|
3148
3326
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3149
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_headers])
|
|
3327
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_headers index])
|
|
3150
3328
|
# Gets the value of `bus-name` attribute in the message.
|
|
3151
3329
|
#--
|
|
3152
3330
|
# @rbs return: ::String
|
|
@@ -3159,13 +3337,17 @@ class Devlink < ::Nl::Family
|
|
|
3159
3337
|
#--
|
|
3160
3338
|
# @rbs return: AttributeSets::DlDpipeHeaders
|
|
3161
3339
|
def dpipe_headers; attributes[:"dpipe_headers"]&.value; end
|
|
3340
|
+
# Gets the value of `index` attribute in the message.
|
|
3341
|
+
#--
|
|
3342
|
+
# @rbs return: ::Integer
|
|
3343
|
+
def index; attributes[:"index"]&.value; end
|
|
3162
3344
|
end
|
|
3163
3345
|
# Set dpipe counter attributes.
|
|
3164
3346
|
class DoDpipeTableCountersSetRequest < ::Nl::Protocols::Genl::Message
|
|
3165
3347
|
TYPE = 34
|
|
3166
3348
|
FIXED_HEADER = nil
|
|
3167
3349
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3168
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_table_name dpipe_table_counters_enabled])
|
|
3350
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name dpipe_table_name dpipe_table_counters_enabled index])
|
|
3169
3351
|
# Gets the value of `bus-name` attribute in the message.
|
|
3170
3352
|
#--
|
|
3171
3353
|
# @rbs return: ::String
|
|
@@ -3182,13 +3364,17 @@ class Devlink < ::Nl::Family
|
|
|
3182
3364
|
#--
|
|
3183
3365
|
# @rbs return: ::Integer
|
|
3184
3366
|
def dpipe_table_counters_enabled; attributes[:"dpipe_table_counters_enabled"]&.value; end
|
|
3367
|
+
# Gets the value of `index` attribute in the message.
|
|
3368
|
+
#--
|
|
3369
|
+
# @rbs return: ::Integer
|
|
3370
|
+
def index; attributes[:"index"]&.value; end
|
|
3185
3371
|
end
|
|
3186
3372
|
# Set resource attributes.
|
|
3187
3373
|
class DoResourceSetRequest < ::Nl::Protocols::Genl::Message
|
|
3188
3374
|
TYPE = 35
|
|
3189
3375
|
FIXED_HEADER = nil
|
|
3190
3376
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3191
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name resource_id resource_size])
|
|
3377
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name resource_id resource_size index])
|
|
3192
3378
|
# Gets the value of `bus-name` attribute in the message.
|
|
3193
3379
|
#--
|
|
3194
3380
|
# @rbs return: ::String
|
|
@@ -3205,13 +3391,17 @@ class Devlink < ::Nl::Family
|
|
|
3205
3391
|
#--
|
|
3206
3392
|
# @rbs return: ::Integer
|
|
3207
3393
|
def resource_size; attributes[:"resource_size"]&.value; end
|
|
3394
|
+
# Gets the value of `index` attribute in the message.
|
|
3395
|
+
#--
|
|
3396
|
+
# @rbs return: ::Integer
|
|
3397
|
+
def index; attributes[:"index"]&.value; end
|
|
3208
3398
|
end
|
|
3209
3399
|
# Get resource attributes.
|
|
3210
3400
|
class DoResourceDumpRequest < ::Nl::Protocols::Genl::Message
|
|
3211
3401
|
TYPE = 36
|
|
3212
3402
|
FIXED_HEADER = nil
|
|
3213
3403
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3214
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
3404
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
3215
3405
|
# Gets the value of `bus-name` attribute in the message.
|
|
3216
3406
|
#--
|
|
3217
3407
|
# @rbs return: ::String
|
|
@@ -3220,13 +3410,71 @@ class Devlink < ::Nl::Family
|
|
|
3220
3410
|
#--
|
|
3221
3411
|
# @rbs return: ::String
|
|
3222
3412
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
3413
|
+
# Gets the value of `port-index` attribute in the message.
|
|
3414
|
+
#--
|
|
3415
|
+
# @rbs return: ::Integer
|
|
3416
|
+
def port_index; attributes[:"port_index"]&.value; end
|
|
3417
|
+
# Gets the value of `index` attribute in the message.
|
|
3418
|
+
#--
|
|
3419
|
+
# @rbs return: ::Integer
|
|
3420
|
+
def index; attributes[:"index"]&.value; end
|
|
3223
3421
|
end
|
|
3224
3422
|
# Get resource attributes.
|
|
3225
3423
|
class DoResourceDumpReply < ::Nl::Protocols::Genl::Message
|
|
3226
3424
|
TYPE = 36
|
|
3227
3425
|
FIXED_HEADER = nil
|
|
3228
3426
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3229
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name resource_list])
|
|
3427
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index resource_list index])
|
|
3428
|
+
# Gets the value of `bus-name` attribute in the message.
|
|
3429
|
+
#--
|
|
3430
|
+
# @rbs return: ::String
|
|
3431
|
+
def bus_name; attributes[:"bus_name"]&.value; end
|
|
3432
|
+
# Gets the value of `dev-name` attribute in the message.
|
|
3433
|
+
#--
|
|
3434
|
+
# @rbs return: ::String
|
|
3435
|
+
def dev_name; attributes[:"dev_name"]&.value; end
|
|
3436
|
+
# Gets the value of `port-index` attribute in the message.
|
|
3437
|
+
#--
|
|
3438
|
+
# @rbs return: ::Integer
|
|
3439
|
+
def port_index; attributes[:"port_index"]&.value; end
|
|
3440
|
+
# Gets the value of `resource-list` attribute in the message.
|
|
3441
|
+
#--
|
|
3442
|
+
# @rbs return: AttributeSets::DlResourceList
|
|
3443
|
+
def resource_list; attributes[:"resource_list"]&.value; end
|
|
3444
|
+
# Gets the value of `index` attribute in the message.
|
|
3445
|
+
#--
|
|
3446
|
+
# @rbs return: ::Integer
|
|
3447
|
+
def index; attributes[:"index"]&.value; end
|
|
3448
|
+
end
|
|
3449
|
+
# Get resource attributes.
|
|
3450
|
+
class DumpResourceDumpRequest < ::Nl::Protocols::Genl::Message
|
|
3451
|
+
TYPE = 36
|
|
3452
|
+
FIXED_HEADER = nil
|
|
3453
|
+
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3454
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index resource_scope_mask])
|
|
3455
|
+
# Gets the value of `bus-name` attribute in the message.
|
|
3456
|
+
#--
|
|
3457
|
+
# @rbs return: ::String
|
|
3458
|
+
def bus_name; attributes[:"bus_name"]&.value; end
|
|
3459
|
+
# Gets the value of `dev-name` attribute in the message.
|
|
3460
|
+
#--
|
|
3461
|
+
# @rbs return: ::String
|
|
3462
|
+
def dev_name; attributes[:"dev_name"]&.value; end
|
|
3463
|
+
# Gets the value of `index` attribute in the message.
|
|
3464
|
+
#--
|
|
3465
|
+
# @rbs return: ::Integer
|
|
3466
|
+
def index; attributes[:"index"]&.value; end
|
|
3467
|
+
# Gets the value of `resource-scope-mask` attribute in the message.
|
|
3468
|
+
#--
|
|
3469
|
+
# @rbs return: ::Integer
|
|
3470
|
+
def resource_scope_mask; attributes[:"resource_scope_mask"]&.value; end
|
|
3471
|
+
end
|
|
3472
|
+
# Get resource attributes.
|
|
3473
|
+
class DumpResourceDumpReply < ::Nl::Protocols::Genl::Message
|
|
3474
|
+
TYPE = 36
|
|
3475
|
+
FIXED_HEADER = nil
|
|
3476
|
+
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3477
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index resource_list index])
|
|
3230
3478
|
# Gets the value of `bus-name` attribute in the message.
|
|
3231
3479
|
#--
|
|
3232
3480
|
# @rbs return: ::String
|
|
@@ -3235,17 +3483,25 @@ class Devlink < ::Nl::Family
|
|
|
3235
3483
|
#--
|
|
3236
3484
|
# @rbs return: ::String
|
|
3237
3485
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
3486
|
+
# Gets the value of `port-index` attribute in the message.
|
|
3487
|
+
#--
|
|
3488
|
+
# @rbs return: ::Integer
|
|
3489
|
+
def port_index; attributes[:"port_index"]&.value; end
|
|
3238
3490
|
# Gets the value of `resource-list` attribute in the message.
|
|
3239
3491
|
#--
|
|
3240
3492
|
# @rbs return: AttributeSets::DlResourceList
|
|
3241
3493
|
def resource_list; attributes[:"resource_list"]&.value; end
|
|
3494
|
+
# Gets the value of `index` attribute in the message.
|
|
3495
|
+
#--
|
|
3496
|
+
# @rbs return: ::Integer
|
|
3497
|
+
def index; attributes[:"index"]&.value; end
|
|
3242
3498
|
end
|
|
3243
3499
|
# Reload devlink.
|
|
3244
3500
|
class DoReloadRequest < ::Nl::Protocols::Genl::Message
|
|
3245
3501
|
TYPE = 37
|
|
3246
3502
|
FIXED_HEADER = nil
|
|
3247
3503
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3248
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name netns_fd netns_pid netns_id reload_action reload_limits])
|
|
3504
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name netns_fd netns_pid netns_id reload_action reload_limits index])
|
|
3249
3505
|
# Gets the value of `bus-name` attribute in the message.
|
|
3250
3506
|
#--
|
|
3251
3507
|
# @rbs return: ::String
|
|
@@ -3274,13 +3530,17 @@ class Devlink < ::Nl::Family
|
|
|
3274
3530
|
#--
|
|
3275
3531
|
# @rbs return: ::Integer
|
|
3276
3532
|
def reload_limits; attributes[:"reload_limits"]&.value; end
|
|
3533
|
+
# Gets the value of `index` attribute in the message.
|
|
3534
|
+
#--
|
|
3535
|
+
# @rbs return: ::Integer
|
|
3536
|
+
def index; attributes[:"index"]&.value; end
|
|
3277
3537
|
end
|
|
3278
3538
|
# Reload devlink.
|
|
3279
3539
|
class DoReloadReply < ::Nl::Protocols::Genl::Message
|
|
3280
3540
|
TYPE = 37
|
|
3281
3541
|
FIXED_HEADER = nil
|
|
3282
3542
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3283
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name reload_actions_performed])
|
|
3543
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name reload_actions_performed index])
|
|
3284
3544
|
# Gets the value of `bus-name` attribute in the message.
|
|
3285
3545
|
#--
|
|
3286
3546
|
# @rbs return: ::String
|
|
@@ -3293,13 +3553,17 @@ class Devlink < ::Nl::Family
|
|
|
3293
3553
|
#--
|
|
3294
3554
|
# @rbs return: ::Integer
|
|
3295
3555
|
def reload_actions_performed; attributes[:"reload_actions_performed"]&.value; end
|
|
3556
|
+
# Gets the value of `index` attribute in the message.
|
|
3557
|
+
#--
|
|
3558
|
+
# @rbs return: ::Integer
|
|
3559
|
+
def index; attributes[:"index"]&.value; end
|
|
3296
3560
|
end
|
|
3297
3561
|
# Get param instances.
|
|
3298
3562
|
class DoParamGetRequest < ::Nl::Protocols::Genl::Message
|
|
3299
3563
|
TYPE = 38
|
|
3300
3564
|
FIXED_HEADER = nil
|
|
3301
3565
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3302
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name param_name])
|
|
3566
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name param_name index])
|
|
3303
3567
|
# Gets the value of `bus-name` attribute in the message.
|
|
3304
3568
|
#--
|
|
3305
3569
|
# @rbs return: ::String
|
|
@@ -3312,13 +3576,17 @@ class Devlink < ::Nl::Family
|
|
|
3312
3576
|
#--
|
|
3313
3577
|
# @rbs return: ::String
|
|
3314
3578
|
def param_name; attributes[:"param_name"]&.value; end
|
|
3579
|
+
# Gets the value of `index` attribute in the message.
|
|
3580
|
+
#--
|
|
3581
|
+
# @rbs return: ::Integer
|
|
3582
|
+
def index; attributes[:"index"]&.value; end
|
|
3315
3583
|
end
|
|
3316
3584
|
# Get param instances.
|
|
3317
3585
|
class DoParamGetReply < ::Nl::Protocols::Genl::Message
|
|
3318
3586
|
TYPE = 38
|
|
3319
3587
|
FIXED_HEADER = nil
|
|
3320
3588
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3321
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name param_name])
|
|
3589
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name param_name index])
|
|
3322
3590
|
# Gets the value of `bus-name` attribute in the message.
|
|
3323
3591
|
#--
|
|
3324
3592
|
# @rbs return: ::String
|
|
@@ -3331,13 +3599,17 @@ class Devlink < ::Nl::Family
|
|
|
3331
3599
|
#--
|
|
3332
3600
|
# @rbs return: ::String
|
|
3333
3601
|
def param_name; attributes[:"param_name"]&.value; end
|
|
3602
|
+
# Gets the value of `index` attribute in the message.
|
|
3603
|
+
#--
|
|
3604
|
+
# @rbs return: ::Integer
|
|
3605
|
+
def index; attributes[:"index"]&.value; end
|
|
3334
3606
|
end
|
|
3335
3607
|
# Get param instances.
|
|
3336
3608
|
class DumpParamGetRequest < ::Nl::Protocols::Genl::Message
|
|
3337
3609
|
TYPE = 38
|
|
3338
3610
|
FIXED_HEADER = nil
|
|
3339
3611
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3340
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
3612
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
3341
3613
|
# Gets the value of `bus-name` attribute in the message.
|
|
3342
3614
|
#--
|
|
3343
3615
|
# @rbs return: ::String
|
|
@@ -3346,13 +3618,17 @@ class Devlink < ::Nl::Family
|
|
|
3346
3618
|
#--
|
|
3347
3619
|
# @rbs return: ::String
|
|
3348
3620
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
3621
|
+
# Gets the value of `index` attribute in the message.
|
|
3622
|
+
#--
|
|
3623
|
+
# @rbs return: ::Integer
|
|
3624
|
+
def index; attributes[:"index"]&.value; end
|
|
3349
3625
|
end
|
|
3350
3626
|
# Get param instances.
|
|
3351
3627
|
class DumpParamGetReply < ::Nl::Protocols::Genl::Message
|
|
3352
3628
|
TYPE = 38
|
|
3353
3629
|
FIXED_HEADER = nil
|
|
3354
3630
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3355
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name param_name])
|
|
3631
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name param_name index])
|
|
3356
3632
|
# Gets the value of `bus-name` attribute in the message.
|
|
3357
3633
|
#--
|
|
3358
3634
|
# @rbs return: ::String
|
|
@@ -3365,13 +3641,17 @@ class Devlink < ::Nl::Family
|
|
|
3365
3641
|
#--
|
|
3366
3642
|
# @rbs return: ::String
|
|
3367
3643
|
def param_name; attributes[:"param_name"]&.value; end
|
|
3644
|
+
# Gets the value of `index` attribute in the message.
|
|
3645
|
+
#--
|
|
3646
|
+
# @rbs return: ::Integer
|
|
3647
|
+
def index; attributes[:"index"]&.value; end
|
|
3368
3648
|
end
|
|
3369
3649
|
# Set param instances.
|
|
3370
3650
|
class DoParamSetRequest < ::Nl::Protocols::Genl::Message
|
|
3371
3651
|
TYPE = 39
|
|
3372
3652
|
FIXED_HEADER = nil
|
|
3373
3653
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3374
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name param_name param_type param_value_cmode param_reset_default])
|
|
3654
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name param_name param_type param_value_cmode param_reset_default index])
|
|
3375
3655
|
# Gets the value of `bus-name` attribute in the message.
|
|
3376
3656
|
#--
|
|
3377
3657
|
# @rbs return: ::String
|
|
@@ -3396,13 +3676,17 @@ class Devlink < ::Nl::Family
|
|
|
3396
3676
|
#--
|
|
3397
3677
|
# @rbs return: ::Integer
|
|
3398
3678
|
def param_reset_default; attributes[:"param_reset_default"]&.value; end
|
|
3679
|
+
# Gets the value of `index` attribute in the message.
|
|
3680
|
+
#--
|
|
3681
|
+
# @rbs return: ::Integer
|
|
3682
|
+
def index; attributes[:"index"]&.value; end
|
|
3399
3683
|
end
|
|
3400
3684
|
# Get region instances.
|
|
3401
3685
|
class DoRegionGetRequest < ::Nl::Protocols::Genl::Message
|
|
3402
3686
|
TYPE = 42
|
|
3403
3687
|
FIXED_HEADER = nil
|
|
3404
3688
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3405
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name])
|
|
3689
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name index])
|
|
3406
3690
|
# Gets the value of `bus-name` attribute in the message.
|
|
3407
3691
|
#--
|
|
3408
3692
|
# @rbs return: ::String
|
|
@@ -3419,13 +3703,17 @@ class Devlink < ::Nl::Family
|
|
|
3419
3703
|
#--
|
|
3420
3704
|
# @rbs return: ::String
|
|
3421
3705
|
def region_name; attributes[:"region_name"]&.value; end
|
|
3706
|
+
# Gets the value of `index` attribute in the message.
|
|
3707
|
+
#--
|
|
3708
|
+
# @rbs return: ::Integer
|
|
3709
|
+
def index; attributes[:"index"]&.value; end
|
|
3422
3710
|
end
|
|
3423
3711
|
# Get region instances.
|
|
3424
3712
|
class DoRegionGetReply < ::Nl::Protocols::Genl::Message
|
|
3425
3713
|
TYPE = 42
|
|
3426
3714
|
FIXED_HEADER = nil
|
|
3427
3715
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3428
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name])
|
|
3716
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name index])
|
|
3429
3717
|
# Gets the value of `bus-name` attribute in the message.
|
|
3430
3718
|
#--
|
|
3431
3719
|
# @rbs return: ::String
|
|
@@ -3442,13 +3730,17 @@ class Devlink < ::Nl::Family
|
|
|
3442
3730
|
#--
|
|
3443
3731
|
# @rbs return: ::String
|
|
3444
3732
|
def region_name; attributes[:"region_name"]&.value; end
|
|
3733
|
+
# Gets the value of `index` attribute in the message.
|
|
3734
|
+
#--
|
|
3735
|
+
# @rbs return: ::Integer
|
|
3736
|
+
def index; attributes[:"index"]&.value; end
|
|
3445
3737
|
end
|
|
3446
3738
|
# Get region instances.
|
|
3447
3739
|
class DumpRegionGetRequest < ::Nl::Protocols::Genl::Message
|
|
3448
3740
|
TYPE = 42
|
|
3449
3741
|
FIXED_HEADER = nil
|
|
3450
3742
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3451
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
3743
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
3452
3744
|
# Gets the value of `bus-name` attribute in the message.
|
|
3453
3745
|
#--
|
|
3454
3746
|
# @rbs return: ::String
|
|
@@ -3457,13 +3749,17 @@ class Devlink < ::Nl::Family
|
|
|
3457
3749
|
#--
|
|
3458
3750
|
# @rbs return: ::String
|
|
3459
3751
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
3752
|
+
# Gets the value of `index` attribute in the message.
|
|
3753
|
+
#--
|
|
3754
|
+
# @rbs return: ::Integer
|
|
3755
|
+
def index; attributes[:"index"]&.value; end
|
|
3460
3756
|
end
|
|
3461
3757
|
# Get region instances.
|
|
3462
3758
|
class DumpRegionGetReply < ::Nl::Protocols::Genl::Message
|
|
3463
3759
|
TYPE = 42
|
|
3464
3760
|
FIXED_HEADER = nil
|
|
3465
3761
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3466
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name])
|
|
3762
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name index])
|
|
3467
3763
|
# Gets the value of `bus-name` attribute in the message.
|
|
3468
3764
|
#--
|
|
3469
3765
|
# @rbs return: ::String
|
|
@@ -3480,13 +3776,17 @@ class Devlink < ::Nl::Family
|
|
|
3480
3776
|
#--
|
|
3481
3777
|
# @rbs return: ::String
|
|
3482
3778
|
def region_name; attributes[:"region_name"]&.value; end
|
|
3779
|
+
# Gets the value of `index` attribute in the message.
|
|
3780
|
+
#--
|
|
3781
|
+
# @rbs return: ::Integer
|
|
3782
|
+
def index; attributes[:"index"]&.value; end
|
|
3483
3783
|
end
|
|
3484
3784
|
# Create region snapshot.
|
|
3485
3785
|
class DoRegionNewRequest < ::Nl::Protocols::Genl::Message
|
|
3486
3786
|
TYPE = 44
|
|
3487
3787
|
FIXED_HEADER = nil
|
|
3488
3788
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3489
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name region_snapshot_id])
|
|
3789
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name region_snapshot_id index])
|
|
3490
3790
|
# Gets the value of `bus-name` attribute in the message.
|
|
3491
3791
|
#--
|
|
3492
3792
|
# @rbs return: ::String
|
|
@@ -3507,13 +3807,17 @@ class Devlink < ::Nl::Family
|
|
|
3507
3807
|
#--
|
|
3508
3808
|
# @rbs return: ::Integer
|
|
3509
3809
|
def region_snapshot_id; attributes[:"region_snapshot_id"]&.value; end
|
|
3810
|
+
# Gets the value of `index` attribute in the message.
|
|
3811
|
+
#--
|
|
3812
|
+
# @rbs return: ::Integer
|
|
3813
|
+
def index; attributes[:"index"]&.value; end
|
|
3510
3814
|
end
|
|
3511
3815
|
# Create region snapshot.
|
|
3512
3816
|
class DoRegionNewReply < ::Nl::Protocols::Genl::Message
|
|
3513
3817
|
TYPE = 44
|
|
3514
3818
|
FIXED_HEADER = nil
|
|
3515
3819
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3516
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name region_snapshot_id])
|
|
3820
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name region_snapshot_id index])
|
|
3517
3821
|
# Gets the value of `bus-name` attribute in the message.
|
|
3518
3822
|
#--
|
|
3519
3823
|
# @rbs return: ::String
|
|
@@ -3534,13 +3838,17 @@ class Devlink < ::Nl::Family
|
|
|
3534
3838
|
#--
|
|
3535
3839
|
# @rbs return: ::Integer
|
|
3536
3840
|
def region_snapshot_id; attributes[:"region_snapshot_id"]&.value; end
|
|
3841
|
+
# Gets the value of `index` attribute in the message.
|
|
3842
|
+
#--
|
|
3843
|
+
# @rbs return: ::Integer
|
|
3844
|
+
def index; attributes[:"index"]&.value; end
|
|
3537
3845
|
end
|
|
3538
3846
|
# Delete region snapshot.
|
|
3539
3847
|
class DoRegionDelRequest < ::Nl::Protocols::Genl::Message
|
|
3540
3848
|
TYPE = 45
|
|
3541
3849
|
FIXED_HEADER = nil
|
|
3542
3850
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3543
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name region_snapshot_id])
|
|
3851
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name region_snapshot_id index])
|
|
3544
3852
|
# Gets the value of `bus-name` attribute in the message.
|
|
3545
3853
|
#--
|
|
3546
3854
|
# @rbs return: ::String
|
|
@@ -3561,13 +3869,17 @@ class Devlink < ::Nl::Family
|
|
|
3561
3869
|
#--
|
|
3562
3870
|
# @rbs return: ::Integer
|
|
3563
3871
|
def region_snapshot_id; attributes[:"region_snapshot_id"]&.value; end
|
|
3872
|
+
# Gets the value of `index` attribute in the message.
|
|
3873
|
+
#--
|
|
3874
|
+
# @rbs return: ::Integer
|
|
3875
|
+
def index; attributes[:"index"]&.value; end
|
|
3564
3876
|
end
|
|
3565
3877
|
# Read region data.
|
|
3566
3878
|
class DumpRegionReadRequest < ::Nl::Protocols::Genl::Message
|
|
3567
3879
|
TYPE = 46
|
|
3568
3880
|
FIXED_HEADER = nil
|
|
3569
3881
|
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])
|
|
3882
|
+
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
3883
|
# Gets the value of `bus-name` attribute in the message.
|
|
3572
3884
|
#--
|
|
3573
3885
|
# @rbs return: ::String
|
|
@@ -3600,13 +3912,17 @@ class Devlink < ::Nl::Family
|
|
|
3600
3912
|
#--
|
|
3601
3913
|
# @rbs return: ::Integer
|
|
3602
3914
|
def region_direct; attributes[:"region_direct"]&.value; end
|
|
3915
|
+
# Gets the value of `index` attribute in the message.
|
|
3916
|
+
#--
|
|
3917
|
+
# @rbs return: ::Integer
|
|
3918
|
+
def index; attributes[:"index"]&.value; end
|
|
3603
3919
|
end
|
|
3604
3920
|
# Read region data.
|
|
3605
3921
|
class DumpRegionReadReply < ::Nl::Protocols::Genl::Message
|
|
3606
3922
|
TYPE = 46
|
|
3607
3923
|
FIXED_HEADER = nil
|
|
3608
3924
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3609
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name])
|
|
3925
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index region_name index])
|
|
3610
3926
|
# Gets the value of `bus-name` attribute in the message.
|
|
3611
3927
|
#--
|
|
3612
3928
|
# @rbs return: ::String
|
|
@@ -3623,13 +3939,17 @@ class Devlink < ::Nl::Family
|
|
|
3623
3939
|
#--
|
|
3624
3940
|
# @rbs return: ::String
|
|
3625
3941
|
def region_name; attributes[:"region_name"]&.value; end
|
|
3942
|
+
# Gets the value of `index` attribute in the message.
|
|
3943
|
+
#--
|
|
3944
|
+
# @rbs return: ::Integer
|
|
3945
|
+
def index; attributes[:"index"]&.value; end
|
|
3626
3946
|
end
|
|
3627
3947
|
# Get port param instances.
|
|
3628
3948
|
class DoPortParamGetRequest < ::Nl::Protocols::Genl::Message
|
|
3629
3949
|
TYPE = 47
|
|
3630
3950
|
FIXED_HEADER = nil
|
|
3631
3951
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3632
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
3952
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
3633
3953
|
# Gets the value of `bus-name` attribute in the message.
|
|
3634
3954
|
#--
|
|
3635
3955
|
# @rbs return: ::String
|
|
@@ -3642,13 +3962,17 @@ class Devlink < ::Nl::Family
|
|
|
3642
3962
|
#--
|
|
3643
3963
|
# @rbs return: ::Integer
|
|
3644
3964
|
def port_index; attributes[:"port_index"]&.value; end
|
|
3965
|
+
# Gets the value of `index` attribute in the message.
|
|
3966
|
+
#--
|
|
3967
|
+
# @rbs return: ::Integer
|
|
3968
|
+
def index; attributes[:"index"]&.value; end
|
|
3645
3969
|
end
|
|
3646
3970
|
# Get port param instances.
|
|
3647
3971
|
class DoPortParamGetReply < ::Nl::Protocols::Genl::Message
|
|
3648
3972
|
TYPE = 47
|
|
3649
3973
|
FIXED_HEADER = nil
|
|
3650
3974
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3651
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
3975
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
3652
3976
|
# Gets the value of `bus-name` attribute in the message.
|
|
3653
3977
|
#--
|
|
3654
3978
|
# @rbs return: ::String
|
|
@@ -3661,13 +3985,17 @@ class Devlink < ::Nl::Family
|
|
|
3661
3985
|
#--
|
|
3662
3986
|
# @rbs return: ::Integer
|
|
3663
3987
|
def port_index; attributes[:"port_index"]&.value; end
|
|
3988
|
+
# Gets the value of `index` attribute in the message.
|
|
3989
|
+
#--
|
|
3990
|
+
# @rbs return: ::Integer
|
|
3991
|
+
def index; attributes[:"index"]&.value; end
|
|
3664
3992
|
end
|
|
3665
3993
|
# Get port param instances.
|
|
3666
3994
|
class DumpPortParamGetReply < ::Nl::Protocols::Genl::Message
|
|
3667
3995
|
TYPE = 47
|
|
3668
3996
|
FIXED_HEADER = nil
|
|
3669
3997
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3670
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
3998
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
3671
3999
|
# Gets the value of `bus-name` attribute in the message.
|
|
3672
4000
|
#--
|
|
3673
4001
|
# @rbs return: ::String
|
|
@@ -3680,13 +4008,17 @@ class Devlink < ::Nl::Family
|
|
|
3680
4008
|
#--
|
|
3681
4009
|
# @rbs return: ::Integer
|
|
3682
4010
|
def port_index; attributes[:"port_index"]&.value; end
|
|
4011
|
+
# Gets the value of `index` attribute in the message.
|
|
4012
|
+
#--
|
|
4013
|
+
# @rbs return: ::Integer
|
|
4014
|
+
def index; attributes[:"index"]&.value; end
|
|
3683
4015
|
end
|
|
3684
4016
|
# Set port param instances.
|
|
3685
4017
|
class DoPortParamSetRequest < ::Nl::Protocols::Genl::Message
|
|
3686
4018
|
TYPE = 48
|
|
3687
4019
|
FIXED_HEADER = nil
|
|
3688
4020
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3689
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
4021
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
3690
4022
|
# Gets the value of `bus-name` attribute in the message.
|
|
3691
4023
|
#--
|
|
3692
4024
|
# @rbs return: ::String
|
|
@@ -3699,6 +4031,10 @@ class Devlink < ::Nl::Family
|
|
|
3699
4031
|
#--
|
|
3700
4032
|
# @rbs return: ::Integer
|
|
3701
4033
|
def port_index; attributes[:"port_index"]&.value; end
|
|
4034
|
+
# Gets the value of `index` attribute in the message.
|
|
4035
|
+
#--
|
|
4036
|
+
# @rbs return: ::Integer
|
|
4037
|
+
def index; attributes[:"index"]&.value; end
|
|
3702
4038
|
end
|
|
3703
4039
|
# Get device information, like driver name, hardware and firmware versions
|
|
3704
4040
|
# etc.
|
|
@@ -3706,7 +4042,7 @@ class Devlink < ::Nl::Family
|
|
|
3706
4042
|
TYPE = 51
|
|
3707
4043
|
FIXED_HEADER = nil
|
|
3708
4044
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3709
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
4045
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
3710
4046
|
# Gets the value of `bus-name` attribute in the message.
|
|
3711
4047
|
#--
|
|
3712
4048
|
# @rbs return: ::String
|
|
@@ -3715,6 +4051,10 @@ class Devlink < ::Nl::Family
|
|
|
3715
4051
|
#--
|
|
3716
4052
|
# @rbs return: ::String
|
|
3717
4053
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
4054
|
+
# Gets the value of `index` attribute in the message.
|
|
4055
|
+
#--
|
|
4056
|
+
# @rbs return: ::Integer
|
|
4057
|
+
def index; attributes[:"index"]&.value; end
|
|
3718
4058
|
end
|
|
3719
4059
|
# Get device information, like driver name, hardware and firmware versions
|
|
3720
4060
|
# etc.
|
|
@@ -3722,7 +4062,7 @@ class Devlink < ::Nl::Family
|
|
|
3722
4062
|
TYPE = 51
|
|
3723
4063
|
FIXED_HEADER = nil
|
|
3724
4064
|
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])
|
|
4065
|
+
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
4066
|
# Gets the value of `bus-name` attribute in the message.
|
|
3727
4067
|
#--
|
|
3728
4068
|
# @rbs return: ::String
|
|
@@ -3755,6 +4095,10 @@ class Devlink < ::Nl::Family
|
|
|
3755
4095
|
#--
|
|
3756
4096
|
# @rbs return: ::String
|
|
3757
4097
|
def info_board_serial_number; attributes[:"info_board_serial_number"]&.value; end
|
|
4098
|
+
# Gets the value of `index` attribute in the message.
|
|
4099
|
+
#--
|
|
4100
|
+
# @rbs return: ::Integer
|
|
4101
|
+
def index; attributes[:"index"]&.value; end
|
|
3758
4102
|
end
|
|
3759
4103
|
# Get device information, like driver name, hardware and firmware versions
|
|
3760
4104
|
# etc.
|
|
@@ -3762,7 +4106,7 @@ class Devlink < ::Nl::Family
|
|
|
3762
4106
|
TYPE = 51
|
|
3763
4107
|
FIXED_HEADER = nil
|
|
3764
4108
|
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])
|
|
4109
|
+
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
4110
|
# Gets the value of `bus-name` attribute in the message.
|
|
3767
4111
|
#--
|
|
3768
4112
|
# @rbs return: ::String
|
|
@@ -3795,13 +4139,17 @@ class Devlink < ::Nl::Family
|
|
|
3795
4139
|
#--
|
|
3796
4140
|
# @rbs return: ::String
|
|
3797
4141
|
def info_board_serial_number; attributes[:"info_board_serial_number"]&.value; end
|
|
4142
|
+
# Gets the value of `index` attribute in the message.
|
|
4143
|
+
#--
|
|
4144
|
+
# @rbs return: ::Integer
|
|
4145
|
+
def index; attributes[:"index"]&.value; end
|
|
3798
4146
|
end
|
|
3799
4147
|
# Get health reporter instances.
|
|
3800
4148
|
class DoHealthReporterGetRequest < ::Nl::Protocols::Genl::Message
|
|
3801
4149
|
TYPE = 52
|
|
3802
4150
|
FIXED_HEADER = nil
|
|
3803
4151
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3804
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name])
|
|
4152
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name index])
|
|
3805
4153
|
# Gets the value of `bus-name` attribute in the message.
|
|
3806
4154
|
#--
|
|
3807
4155
|
# @rbs return: ::String
|
|
@@ -3818,13 +4166,17 @@ class Devlink < ::Nl::Family
|
|
|
3818
4166
|
#--
|
|
3819
4167
|
# @rbs return: ::String
|
|
3820
4168
|
def health_reporter_name; attributes[:"health_reporter_name"]&.value; end
|
|
4169
|
+
# Gets the value of `index` attribute in the message.
|
|
4170
|
+
#--
|
|
4171
|
+
# @rbs return: ::Integer
|
|
4172
|
+
def index; attributes[:"index"]&.value; end
|
|
3821
4173
|
end
|
|
3822
4174
|
# Get health reporter instances.
|
|
3823
4175
|
class DoHealthReporterGetReply < ::Nl::Protocols::Genl::Message
|
|
3824
4176
|
TYPE = 52
|
|
3825
4177
|
FIXED_HEADER = nil
|
|
3826
4178
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3827
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name])
|
|
4179
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name index])
|
|
3828
4180
|
# Gets the value of `bus-name` attribute in the message.
|
|
3829
4181
|
#--
|
|
3830
4182
|
# @rbs return: ::String
|
|
@@ -3841,13 +4193,17 @@ class Devlink < ::Nl::Family
|
|
|
3841
4193
|
#--
|
|
3842
4194
|
# @rbs return: ::String
|
|
3843
4195
|
def health_reporter_name; attributes[:"health_reporter_name"]&.value; end
|
|
4196
|
+
# Gets the value of `index` attribute in the message.
|
|
4197
|
+
#--
|
|
4198
|
+
# @rbs return: ::Integer
|
|
4199
|
+
def index; attributes[:"index"]&.value; end
|
|
3844
4200
|
end
|
|
3845
4201
|
# Get health reporter instances.
|
|
3846
4202
|
class DumpHealthReporterGetRequest < ::Nl::Protocols::Genl::Message
|
|
3847
4203
|
TYPE = 52
|
|
3848
4204
|
FIXED_HEADER = nil
|
|
3849
4205
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3850
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
4206
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
3851
4207
|
# Gets the value of `bus-name` attribute in the message.
|
|
3852
4208
|
#--
|
|
3853
4209
|
# @rbs return: ::String
|
|
@@ -3860,13 +4216,17 @@ class Devlink < ::Nl::Family
|
|
|
3860
4216
|
#--
|
|
3861
4217
|
# @rbs return: ::Integer
|
|
3862
4218
|
def port_index; attributes[:"port_index"]&.value; end
|
|
4219
|
+
# Gets the value of `index` attribute in the message.
|
|
4220
|
+
#--
|
|
4221
|
+
# @rbs return: ::Integer
|
|
4222
|
+
def index; attributes[:"index"]&.value; end
|
|
3863
4223
|
end
|
|
3864
4224
|
# Get health reporter instances.
|
|
3865
4225
|
class DumpHealthReporterGetReply < ::Nl::Protocols::Genl::Message
|
|
3866
4226
|
TYPE = 52
|
|
3867
4227
|
FIXED_HEADER = nil
|
|
3868
4228
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3869
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name])
|
|
4229
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name index])
|
|
3870
4230
|
# Gets the value of `bus-name` attribute in the message.
|
|
3871
4231
|
#--
|
|
3872
4232
|
# @rbs return: ::String
|
|
@@ -3883,13 +4243,17 @@ class Devlink < ::Nl::Family
|
|
|
3883
4243
|
#--
|
|
3884
4244
|
# @rbs return: ::String
|
|
3885
4245
|
def health_reporter_name; attributes[:"health_reporter_name"]&.value; end
|
|
4246
|
+
# Gets the value of `index` attribute in the message.
|
|
4247
|
+
#--
|
|
4248
|
+
# @rbs return: ::Integer
|
|
4249
|
+
def index; attributes[:"index"]&.value; end
|
|
3886
4250
|
end
|
|
3887
4251
|
# Set health reporter instances.
|
|
3888
4252
|
class DoHealthReporterSetRequest < ::Nl::Protocols::Genl::Message
|
|
3889
4253
|
TYPE = 53
|
|
3890
4254
|
FIXED_HEADER = nil
|
|
3891
4255
|
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])
|
|
4256
|
+
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
4257
|
# Gets the value of `bus-name` attribute in the message.
|
|
3894
4258
|
#--
|
|
3895
4259
|
# @rbs return: ::String
|
|
@@ -3922,13 +4286,17 @@ class Devlink < ::Nl::Family
|
|
|
3922
4286
|
#--
|
|
3923
4287
|
# @rbs return: ::Integer
|
|
3924
4288
|
def health_reporter_burst_period; attributes[:"health_reporter_burst_period"]&.value; end
|
|
4289
|
+
# Gets the value of `index` attribute in the message.
|
|
4290
|
+
#--
|
|
4291
|
+
# @rbs return: ::Integer
|
|
4292
|
+
def index; attributes[:"index"]&.value; end
|
|
3925
4293
|
end
|
|
3926
4294
|
# Recover health reporter instances.
|
|
3927
4295
|
class DoHealthReporterRecoverRequest < ::Nl::Protocols::Genl::Message
|
|
3928
4296
|
TYPE = 54
|
|
3929
4297
|
FIXED_HEADER = nil
|
|
3930
4298
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3931
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name])
|
|
4299
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name index])
|
|
3932
4300
|
# Gets the value of `bus-name` attribute in the message.
|
|
3933
4301
|
#--
|
|
3934
4302
|
# @rbs return: ::String
|
|
@@ -3945,13 +4313,17 @@ class Devlink < ::Nl::Family
|
|
|
3945
4313
|
#--
|
|
3946
4314
|
# @rbs return: ::String
|
|
3947
4315
|
def health_reporter_name; attributes[:"health_reporter_name"]&.value; end
|
|
4316
|
+
# Gets the value of `index` attribute in the message.
|
|
4317
|
+
#--
|
|
4318
|
+
# @rbs return: ::Integer
|
|
4319
|
+
def index; attributes[:"index"]&.value; end
|
|
3948
4320
|
end
|
|
3949
4321
|
# Diagnose health reporter instances.
|
|
3950
4322
|
class DoHealthReporterDiagnoseRequest < ::Nl::Protocols::Genl::Message
|
|
3951
4323
|
TYPE = 55
|
|
3952
4324
|
FIXED_HEADER = nil
|
|
3953
4325
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3954
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name])
|
|
4326
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name index])
|
|
3955
4327
|
# Gets the value of `bus-name` attribute in the message.
|
|
3956
4328
|
#--
|
|
3957
4329
|
# @rbs return: ::String
|
|
@@ -3968,13 +4340,17 @@ class Devlink < ::Nl::Family
|
|
|
3968
4340
|
#--
|
|
3969
4341
|
# @rbs return: ::String
|
|
3970
4342
|
def health_reporter_name; attributes[:"health_reporter_name"]&.value; end
|
|
4343
|
+
# Gets the value of `index` attribute in the message.
|
|
4344
|
+
#--
|
|
4345
|
+
# @rbs return: ::Integer
|
|
4346
|
+
def index; attributes[:"index"]&.value; end
|
|
3971
4347
|
end
|
|
3972
4348
|
# Dump health reporter instances.
|
|
3973
4349
|
class DumpHealthReporterDumpGetRequest < ::Nl::Protocols::Genl::Message
|
|
3974
4350
|
TYPE = 56
|
|
3975
4351
|
FIXED_HEADER = nil
|
|
3976
4352
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
3977
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name])
|
|
4353
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name index])
|
|
3978
4354
|
# Gets the value of `bus-name` attribute in the message.
|
|
3979
4355
|
#--
|
|
3980
4356
|
# @rbs return: ::String
|
|
@@ -3991,6 +4367,10 @@ class Devlink < ::Nl::Family
|
|
|
3991
4367
|
#--
|
|
3992
4368
|
# @rbs return: ::String
|
|
3993
4369
|
def health_reporter_name; attributes[:"health_reporter_name"]&.value; end
|
|
4370
|
+
# Gets the value of `index` attribute in the message.
|
|
4371
|
+
#--
|
|
4372
|
+
# @rbs return: ::Integer
|
|
4373
|
+
def index; attributes[:"index"]&.value; end
|
|
3994
4374
|
end
|
|
3995
4375
|
# Dump health reporter instances.
|
|
3996
4376
|
class DumpHealthReporterDumpGetReply < ::Nl::Protocols::Genl::Message
|
|
@@ -4008,7 +4388,7 @@ class Devlink < ::Nl::Family
|
|
|
4008
4388
|
TYPE = 57
|
|
4009
4389
|
FIXED_HEADER = nil
|
|
4010
4390
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4011
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name])
|
|
4391
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name index])
|
|
4012
4392
|
# Gets the value of `bus-name` attribute in the message.
|
|
4013
4393
|
#--
|
|
4014
4394
|
# @rbs return: ::String
|
|
@@ -4025,13 +4405,17 @@ class Devlink < ::Nl::Family
|
|
|
4025
4405
|
#--
|
|
4026
4406
|
# @rbs return: ::String
|
|
4027
4407
|
def health_reporter_name; attributes[:"health_reporter_name"]&.value; end
|
|
4408
|
+
# Gets the value of `index` attribute in the message.
|
|
4409
|
+
#--
|
|
4410
|
+
# @rbs return: ::Integer
|
|
4411
|
+
def index; attributes[:"index"]&.value; end
|
|
4028
4412
|
end
|
|
4029
4413
|
# Flash update devlink instances.
|
|
4030
4414
|
class DoFlashUpdateRequest < ::Nl::Protocols::Genl::Message
|
|
4031
4415
|
TYPE = 58
|
|
4032
4416
|
FIXED_HEADER = nil
|
|
4033
4417
|
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])
|
|
4418
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name flash_update_file_name flash_update_component flash_update_overwrite_mask index])
|
|
4035
4419
|
# Gets the value of `bus-name` attribute in the message.
|
|
4036
4420
|
#--
|
|
4037
4421
|
# @rbs return: ::String
|
|
@@ -4052,13 +4436,17 @@ class Devlink < ::Nl::Family
|
|
|
4052
4436
|
#--
|
|
4053
4437
|
# @rbs return: ::Integer
|
|
4054
4438
|
def flash_update_overwrite_mask; attributes[:"flash_update_overwrite_mask"]&.value; end
|
|
4439
|
+
# Gets the value of `index` attribute in the message.
|
|
4440
|
+
#--
|
|
4441
|
+
# @rbs return: ::Integer
|
|
4442
|
+
def index; attributes[:"index"]&.value; end
|
|
4055
4443
|
end
|
|
4056
4444
|
# Get trap instances.
|
|
4057
4445
|
class DoTrapGetRequest < ::Nl::Protocols::Genl::Message
|
|
4058
4446
|
TYPE = 61
|
|
4059
4447
|
FIXED_HEADER = nil
|
|
4060
4448
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4061
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_name])
|
|
4449
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_name index])
|
|
4062
4450
|
# Gets the value of `bus-name` attribute in the message.
|
|
4063
4451
|
#--
|
|
4064
4452
|
# @rbs return: ::String
|
|
@@ -4071,13 +4459,17 @@ class Devlink < ::Nl::Family
|
|
|
4071
4459
|
#--
|
|
4072
4460
|
# @rbs return: ::String
|
|
4073
4461
|
def trap_name; attributes[:"trap_name"]&.value; end
|
|
4462
|
+
# Gets the value of `index` attribute in the message.
|
|
4463
|
+
#--
|
|
4464
|
+
# @rbs return: ::Integer
|
|
4465
|
+
def index; attributes[:"index"]&.value; end
|
|
4074
4466
|
end
|
|
4075
4467
|
# Get trap instances.
|
|
4076
4468
|
class DoTrapGetReply < ::Nl::Protocols::Genl::Message
|
|
4077
4469
|
TYPE = 63
|
|
4078
4470
|
FIXED_HEADER = nil
|
|
4079
4471
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4080
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_name])
|
|
4472
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_name index])
|
|
4081
4473
|
# Gets the value of `bus-name` attribute in the message.
|
|
4082
4474
|
#--
|
|
4083
4475
|
# @rbs return: ::String
|
|
@@ -4090,13 +4482,17 @@ class Devlink < ::Nl::Family
|
|
|
4090
4482
|
#--
|
|
4091
4483
|
# @rbs return: ::String
|
|
4092
4484
|
def trap_name; attributes[:"trap_name"]&.value; end
|
|
4485
|
+
# Gets the value of `index` attribute in the message.
|
|
4486
|
+
#--
|
|
4487
|
+
# @rbs return: ::Integer
|
|
4488
|
+
def index; attributes[:"index"]&.value; end
|
|
4093
4489
|
end
|
|
4094
4490
|
# Get trap instances.
|
|
4095
4491
|
class DumpTrapGetRequest < ::Nl::Protocols::Genl::Message
|
|
4096
4492
|
TYPE = 61
|
|
4097
4493
|
FIXED_HEADER = nil
|
|
4098
4494
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4099
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
4495
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
4100
4496
|
# Gets the value of `bus-name` attribute in the message.
|
|
4101
4497
|
#--
|
|
4102
4498
|
# @rbs return: ::String
|
|
@@ -4105,13 +4501,17 @@ class Devlink < ::Nl::Family
|
|
|
4105
4501
|
#--
|
|
4106
4502
|
# @rbs return: ::String
|
|
4107
4503
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
4504
|
+
# Gets the value of `index` attribute in the message.
|
|
4505
|
+
#--
|
|
4506
|
+
# @rbs return: ::Integer
|
|
4507
|
+
def index; attributes[:"index"]&.value; end
|
|
4108
4508
|
end
|
|
4109
4509
|
# Get trap instances.
|
|
4110
4510
|
class DumpTrapGetReply < ::Nl::Protocols::Genl::Message
|
|
4111
4511
|
TYPE = 63
|
|
4112
4512
|
FIXED_HEADER = nil
|
|
4113
4513
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4114
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_name])
|
|
4514
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_name index])
|
|
4115
4515
|
# Gets the value of `bus-name` attribute in the message.
|
|
4116
4516
|
#--
|
|
4117
4517
|
# @rbs return: ::String
|
|
@@ -4124,13 +4524,17 @@ class Devlink < ::Nl::Family
|
|
|
4124
4524
|
#--
|
|
4125
4525
|
# @rbs return: ::String
|
|
4126
4526
|
def trap_name; attributes[:"trap_name"]&.value; end
|
|
4527
|
+
# Gets the value of `index` attribute in the message.
|
|
4528
|
+
#--
|
|
4529
|
+
# @rbs return: ::Integer
|
|
4530
|
+
def index; attributes[:"index"]&.value; end
|
|
4127
4531
|
end
|
|
4128
4532
|
# Set trap instances.
|
|
4129
4533
|
class DoTrapSetRequest < ::Nl::Protocols::Genl::Message
|
|
4130
4534
|
TYPE = 62
|
|
4131
4535
|
FIXED_HEADER = nil
|
|
4132
4536
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4133
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_name trap_action])
|
|
4537
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_name trap_action index])
|
|
4134
4538
|
# Gets the value of `bus-name` attribute in the message.
|
|
4135
4539
|
#--
|
|
4136
4540
|
# @rbs return: ::String
|
|
@@ -4147,13 +4551,17 @@ class Devlink < ::Nl::Family
|
|
|
4147
4551
|
#--
|
|
4148
4552
|
# @rbs return: ::Integer
|
|
4149
4553
|
def trap_action; attributes[:"trap_action"]&.value; end
|
|
4554
|
+
# Gets the value of `index` attribute in the message.
|
|
4555
|
+
#--
|
|
4556
|
+
# @rbs return: ::Integer
|
|
4557
|
+
def index; attributes[:"index"]&.value; end
|
|
4150
4558
|
end
|
|
4151
4559
|
# Get trap group instances.
|
|
4152
4560
|
class DoTrapGroupGetRequest < ::Nl::Protocols::Genl::Message
|
|
4153
4561
|
TYPE = 65
|
|
4154
4562
|
FIXED_HEADER = nil
|
|
4155
4563
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4156
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_group_name])
|
|
4564
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_group_name index])
|
|
4157
4565
|
# Gets the value of `bus-name` attribute in the message.
|
|
4158
4566
|
#--
|
|
4159
4567
|
# @rbs return: ::String
|
|
@@ -4166,13 +4574,17 @@ class Devlink < ::Nl::Family
|
|
|
4166
4574
|
#--
|
|
4167
4575
|
# @rbs return: ::String
|
|
4168
4576
|
def trap_group_name; attributes[:"trap_group_name"]&.value; end
|
|
4577
|
+
# Gets the value of `index` attribute in the message.
|
|
4578
|
+
#--
|
|
4579
|
+
# @rbs return: ::Integer
|
|
4580
|
+
def index; attributes[:"index"]&.value; end
|
|
4169
4581
|
end
|
|
4170
4582
|
# Get trap group instances.
|
|
4171
4583
|
class DoTrapGroupGetReply < ::Nl::Protocols::Genl::Message
|
|
4172
4584
|
TYPE = 67
|
|
4173
4585
|
FIXED_HEADER = nil
|
|
4174
4586
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4175
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_group_name])
|
|
4587
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_group_name index])
|
|
4176
4588
|
# Gets the value of `bus-name` attribute in the message.
|
|
4177
4589
|
#--
|
|
4178
4590
|
# @rbs return: ::String
|
|
@@ -4185,13 +4597,17 @@ class Devlink < ::Nl::Family
|
|
|
4185
4597
|
#--
|
|
4186
4598
|
# @rbs return: ::String
|
|
4187
4599
|
def trap_group_name; attributes[:"trap_group_name"]&.value; end
|
|
4600
|
+
# Gets the value of `index` attribute in the message.
|
|
4601
|
+
#--
|
|
4602
|
+
# @rbs return: ::Integer
|
|
4603
|
+
def index; attributes[:"index"]&.value; end
|
|
4188
4604
|
end
|
|
4189
4605
|
# Get trap group instances.
|
|
4190
4606
|
class DumpTrapGroupGetRequest < ::Nl::Protocols::Genl::Message
|
|
4191
4607
|
TYPE = 65
|
|
4192
4608
|
FIXED_HEADER = nil
|
|
4193
4609
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4194
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
4610
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
4195
4611
|
# Gets the value of `bus-name` attribute in the message.
|
|
4196
4612
|
#--
|
|
4197
4613
|
# @rbs return: ::String
|
|
@@ -4200,13 +4616,17 @@ class Devlink < ::Nl::Family
|
|
|
4200
4616
|
#--
|
|
4201
4617
|
# @rbs return: ::String
|
|
4202
4618
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
4619
|
+
# Gets the value of `index` attribute in the message.
|
|
4620
|
+
#--
|
|
4621
|
+
# @rbs return: ::Integer
|
|
4622
|
+
def index; attributes[:"index"]&.value; end
|
|
4203
4623
|
end
|
|
4204
4624
|
# Get trap group instances.
|
|
4205
4625
|
class DumpTrapGroupGetReply < ::Nl::Protocols::Genl::Message
|
|
4206
4626
|
TYPE = 67
|
|
4207
4627
|
FIXED_HEADER = nil
|
|
4208
4628
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4209
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_group_name])
|
|
4629
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_group_name index])
|
|
4210
4630
|
# Gets the value of `bus-name` attribute in the message.
|
|
4211
4631
|
#--
|
|
4212
4632
|
# @rbs return: ::String
|
|
@@ -4219,13 +4639,17 @@ class Devlink < ::Nl::Family
|
|
|
4219
4639
|
#--
|
|
4220
4640
|
# @rbs return: ::String
|
|
4221
4641
|
def trap_group_name; attributes[:"trap_group_name"]&.value; end
|
|
4642
|
+
# Gets the value of `index` attribute in the message.
|
|
4643
|
+
#--
|
|
4644
|
+
# @rbs return: ::Integer
|
|
4645
|
+
def index; attributes[:"index"]&.value; end
|
|
4222
4646
|
end
|
|
4223
4647
|
# Set trap group instances.
|
|
4224
4648
|
class DoTrapGroupSetRequest < ::Nl::Protocols::Genl::Message
|
|
4225
4649
|
TYPE = 66
|
|
4226
4650
|
FIXED_HEADER = nil
|
|
4227
4651
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4228
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_action trap_group_name trap_policer_id])
|
|
4652
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_action trap_group_name trap_policer_id index])
|
|
4229
4653
|
# Gets the value of `bus-name` attribute in the message.
|
|
4230
4654
|
#--
|
|
4231
4655
|
# @rbs return: ::String
|
|
@@ -4246,13 +4670,17 @@ class Devlink < ::Nl::Family
|
|
|
4246
4670
|
#--
|
|
4247
4671
|
# @rbs return: ::Integer
|
|
4248
4672
|
def trap_policer_id; attributes[:"trap_policer_id"]&.value; end
|
|
4673
|
+
# Gets the value of `index` attribute in the message.
|
|
4674
|
+
#--
|
|
4675
|
+
# @rbs return: ::Integer
|
|
4676
|
+
def index; attributes[:"index"]&.value; end
|
|
4249
4677
|
end
|
|
4250
4678
|
# Get trap policer instances.
|
|
4251
4679
|
class DoTrapPolicerGetRequest < ::Nl::Protocols::Genl::Message
|
|
4252
4680
|
TYPE = 69
|
|
4253
4681
|
FIXED_HEADER = nil
|
|
4254
4682
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4255
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_policer_id])
|
|
4683
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_policer_id index])
|
|
4256
4684
|
# Gets the value of `bus-name` attribute in the message.
|
|
4257
4685
|
#--
|
|
4258
4686
|
# @rbs return: ::String
|
|
@@ -4265,13 +4693,17 @@ class Devlink < ::Nl::Family
|
|
|
4265
4693
|
#--
|
|
4266
4694
|
# @rbs return: ::Integer
|
|
4267
4695
|
def trap_policer_id; attributes[:"trap_policer_id"]&.value; end
|
|
4696
|
+
# Gets the value of `index` attribute in the message.
|
|
4697
|
+
#--
|
|
4698
|
+
# @rbs return: ::Integer
|
|
4699
|
+
def index; attributes[:"index"]&.value; end
|
|
4268
4700
|
end
|
|
4269
4701
|
# Get trap policer instances.
|
|
4270
4702
|
class DoTrapPolicerGetReply < ::Nl::Protocols::Genl::Message
|
|
4271
4703
|
TYPE = 71
|
|
4272
4704
|
FIXED_HEADER = nil
|
|
4273
4705
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4274
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_policer_id])
|
|
4706
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_policer_id index])
|
|
4275
4707
|
# Gets the value of `bus-name` attribute in the message.
|
|
4276
4708
|
#--
|
|
4277
4709
|
# @rbs return: ::String
|
|
@@ -4284,13 +4716,17 @@ class Devlink < ::Nl::Family
|
|
|
4284
4716
|
#--
|
|
4285
4717
|
# @rbs return: ::Integer
|
|
4286
4718
|
def trap_policer_id; attributes[:"trap_policer_id"]&.value; end
|
|
4719
|
+
# Gets the value of `index` attribute in the message.
|
|
4720
|
+
#--
|
|
4721
|
+
# @rbs return: ::Integer
|
|
4722
|
+
def index; attributes[:"index"]&.value; end
|
|
4287
4723
|
end
|
|
4288
4724
|
# Get trap policer instances.
|
|
4289
4725
|
class DumpTrapPolicerGetRequest < ::Nl::Protocols::Genl::Message
|
|
4290
4726
|
TYPE = 69
|
|
4291
4727
|
FIXED_HEADER = nil
|
|
4292
4728
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4293
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
4729
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
4294
4730
|
# Gets the value of `bus-name` attribute in the message.
|
|
4295
4731
|
#--
|
|
4296
4732
|
# @rbs return: ::String
|
|
@@ -4299,13 +4735,17 @@ class Devlink < ::Nl::Family
|
|
|
4299
4735
|
#--
|
|
4300
4736
|
# @rbs return: ::String
|
|
4301
4737
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
4738
|
+
# Gets the value of `index` attribute in the message.
|
|
4739
|
+
#--
|
|
4740
|
+
# @rbs return: ::Integer
|
|
4741
|
+
def index; attributes[:"index"]&.value; end
|
|
4302
4742
|
end
|
|
4303
4743
|
# Get trap policer instances.
|
|
4304
4744
|
class DumpTrapPolicerGetReply < ::Nl::Protocols::Genl::Message
|
|
4305
4745
|
TYPE = 71
|
|
4306
4746
|
FIXED_HEADER = nil
|
|
4307
4747
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4308
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_policer_id])
|
|
4748
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_policer_id index])
|
|
4309
4749
|
# Gets the value of `bus-name` attribute in the message.
|
|
4310
4750
|
#--
|
|
4311
4751
|
# @rbs return: ::String
|
|
@@ -4318,13 +4758,17 @@ class Devlink < ::Nl::Family
|
|
|
4318
4758
|
#--
|
|
4319
4759
|
# @rbs return: ::Integer
|
|
4320
4760
|
def trap_policer_id; attributes[:"trap_policer_id"]&.value; end
|
|
4761
|
+
# Gets the value of `index` attribute in the message.
|
|
4762
|
+
#--
|
|
4763
|
+
# @rbs return: ::Integer
|
|
4764
|
+
def index; attributes[:"index"]&.value; end
|
|
4321
4765
|
end
|
|
4322
4766
|
# Get trap policer instances.
|
|
4323
4767
|
class DoTrapPolicerSetRequest < ::Nl::Protocols::Genl::Message
|
|
4324
4768
|
TYPE = 70
|
|
4325
4769
|
FIXED_HEADER = nil
|
|
4326
4770
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4327
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_policer_id trap_policer_rate trap_policer_burst])
|
|
4771
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name trap_policer_id trap_policer_rate trap_policer_burst index])
|
|
4328
4772
|
# Gets the value of `bus-name` attribute in the message.
|
|
4329
4773
|
#--
|
|
4330
4774
|
# @rbs return: ::String
|
|
@@ -4345,13 +4789,17 @@ class Devlink < ::Nl::Family
|
|
|
4345
4789
|
#--
|
|
4346
4790
|
# @rbs return: ::Integer
|
|
4347
4791
|
def trap_policer_burst; attributes[:"trap_policer_burst"]&.value; end
|
|
4792
|
+
# Gets the value of `index` attribute in the message.
|
|
4793
|
+
#--
|
|
4794
|
+
# @rbs return: ::Integer
|
|
4795
|
+
def index; attributes[:"index"]&.value; end
|
|
4348
4796
|
end
|
|
4349
4797
|
# Test health reporter instances.
|
|
4350
4798
|
class DoHealthReporterTestRequest < ::Nl::Protocols::Genl::Message
|
|
4351
4799
|
TYPE = 73
|
|
4352
4800
|
FIXED_HEADER = nil
|
|
4353
4801
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4354
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name])
|
|
4802
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name index])
|
|
4355
4803
|
# Gets the value of `bus-name` attribute in the message.
|
|
4356
4804
|
#--
|
|
4357
4805
|
# @rbs return: ::String
|
|
@@ -4368,13 +4816,17 @@ class Devlink < ::Nl::Family
|
|
|
4368
4816
|
#--
|
|
4369
4817
|
# @rbs return: ::String
|
|
4370
4818
|
def health_reporter_name; attributes[:"health_reporter_name"]&.value; end
|
|
4819
|
+
# Gets the value of `index` attribute in the message.
|
|
4820
|
+
#--
|
|
4821
|
+
# @rbs return: ::Integer
|
|
4822
|
+
def index; attributes[:"index"]&.value; end
|
|
4371
4823
|
end
|
|
4372
4824
|
# Get rate instances.
|
|
4373
4825
|
class DoRateGetRequest < ::Nl::Protocols::Genl::Message
|
|
4374
4826
|
TYPE = 74
|
|
4375
4827
|
FIXED_HEADER = nil
|
|
4376
4828
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4377
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index rate_node_name])
|
|
4829
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index rate_node_name index])
|
|
4378
4830
|
# Gets the value of `bus-name` attribute in the message.
|
|
4379
4831
|
#--
|
|
4380
4832
|
# @rbs return: ::String
|
|
@@ -4391,13 +4843,17 @@ class Devlink < ::Nl::Family
|
|
|
4391
4843
|
#--
|
|
4392
4844
|
# @rbs return: ::String
|
|
4393
4845
|
def rate_node_name; attributes[:"rate_node_name"]&.value; end
|
|
4846
|
+
# Gets the value of `index` attribute in the message.
|
|
4847
|
+
#--
|
|
4848
|
+
# @rbs return: ::Integer
|
|
4849
|
+
def index; attributes[:"index"]&.value; end
|
|
4394
4850
|
end
|
|
4395
4851
|
# Get rate instances.
|
|
4396
4852
|
class DoRateGetReply < ::Nl::Protocols::Genl::Message
|
|
4397
4853
|
TYPE = 76
|
|
4398
4854
|
FIXED_HEADER = nil
|
|
4399
4855
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4400
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index rate_node_name])
|
|
4856
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index rate_node_name index])
|
|
4401
4857
|
# Gets the value of `bus-name` attribute in the message.
|
|
4402
4858
|
#--
|
|
4403
4859
|
# @rbs return: ::String
|
|
@@ -4414,13 +4870,17 @@ class Devlink < ::Nl::Family
|
|
|
4414
4870
|
#--
|
|
4415
4871
|
# @rbs return: ::String
|
|
4416
4872
|
def rate_node_name; attributes[:"rate_node_name"]&.value; end
|
|
4873
|
+
# Gets the value of `index` attribute in the message.
|
|
4874
|
+
#--
|
|
4875
|
+
# @rbs return: ::Integer
|
|
4876
|
+
def index; attributes[:"index"]&.value; end
|
|
4417
4877
|
end
|
|
4418
4878
|
# Get rate instances.
|
|
4419
4879
|
class DumpRateGetRequest < ::Nl::Protocols::Genl::Message
|
|
4420
4880
|
TYPE = 74
|
|
4421
4881
|
FIXED_HEADER = nil
|
|
4422
4882
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4423
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
4883
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
4424
4884
|
# Gets the value of `bus-name` attribute in the message.
|
|
4425
4885
|
#--
|
|
4426
4886
|
# @rbs return: ::String
|
|
@@ -4429,13 +4889,17 @@ class Devlink < ::Nl::Family
|
|
|
4429
4889
|
#--
|
|
4430
4890
|
# @rbs return: ::String
|
|
4431
4891
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
4892
|
+
# Gets the value of `index` attribute in the message.
|
|
4893
|
+
#--
|
|
4894
|
+
# @rbs return: ::Integer
|
|
4895
|
+
def index; attributes[:"index"]&.value; end
|
|
4432
4896
|
end
|
|
4433
4897
|
# Get rate instances.
|
|
4434
4898
|
class DumpRateGetReply < ::Nl::Protocols::Genl::Message
|
|
4435
4899
|
TYPE = 76
|
|
4436
4900
|
FIXED_HEADER = nil
|
|
4437
4901
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4438
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index rate_node_name])
|
|
4902
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index rate_node_name index])
|
|
4439
4903
|
# Gets the value of `bus-name` attribute in the message.
|
|
4440
4904
|
#--
|
|
4441
4905
|
# @rbs return: ::String
|
|
@@ -4452,13 +4916,17 @@ class Devlink < ::Nl::Family
|
|
|
4452
4916
|
#--
|
|
4453
4917
|
# @rbs return: ::String
|
|
4454
4918
|
def rate_node_name; attributes[:"rate_node_name"]&.value; end
|
|
4919
|
+
# Gets the value of `index` attribute in the message.
|
|
4920
|
+
#--
|
|
4921
|
+
# @rbs return: ::Integer
|
|
4922
|
+
def index; attributes[:"index"]&.value; end
|
|
4455
4923
|
end
|
|
4456
4924
|
# Set rate instances.
|
|
4457
4925
|
class DoRateSetRequest < ::Nl::Protocols::Genl::Message
|
|
4458
4926
|
TYPE = 75
|
|
4459
4927
|
FIXED_HEADER = nil
|
|
4460
4928
|
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])
|
|
4929
|
+
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
4930
|
# Gets the value of `bus-name` attribute in the message.
|
|
4463
4931
|
#--
|
|
4464
4932
|
# @rbs return: ::String
|
|
@@ -4495,13 +4963,17 @@ class Devlink < ::Nl::Family
|
|
|
4495
4963
|
#--
|
|
4496
4964
|
# @rbs return: AttributeSets::DlRateTcBws
|
|
4497
4965
|
def rate_tc_bws; attributes[:"rate_tc_bws"]&.value; end
|
|
4966
|
+
# Gets the value of `index` attribute in the message.
|
|
4967
|
+
#--
|
|
4968
|
+
# @rbs return: ::Integer
|
|
4969
|
+
def index; attributes[:"index"]&.value; end
|
|
4498
4970
|
end
|
|
4499
4971
|
# Create rate instances.
|
|
4500
4972
|
class DoRateNewRequest < ::Nl::Protocols::Genl::Message
|
|
4501
4973
|
TYPE = 76
|
|
4502
4974
|
FIXED_HEADER = nil
|
|
4503
4975
|
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])
|
|
4976
|
+
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
4977
|
# Gets the value of `bus-name` attribute in the message.
|
|
4506
4978
|
#--
|
|
4507
4979
|
# @rbs return: ::String
|
|
@@ -4538,13 +5010,17 @@ class Devlink < ::Nl::Family
|
|
|
4538
5010
|
#--
|
|
4539
5011
|
# @rbs return: AttributeSets::DlRateTcBws
|
|
4540
5012
|
def rate_tc_bws; attributes[:"rate_tc_bws"]&.value; end
|
|
5013
|
+
# Gets the value of `index` attribute in the message.
|
|
5014
|
+
#--
|
|
5015
|
+
# @rbs return: ::Integer
|
|
5016
|
+
def index; attributes[:"index"]&.value; end
|
|
4541
5017
|
end
|
|
4542
5018
|
# Delete rate instances.
|
|
4543
5019
|
class DoRateDelRequest < ::Nl::Protocols::Genl::Message
|
|
4544
5020
|
TYPE = 77
|
|
4545
5021
|
FIXED_HEADER = nil
|
|
4546
5022
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4547
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name rate_node_name])
|
|
5023
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name rate_node_name index])
|
|
4548
5024
|
# Gets the value of `bus-name` attribute in the message.
|
|
4549
5025
|
#--
|
|
4550
5026
|
# @rbs return: ::String
|
|
@@ -4557,13 +5033,17 @@ class Devlink < ::Nl::Family
|
|
|
4557
5033
|
#--
|
|
4558
5034
|
# @rbs return: ::String
|
|
4559
5035
|
def rate_node_name; attributes[:"rate_node_name"]&.value; end
|
|
5036
|
+
# Gets the value of `index` attribute in the message.
|
|
5037
|
+
#--
|
|
5038
|
+
# @rbs return: ::Integer
|
|
5039
|
+
def index; attributes[:"index"]&.value; end
|
|
4560
5040
|
end
|
|
4561
5041
|
# Get line card instances.
|
|
4562
5042
|
class DoLinecardGetRequest < ::Nl::Protocols::Genl::Message
|
|
4563
5043
|
TYPE = 78
|
|
4564
5044
|
FIXED_HEADER = nil
|
|
4565
5045
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4566
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name linecard_index])
|
|
5046
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name linecard_index index])
|
|
4567
5047
|
# Gets the value of `bus-name` attribute in the message.
|
|
4568
5048
|
#--
|
|
4569
5049
|
# @rbs return: ::String
|
|
@@ -4576,13 +5056,17 @@ class Devlink < ::Nl::Family
|
|
|
4576
5056
|
#--
|
|
4577
5057
|
# @rbs return: ::Integer
|
|
4578
5058
|
def linecard_index; attributes[:"linecard_index"]&.value; end
|
|
5059
|
+
# Gets the value of `index` attribute in the message.
|
|
5060
|
+
#--
|
|
5061
|
+
# @rbs return: ::Integer
|
|
5062
|
+
def index; attributes[:"index"]&.value; end
|
|
4579
5063
|
end
|
|
4580
5064
|
# Get line card instances.
|
|
4581
5065
|
class DoLinecardGetReply < ::Nl::Protocols::Genl::Message
|
|
4582
5066
|
TYPE = 80
|
|
4583
5067
|
FIXED_HEADER = nil
|
|
4584
5068
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4585
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name linecard_index])
|
|
5069
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name linecard_index index])
|
|
4586
5070
|
# Gets the value of `bus-name` attribute in the message.
|
|
4587
5071
|
#--
|
|
4588
5072
|
# @rbs return: ::String
|
|
@@ -4595,13 +5079,17 @@ class Devlink < ::Nl::Family
|
|
|
4595
5079
|
#--
|
|
4596
5080
|
# @rbs return: ::Integer
|
|
4597
5081
|
def linecard_index; attributes[:"linecard_index"]&.value; end
|
|
5082
|
+
# Gets the value of `index` attribute in the message.
|
|
5083
|
+
#--
|
|
5084
|
+
# @rbs return: ::Integer
|
|
5085
|
+
def index; attributes[:"index"]&.value; end
|
|
4598
5086
|
end
|
|
4599
5087
|
# Get line card instances.
|
|
4600
5088
|
class DumpLinecardGetRequest < ::Nl::Protocols::Genl::Message
|
|
4601
5089
|
TYPE = 78
|
|
4602
5090
|
FIXED_HEADER = nil
|
|
4603
5091
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4604
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
5092
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
4605
5093
|
# Gets the value of `bus-name` attribute in the message.
|
|
4606
5094
|
#--
|
|
4607
5095
|
# @rbs return: ::String
|
|
@@ -4610,13 +5098,17 @@ class Devlink < ::Nl::Family
|
|
|
4610
5098
|
#--
|
|
4611
5099
|
# @rbs return: ::String
|
|
4612
5100
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
5101
|
+
# Gets the value of `index` attribute in the message.
|
|
5102
|
+
#--
|
|
5103
|
+
# @rbs return: ::Integer
|
|
5104
|
+
def index; attributes[:"index"]&.value; end
|
|
4613
5105
|
end
|
|
4614
5106
|
# Get line card instances.
|
|
4615
5107
|
class DumpLinecardGetReply < ::Nl::Protocols::Genl::Message
|
|
4616
5108
|
TYPE = 80
|
|
4617
5109
|
FIXED_HEADER = nil
|
|
4618
5110
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4619
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name linecard_index])
|
|
5111
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name linecard_index index])
|
|
4620
5112
|
# Gets the value of `bus-name` attribute in the message.
|
|
4621
5113
|
#--
|
|
4622
5114
|
# @rbs return: ::String
|
|
@@ -4629,13 +5121,17 @@ class Devlink < ::Nl::Family
|
|
|
4629
5121
|
#--
|
|
4630
5122
|
# @rbs return: ::Integer
|
|
4631
5123
|
def linecard_index; attributes[:"linecard_index"]&.value; end
|
|
5124
|
+
# Gets the value of `index` attribute in the message.
|
|
5125
|
+
#--
|
|
5126
|
+
# @rbs return: ::Integer
|
|
5127
|
+
def index; attributes[:"index"]&.value; end
|
|
4632
5128
|
end
|
|
4633
5129
|
# Set line card instances.
|
|
4634
5130
|
class DoLinecardSetRequest < ::Nl::Protocols::Genl::Message
|
|
4635
5131
|
TYPE = 79
|
|
4636
5132
|
FIXED_HEADER = nil
|
|
4637
5133
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4638
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name linecard_index linecard_type])
|
|
5134
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name linecard_index linecard_type index])
|
|
4639
5135
|
# Gets the value of `bus-name` attribute in the message.
|
|
4640
5136
|
#--
|
|
4641
5137
|
# @rbs return: ::String
|
|
@@ -4652,13 +5148,17 @@ class Devlink < ::Nl::Family
|
|
|
4652
5148
|
#--
|
|
4653
5149
|
# @rbs return: ::String
|
|
4654
5150
|
def linecard_type; attributes[:"linecard_type"]&.value; end
|
|
5151
|
+
# Gets the value of `index` attribute in the message.
|
|
5152
|
+
#--
|
|
5153
|
+
# @rbs return: ::Integer
|
|
5154
|
+
def index; attributes[:"index"]&.value; end
|
|
4655
5155
|
end
|
|
4656
5156
|
# Get device selftest instances.
|
|
4657
5157
|
class DoSelftestsGetRequest < ::Nl::Protocols::Genl::Message
|
|
4658
5158
|
TYPE = 82
|
|
4659
5159
|
FIXED_HEADER = nil
|
|
4660
5160
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4661
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
5161
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
4662
5162
|
# Gets the value of `bus-name` attribute in the message.
|
|
4663
5163
|
#--
|
|
4664
5164
|
# @rbs return: ::String
|
|
@@ -4667,13 +5167,17 @@ class Devlink < ::Nl::Family
|
|
|
4667
5167
|
#--
|
|
4668
5168
|
# @rbs return: ::String
|
|
4669
5169
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
5170
|
+
# Gets the value of `index` attribute in the message.
|
|
5171
|
+
#--
|
|
5172
|
+
# @rbs return: ::Integer
|
|
5173
|
+
def index; attributes[:"index"]&.value; end
|
|
4670
5174
|
end
|
|
4671
5175
|
# Get device selftest instances.
|
|
4672
5176
|
class DoSelftestsGetReply < ::Nl::Protocols::Genl::Message
|
|
4673
5177
|
TYPE = 82
|
|
4674
5178
|
FIXED_HEADER = nil
|
|
4675
5179
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4676
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
5180
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
4677
5181
|
# Gets the value of `bus-name` attribute in the message.
|
|
4678
5182
|
#--
|
|
4679
5183
|
# @rbs return: ::String
|
|
@@ -4682,13 +5186,17 @@ class Devlink < ::Nl::Family
|
|
|
4682
5186
|
#--
|
|
4683
5187
|
# @rbs return: ::String
|
|
4684
5188
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
5189
|
+
# Gets the value of `index` attribute in the message.
|
|
5190
|
+
#--
|
|
5191
|
+
# @rbs return: ::Integer
|
|
5192
|
+
def index; attributes[:"index"]&.value; end
|
|
4685
5193
|
end
|
|
4686
5194
|
# Get device selftest instances.
|
|
4687
5195
|
class DumpSelftestsGetReply < ::Nl::Protocols::Genl::Message
|
|
4688
5196
|
TYPE = 82
|
|
4689
5197
|
FIXED_HEADER = nil
|
|
4690
5198
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4691
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name])
|
|
5199
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name index])
|
|
4692
5200
|
# Gets the value of `bus-name` attribute in the message.
|
|
4693
5201
|
#--
|
|
4694
5202
|
# @rbs return: ::String
|
|
@@ -4697,13 +5205,17 @@ class Devlink < ::Nl::Family
|
|
|
4697
5205
|
#--
|
|
4698
5206
|
# @rbs return: ::String
|
|
4699
5207
|
def dev_name; attributes[:"dev_name"]&.value; end
|
|
5208
|
+
# Gets the value of `index` attribute in the message.
|
|
5209
|
+
#--
|
|
5210
|
+
# @rbs return: ::Integer
|
|
5211
|
+
def index; attributes[:"index"]&.value; end
|
|
4700
5212
|
end
|
|
4701
5213
|
# Run device selftest instances.
|
|
4702
5214
|
class DoSelftestsRunRequest < ::Nl::Protocols::Genl::Message
|
|
4703
5215
|
TYPE = 83
|
|
4704
5216
|
FIXED_HEADER = nil
|
|
4705
5217
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4706
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name selftests])
|
|
5218
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name selftests index])
|
|
4707
5219
|
# Gets the value of `bus-name` attribute in the message.
|
|
4708
5220
|
#--
|
|
4709
5221
|
# @rbs return: ::String
|
|
@@ -4716,13 +5228,17 @@ class Devlink < ::Nl::Family
|
|
|
4716
5228
|
#--
|
|
4717
5229
|
# @rbs return: AttributeSets::DlSelftestId
|
|
4718
5230
|
def selftests; attributes[:"selftests"]&.value; end
|
|
5231
|
+
# Gets the value of `index` attribute in the message.
|
|
5232
|
+
#--
|
|
5233
|
+
# @rbs return: ::Integer
|
|
5234
|
+
def index; attributes[:"index"]&.value; end
|
|
4719
5235
|
end
|
|
4720
5236
|
# Set notification messages socket filter.
|
|
4721
5237
|
class DoNotifyFilterSetRequest < ::Nl::Protocols::Genl::Message
|
|
4722
5238
|
TYPE = 84
|
|
4723
5239
|
FIXED_HEADER = nil
|
|
4724
5240
|
ATTRIBUTE_SET = AttributeSets::Devlink
|
|
4725
|
-
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index])
|
|
5241
|
+
ATTRIBUTES = Ractor.make_shareable(%i[bus_name dev_name port_index index])
|
|
4726
5242
|
# Gets the value of `bus-name` attribute in the message.
|
|
4727
5243
|
#--
|
|
4728
5244
|
# @rbs return: ::String
|
|
@@ -4735,441 +5251,452 @@ class Devlink < ::Nl::Family
|
|
|
4735
5251
|
#--
|
|
4736
5252
|
# @rbs return: ::Integer
|
|
4737
5253
|
def port_index; attributes[:"port_index"]&.value; end
|
|
5254
|
+
# Gets the value of `index` attribute in the message.
|
|
5255
|
+
#--
|
|
5256
|
+
# @rbs return: ::Integer
|
|
5257
|
+
def index; attributes[:"index"]&.value; end
|
|
4738
5258
|
end
|
|
4739
5259
|
end
|
|
4740
5260
|
# Get devlink instances.
|
|
4741
5261
|
#--
|
|
4742
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Messages::DoGetReply
|
|
5262
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Messages::DoGetReply
|
|
4743
5263
|
def do_get(**args)
|
|
4744
5264
|
exchange_message(:"do", Messages::DoGetRequest, Messages::DoGetReply, args)
|
|
4745
5265
|
end
|
|
4746
5266
|
# Get devlink port instances.
|
|
4747
5267
|
#--
|
|
4748
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer) -> Messages::DoPortGetReply
|
|
5268
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> Messages::DoPortGetReply
|
|
4749
5269
|
def do_port_get(**args)
|
|
4750
5270
|
exchange_message(:"do", Messages::DoPortGetRequest, Messages::DoPortGetReply, args)
|
|
4751
5271
|
end
|
|
4752
5272
|
# Get devlink port instances.
|
|
4753
5273
|
#--
|
|
4754
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpPortGetReply]
|
|
4755
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpPortGetReply) -> void } -> void
|
|
5274
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpPortGetReply]
|
|
5275
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpPortGetReply) -> void } -> void
|
|
4756
5276
|
def dump_port_get(**args, &block)
|
|
4757
5277
|
exchange_message(:"dump", Messages::DumpPortGetRequest, Messages::DumpPortGetReply, args, &block)
|
|
4758
5278
|
end
|
|
4759
5279
|
# Set devlink port instances.
|
|
4760
5280
|
#--
|
|
4761
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?port_type: ::Integer, ?port_function: AttributeSets::DlPortFunction) -> void
|
|
5281
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?port_type: ::Integer, ?port_function: AttributeSets::DlPortFunction, ?index: ::Integer) -> void
|
|
4762
5282
|
def do_port_set(**args)
|
|
4763
5283
|
exchange_message(:"do", Messages::DoPortSetRequest, nil, args)
|
|
4764
5284
|
end
|
|
4765
5285
|
# Create devlink port instances.
|
|
4766
5286
|
#--
|
|
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
|
|
5287
|
+
# @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
5288
|
def do_port_new(**args)
|
|
4769
5289
|
exchange_message(:"do", Messages::DoPortNewRequest, Messages::DoPortNewReply, args)
|
|
4770
5290
|
end
|
|
4771
5291
|
# Delete devlink port instances.
|
|
4772
5292
|
#--
|
|
4773
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer) -> void
|
|
5293
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> void
|
|
4774
5294
|
def do_port_del(**args)
|
|
4775
5295
|
exchange_message(:"do", Messages::DoPortDelRequest, nil, args)
|
|
4776
5296
|
end
|
|
4777
5297
|
# Split devlink port instances.
|
|
4778
5298
|
#--
|
|
4779
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?port_split_count: ::Integer) -> void
|
|
5299
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?port_split_count: ::Integer, ?index: ::Integer) -> void
|
|
4780
5300
|
def do_port_split(**args)
|
|
4781
5301
|
exchange_message(:"do", Messages::DoPortSplitRequest, nil, args)
|
|
4782
5302
|
end
|
|
4783
5303
|
# Unplit devlink port instances.
|
|
4784
5304
|
#--
|
|
4785
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer) -> void
|
|
5305
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> void
|
|
4786
5306
|
def do_port_unsplit(**args)
|
|
4787
5307
|
exchange_message(:"do", Messages::DoPortUnsplitRequest, nil, args)
|
|
4788
5308
|
end
|
|
4789
5309
|
# Get shared buffer instances.
|
|
4790
5310
|
#--
|
|
4791
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer) -> Messages::DoSbGetReply
|
|
5311
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer, ?index: ::Integer) -> Messages::DoSbGetReply
|
|
4792
5312
|
def do_sb_get(**args)
|
|
4793
5313
|
exchange_message(:"do", Messages::DoSbGetRequest, Messages::DoSbGetReply, args)
|
|
4794
5314
|
end
|
|
4795
5315
|
# Get shared buffer instances.
|
|
4796
5316
|
#--
|
|
4797
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpSbGetReply]
|
|
4798
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpSbGetReply) -> void } -> void
|
|
5317
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpSbGetReply]
|
|
5318
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpSbGetReply) -> void } -> void
|
|
4799
5319
|
def dump_sb_get(**args, &block)
|
|
4800
5320
|
exchange_message(:"dump", Messages::DumpSbGetRequest, Messages::DumpSbGetReply, args, &block)
|
|
4801
5321
|
end
|
|
4802
5322
|
# Get shared buffer pool instances.
|
|
4803
5323
|
#--
|
|
4804
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer, ?sb_pool_index: ::Integer) -> Messages::DoSbPoolGetReply
|
|
5324
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer, ?sb_pool_index: ::Integer, ?index: ::Integer) -> Messages::DoSbPoolGetReply
|
|
4805
5325
|
def do_sb_pool_get(**args)
|
|
4806
5326
|
exchange_message(:"do", Messages::DoSbPoolGetRequest, Messages::DoSbPoolGetReply, args)
|
|
4807
5327
|
end
|
|
4808
5328
|
# Get shared buffer pool instances.
|
|
4809
5329
|
#--
|
|
4810
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpSbPoolGetReply]
|
|
4811
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpSbPoolGetReply) -> void } -> void
|
|
5330
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpSbPoolGetReply]
|
|
5331
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpSbPoolGetReply) -> void } -> void
|
|
4812
5332
|
def dump_sb_pool_get(**args, &block)
|
|
4813
5333
|
exchange_message(:"dump", Messages::DumpSbPoolGetRequest, Messages::DumpSbPoolGetReply, args, &block)
|
|
4814
5334
|
end
|
|
4815
5335
|
# Set shared buffer pool instances.
|
|
4816
5336
|
#--
|
|
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
|
|
5337
|
+
# @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
5338
|
def do_sb_pool_set(**args)
|
|
4819
5339
|
exchange_message(:"do", Messages::DoSbPoolSetRequest, nil, args)
|
|
4820
5340
|
end
|
|
4821
5341
|
# Get shared buffer port-pool combinations and threshold.
|
|
4822
5342
|
#--
|
|
4823
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?sb_index: ::Integer, ?sb_pool_index: ::Integer) -> Messages::DoSbPortPoolGetReply
|
|
5343
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?sb_index: ::Integer, ?sb_pool_index: ::Integer, ?index: ::Integer) -> Messages::DoSbPortPoolGetReply
|
|
4824
5344
|
def do_sb_port_pool_get(**args)
|
|
4825
5345
|
exchange_message(:"do", Messages::DoSbPortPoolGetRequest, Messages::DoSbPortPoolGetReply, args)
|
|
4826
5346
|
end
|
|
4827
5347
|
# Get shared buffer port-pool combinations and threshold.
|
|
4828
5348
|
#--
|
|
4829
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpSbPortPoolGetReply]
|
|
4830
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpSbPortPoolGetReply) -> void } -> void
|
|
5349
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpSbPortPoolGetReply]
|
|
5350
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpSbPortPoolGetReply) -> void } -> void
|
|
4831
5351
|
def dump_sb_port_pool_get(**args, &block)
|
|
4832
5352
|
exchange_message(:"dump", Messages::DumpSbPortPoolGetRequest, Messages::DumpSbPortPoolGetReply, args, &block)
|
|
4833
5353
|
end
|
|
4834
5354
|
# Set shared buffer port-pool combinations and threshold.
|
|
4835
5355
|
#--
|
|
4836
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?sb_index: ::Integer, ?sb_pool_index: ::Integer, ?sb_threshold: ::Integer) -> void
|
|
5356
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?sb_index: ::Integer, ?sb_pool_index: ::Integer, ?sb_threshold: ::Integer, ?index: ::Integer) -> void
|
|
4837
5357
|
def do_sb_port_pool_set(**args)
|
|
4838
5358
|
exchange_message(:"do", Messages::DoSbPortPoolSetRequest, nil, args)
|
|
4839
5359
|
end
|
|
4840
5360
|
# Get shared buffer port-TC to pool bindings and threshold.
|
|
4841
5361
|
#--
|
|
4842
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?sb_index: ::Integer, ?sb_pool_type: ::Integer, ?sb_tc_index: ::Integer) -> Messages::DoSbTcPoolBindGetReply
|
|
5362
|
+
# @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
5363
|
def do_sb_tc_pool_bind_get(**args)
|
|
4844
5364
|
exchange_message(:"do", Messages::DoSbTcPoolBindGetRequest, Messages::DoSbTcPoolBindGetReply, args)
|
|
4845
5365
|
end
|
|
4846
5366
|
# Get shared buffer port-TC to pool bindings and threshold.
|
|
4847
5367
|
#--
|
|
4848
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpSbTcPoolBindGetReply]
|
|
4849
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpSbTcPoolBindGetReply) -> void } -> void
|
|
5368
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpSbTcPoolBindGetReply]
|
|
5369
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpSbTcPoolBindGetReply) -> void } -> void
|
|
4850
5370
|
def dump_sb_tc_pool_bind_get(**args, &block)
|
|
4851
5371
|
exchange_message(:"dump", Messages::DumpSbTcPoolBindGetRequest, Messages::DumpSbTcPoolBindGetReply, args, &block)
|
|
4852
5372
|
end
|
|
4853
5373
|
# Set shared buffer port-TC to pool bindings and threshold.
|
|
4854
5374
|
#--
|
|
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
|
|
5375
|
+
# @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
5376
|
def do_sb_tc_pool_bind_set(**args)
|
|
4857
5377
|
exchange_message(:"do", Messages::DoSbTcPoolBindSetRequest, nil, args)
|
|
4858
5378
|
end
|
|
4859
5379
|
# Take occupancy snapshot of shared buffer.
|
|
4860
5380
|
#--
|
|
4861
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer) -> void
|
|
5381
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer, ?index: ::Integer) -> void
|
|
4862
5382
|
def do_sb_occ_snapshot(**args)
|
|
4863
5383
|
exchange_message(:"do", Messages::DoSbOccSnapshotRequest, nil, args)
|
|
4864
5384
|
end
|
|
4865
5385
|
# Clear occupancy watermarks of shared buffer.
|
|
4866
5386
|
#--
|
|
4867
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer) -> void
|
|
5387
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?sb_index: ::Integer, ?index: ::Integer) -> void
|
|
4868
5388
|
def do_sb_occ_max_clear(**args)
|
|
4869
5389
|
exchange_message(:"do", Messages::DoSbOccMaxClearRequest, nil, args)
|
|
4870
5390
|
end
|
|
4871
5391
|
# Get eswitch attributes.
|
|
4872
5392
|
#--
|
|
4873
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Messages::DoEswitchGetReply
|
|
5393
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Messages::DoEswitchGetReply
|
|
4874
5394
|
def do_eswitch_get(**args)
|
|
4875
5395
|
exchange_message(:"do", Messages::DoEswitchGetRequest, Messages::DoEswitchGetReply, args)
|
|
4876
5396
|
end
|
|
4877
5397
|
# Set eswitch attributes.
|
|
4878
5398
|
#--
|
|
4879
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?eswitch_mode: ::Integer, ?eswitch_inline_mode: ::Integer, ?eswitch_encap_mode: ::Integer) -> void
|
|
5399
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?eswitch_mode: ::Integer, ?eswitch_inline_mode: ::Integer, ?eswitch_encap_mode: ::Integer, ?index: ::Integer) -> void
|
|
4880
5400
|
def do_eswitch_set(**args)
|
|
4881
5401
|
exchange_message(:"do", Messages::DoEswitchSetRequest, nil, args)
|
|
4882
5402
|
end
|
|
4883
5403
|
# Get dpipe table attributes.
|
|
4884
5404
|
#--
|
|
4885
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?dpipe_table_name: ::String) -> Messages::DoDpipeTableGetReply
|
|
5405
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?dpipe_table_name: ::String, ?index: ::Integer) -> Messages::DoDpipeTableGetReply
|
|
4886
5406
|
def do_dpipe_table_get(**args)
|
|
4887
5407
|
exchange_message(:"do", Messages::DoDpipeTableGetRequest, Messages::DoDpipeTableGetReply, args)
|
|
4888
5408
|
end
|
|
4889
5409
|
# Get dpipe entries attributes.
|
|
4890
5410
|
#--
|
|
4891
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?dpipe_table_name: ::String) -> Messages::DoDpipeEntriesGetReply
|
|
5411
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?dpipe_table_name: ::String, ?index: ::Integer) -> Messages::DoDpipeEntriesGetReply
|
|
4892
5412
|
def do_dpipe_entries_get(**args)
|
|
4893
5413
|
exchange_message(:"do", Messages::DoDpipeEntriesGetRequest, Messages::DoDpipeEntriesGetReply, args)
|
|
4894
5414
|
end
|
|
4895
5415
|
# Get dpipe headers attributes.
|
|
4896
5416
|
#--
|
|
4897
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Messages::DoDpipeHeadersGetReply
|
|
5417
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Messages::DoDpipeHeadersGetReply
|
|
4898
5418
|
def do_dpipe_headers_get(**args)
|
|
4899
5419
|
exchange_message(:"do", Messages::DoDpipeHeadersGetRequest, Messages::DoDpipeHeadersGetReply, args)
|
|
4900
5420
|
end
|
|
4901
5421
|
# Set dpipe counter attributes.
|
|
4902
5422
|
#--
|
|
4903
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?dpipe_table_name: ::String, ?dpipe_table_counters_enabled: ::Integer) -> void
|
|
5423
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?dpipe_table_name: ::String, ?dpipe_table_counters_enabled: ::Integer, ?index: ::Integer) -> void
|
|
4904
5424
|
def do_dpipe_table_counters_set(**args)
|
|
4905
5425
|
exchange_message(:"do", Messages::DoDpipeTableCountersSetRequest, nil, args)
|
|
4906
5426
|
end
|
|
4907
5427
|
# Set resource attributes.
|
|
4908
5428
|
#--
|
|
4909
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?resource_id: ::Integer, ?resource_size: ::Integer) -> void
|
|
5429
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?resource_id: ::Integer, ?resource_size: ::Integer, ?index: ::Integer) -> void
|
|
4910
5430
|
def do_resource_set(**args)
|
|
4911
5431
|
exchange_message(:"do", Messages::DoResourceSetRequest, nil, args)
|
|
4912
5432
|
end
|
|
4913
5433
|
# Get resource attributes.
|
|
4914
5434
|
#--
|
|
4915
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Messages::DoResourceDumpReply
|
|
5435
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> Messages::DoResourceDumpReply
|
|
4916
5436
|
def do_resource_dump(**args)
|
|
4917
5437
|
exchange_message(:"do", Messages::DoResourceDumpRequest, Messages::DoResourceDumpReply, args)
|
|
4918
5438
|
end
|
|
5439
|
+
# Get resource attributes.
|
|
5440
|
+
#--
|
|
5441
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer, ?resource_scope_mask: ::Integer) -> Enumerable[Messages::DumpResourceDumpReply]
|
|
5442
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer, ?resource_scope_mask: ::Integer) { (Messages::DumpResourceDumpReply) -> void } -> void
|
|
5443
|
+
def dump_resource_dump(**args, &block)
|
|
5444
|
+
exchange_message(:"dump", Messages::DumpResourceDumpRequest, Messages::DumpResourceDumpReply, args, &block)
|
|
5445
|
+
end
|
|
4919
5446
|
# Reload devlink.
|
|
4920
5447
|
#--
|
|
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
|
|
5448
|
+
# @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
5449
|
def do_reload(**args)
|
|
4923
5450
|
exchange_message(:"do", Messages::DoReloadRequest, Messages::DoReloadReply, args)
|
|
4924
5451
|
end
|
|
4925
5452
|
# Get param instances.
|
|
4926
5453
|
#--
|
|
4927
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?param_name: ::String) -> Messages::DoParamGetReply
|
|
5454
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?param_name: ::String, ?index: ::Integer) -> Messages::DoParamGetReply
|
|
4928
5455
|
def do_param_get(**args)
|
|
4929
5456
|
exchange_message(:"do", Messages::DoParamGetRequest, Messages::DoParamGetReply, args)
|
|
4930
5457
|
end
|
|
4931
5458
|
# Get param instances.
|
|
4932
5459
|
#--
|
|
4933
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpParamGetReply]
|
|
4934
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpParamGetReply) -> void } -> void
|
|
5460
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpParamGetReply]
|
|
5461
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpParamGetReply) -> void } -> void
|
|
4935
5462
|
def dump_param_get(**args, &block)
|
|
4936
5463
|
exchange_message(:"dump", Messages::DumpParamGetRequest, Messages::DumpParamGetReply, args, &block)
|
|
4937
5464
|
end
|
|
4938
5465
|
# Set param instances.
|
|
4939
5466
|
#--
|
|
4940
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?param_name: ::String, ?param_type: ::Integer, ?param_value_cmode: ::Integer, ?param_reset_default: ::Integer) -> void
|
|
5467
|
+
# @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
5468
|
def do_param_set(**args)
|
|
4942
5469
|
exchange_message(:"do", Messages::DoParamSetRequest, nil, args)
|
|
4943
5470
|
end
|
|
4944
5471
|
# Get region instances.
|
|
4945
5472
|
#--
|
|
4946
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?region_name: ::String) -> Messages::DoRegionGetReply
|
|
5473
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?region_name: ::String, ?index: ::Integer) -> Messages::DoRegionGetReply
|
|
4947
5474
|
def do_region_get(**args)
|
|
4948
5475
|
exchange_message(:"do", Messages::DoRegionGetRequest, Messages::DoRegionGetReply, args)
|
|
4949
5476
|
end
|
|
4950
5477
|
# Get region instances.
|
|
4951
5478
|
#--
|
|
4952
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpRegionGetReply]
|
|
4953
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpRegionGetReply) -> void } -> void
|
|
5479
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpRegionGetReply]
|
|
5480
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpRegionGetReply) -> void } -> void
|
|
4954
5481
|
def dump_region_get(**args, &block)
|
|
4955
5482
|
exchange_message(:"dump", Messages::DumpRegionGetRequest, Messages::DumpRegionGetReply, args, &block)
|
|
4956
5483
|
end
|
|
4957
5484
|
# Create region snapshot.
|
|
4958
5485
|
#--
|
|
4959
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?region_name: ::String, ?region_snapshot_id: ::Integer) -> Messages::DoRegionNewReply
|
|
5486
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?region_name: ::String, ?region_snapshot_id: ::Integer, ?index: ::Integer) -> Messages::DoRegionNewReply
|
|
4960
5487
|
def do_region_new(**args)
|
|
4961
5488
|
exchange_message(:"do", Messages::DoRegionNewRequest, Messages::DoRegionNewReply, args)
|
|
4962
5489
|
end
|
|
4963
5490
|
# Delete region snapshot.
|
|
4964
5491
|
#--
|
|
4965
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?region_name: ::String, ?region_snapshot_id: ::Integer) -> void
|
|
5492
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?region_name: ::String, ?region_snapshot_id: ::Integer, ?index: ::Integer) -> void
|
|
4966
5493
|
def do_region_del(**args)
|
|
4967
5494
|
exchange_message(:"do", Messages::DoRegionDelRequest, nil, args)
|
|
4968
5495
|
end
|
|
4969
5496
|
# Read region data.
|
|
4970
5497
|
#--
|
|
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
|
|
5498
|
+
# @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]
|
|
5499
|
+
# | (?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
5500
|
def dump_region_read(**args, &block)
|
|
4974
5501
|
exchange_message(:"dump", Messages::DumpRegionReadRequest, Messages::DumpRegionReadReply, args, &block)
|
|
4975
5502
|
end
|
|
4976
5503
|
# Get port param instances.
|
|
4977
5504
|
#--
|
|
4978
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer) -> Messages::DoPortParamGetReply
|
|
5505
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> Messages::DoPortParamGetReply
|
|
4979
5506
|
def do_port_param_get(**args)
|
|
4980
5507
|
exchange_message(:"do", Messages::DoPortParamGetRequest, Messages::DoPortParamGetReply, args)
|
|
4981
5508
|
end
|
|
4982
5509
|
# Set port param instances.
|
|
4983
5510
|
#--
|
|
4984
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer) -> void
|
|
5511
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> void
|
|
4985
5512
|
def do_port_param_set(**args)
|
|
4986
5513
|
exchange_message(:"do", Messages::DoPortParamSetRequest, nil, args)
|
|
4987
5514
|
end
|
|
4988
5515
|
# Get device information, like driver name, hardware and firmware versions
|
|
4989
5516
|
# etc.
|
|
4990
5517
|
#--
|
|
4991
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Messages::DoInfoGetReply
|
|
5518
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Messages::DoInfoGetReply
|
|
4992
5519
|
def do_info_get(**args)
|
|
4993
5520
|
exchange_message(:"do", Messages::DoInfoGetRequest, Messages::DoInfoGetReply, args)
|
|
4994
5521
|
end
|
|
4995
5522
|
# Get health reporter instances.
|
|
4996
5523
|
#--
|
|
4997
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String) -> Messages::DoHealthReporterGetReply
|
|
5524
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?index: ::Integer) -> Messages::DoHealthReporterGetReply
|
|
4998
5525
|
def do_health_reporter_get(**args)
|
|
4999
5526
|
exchange_message(:"do", Messages::DoHealthReporterGetRequest, Messages::DoHealthReporterGetReply, args)
|
|
5000
5527
|
end
|
|
5001
5528
|
# Get health reporter instances.
|
|
5002
5529
|
#--
|
|
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
|
|
5530
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> Enumerable[Messages::DumpHealthReporterGetReply]
|
|
5531
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) { (Messages::DumpHealthReporterGetReply) -> void } -> void
|
|
5005
5532
|
def dump_health_reporter_get(**args, &block)
|
|
5006
5533
|
exchange_message(:"dump", Messages::DumpHealthReporterGetRequest, Messages::DumpHealthReporterGetReply, args, &block)
|
|
5007
5534
|
end
|
|
5008
5535
|
# Set health reporter instances.
|
|
5009
5536
|
#--
|
|
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
|
|
5537
|
+
# @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
5538
|
def do_health_reporter_set(**args)
|
|
5012
5539
|
exchange_message(:"do", Messages::DoHealthReporterSetRequest, nil, args)
|
|
5013
5540
|
end
|
|
5014
5541
|
# Recover health reporter instances.
|
|
5015
5542
|
#--
|
|
5016
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String) -> void
|
|
5543
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?index: ::Integer) -> void
|
|
5017
5544
|
def do_health_reporter_recover(**args)
|
|
5018
5545
|
exchange_message(:"do", Messages::DoHealthReporterRecoverRequest, nil, args)
|
|
5019
5546
|
end
|
|
5020
5547
|
# Diagnose health reporter instances.
|
|
5021
5548
|
#--
|
|
5022
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String) -> void
|
|
5549
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?index: ::Integer) -> void
|
|
5023
5550
|
def do_health_reporter_diagnose(**args)
|
|
5024
5551
|
exchange_message(:"do", Messages::DoHealthReporterDiagnoseRequest, nil, args)
|
|
5025
5552
|
end
|
|
5026
5553
|
# Dump health reporter instances.
|
|
5027
5554
|
#--
|
|
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
|
|
5555
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpHealthReporterDumpGetReply]
|
|
5556
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?index: ::Integer) { (Messages::DumpHealthReporterDumpGetReply) -> void } -> void
|
|
5030
5557
|
def dump_health_reporter_dump_get(**args, &block)
|
|
5031
5558
|
exchange_message(:"dump", Messages::DumpHealthReporterDumpGetRequest, Messages::DumpHealthReporterDumpGetReply, args, &block)
|
|
5032
5559
|
end
|
|
5033
5560
|
# Clear dump of health reporter instances.
|
|
5034
5561
|
#--
|
|
5035
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String) -> void
|
|
5562
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?index: ::Integer) -> void
|
|
5036
5563
|
def do_health_reporter_dump_clear(**args)
|
|
5037
5564
|
exchange_message(:"do", Messages::DoHealthReporterDumpClearRequest, nil, args)
|
|
5038
5565
|
end
|
|
5039
5566
|
# Flash update devlink instances.
|
|
5040
5567
|
#--
|
|
5041
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?flash_update_file_name: ::String, ?flash_update_component: ::String, ?flash_update_overwrite_mask: ::Integer) -> void
|
|
5568
|
+
# @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
5569
|
def do_flash_update(**args)
|
|
5043
5570
|
exchange_message(:"do", Messages::DoFlashUpdateRequest, nil, args)
|
|
5044
5571
|
end
|
|
5045
5572
|
# Get trap instances.
|
|
5046
5573
|
#--
|
|
5047
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_name: ::String) -> Messages::DoTrapGetReply
|
|
5574
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_name: ::String, ?index: ::Integer) -> Messages::DoTrapGetReply
|
|
5048
5575
|
def do_trap_get(**args)
|
|
5049
5576
|
exchange_message(:"do", Messages::DoTrapGetRequest, Messages::DoTrapGetReply, args)
|
|
5050
5577
|
end
|
|
5051
5578
|
# Get trap instances.
|
|
5052
5579
|
#--
|
|
5053
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpTrapGetReply]
|
|
5054
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpTrapGetReply) -> void } -> void
|
|
5580
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpTrapGetReply]
|
|
5581
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpTrapGetReply) -> void } -> void
|
|
5055
5582
|
def dump_trap_get(**args, &block)
|
|
5056
5583
|
exchange_message(:"dump", Messages::DumpTrapGetRequest, Messages::DumpTrapGetReply, args, &block)
|
|
5057
5584
|
end
|
|
5058
5585
|
# Set trap instances.
|
|
5059
5586
|
#--
|
|
5060
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_name: ::String, ?trap_action: ::Integer) -> void
|
|
5587
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_name: ::String, ?trap_action: ::Integer, ?index: ::Integer) -> void
|
|
5061
5588
|
def do_trap_set(**args)
|
|
5062
5589
|
exchange_message(:"do", Messages::DoTrapSetRequest, nil, args)
|
|
5063
5590
|
end
|
|
5064
5591
|
# Get trap group instances.
|
|
5065
5592
|
#--
|
|
5066
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_group_name: ::String) -> Messages::DoTrapGroupGetReply
|
|
5593
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_group_name: ::String, ?index: ::Integer) -> Messages::DoTrapGroupGetReply
|
|
5067
5594
|
def do_trap_group_get(**args)
|
|
5068
5595
|
exchange_message(:"do", Messages::DoTrapGroupGetRequest, Messages::DoTrapGroupGetReply, args)
|
|
5069
5596
|
end
|
|
5070
5597
|
# Get trap group instances.
|
|
5071
5598
|
#--
|
|
5072
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpTrapGroupGetReply]
|
|
5073
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpTrapGroupGetReply) -> void } -> void
|
|
5599
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpTrapGroupGetReply]
|
|
5600
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpTrapGroupGetReply) -> void } -> void
|
|
5074
5601
|
def dump_trap_group_get(**args, &block)
|
|
5075
5602
|
exchange_message(:"dump", Messages::DumpTrapGroupGetRequest, Messages::DumpTrapGroupGetReply, args, &block)
|
|
5076
5603
|
end
|
|
5077
5604
|
# Set trap group instances.
|
|
5078
5605
|
#--
|
|
5079
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_action: ::Integer, ?trap_group_name: ::String, ?trap_policer_id: ::Integer) -> void
|
|
5606
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_action: ::Integer, ?trap_group_name: ::String, ?trap_policer_id: ::Integer, ?index: ::Integer) -> void
|
|
5080
5607
|
def do_trap_group_set(**args)
|
|
5081
5608
|
exchange_message(:"do", Messages::DoTrapGroupSetRequest, nil, args)
|
|
5082
5609
|
end
|
|
5083
5610
|
# Get trap policer instances.
|
|
5084
5611
|
#--
|
|
5085
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_policer_id: ::Integer) -> Messages::DoTrapPolicerGetReply
|
|
5612
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_policer_id: ::Integer, ?index: ::Integer) -> Messages::DoTrapPolicerGetReply
|
|
5086
5613
|
def do_trap_policer_get(**args)
|
|
5087
5614
|
exchange_message(:"do", Messages::DoTrapPolicerGetRequest, Messages::DoTrapPolicerGetReply, args)
|
|
5088
5615
|
end
|
|
5089
5616
|
# Get trap policer instances.
|
|
5090
5617
|
#--
|
|
5091
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpTrapPolicerGetReply]
|
|
5092
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpTrapPolicerGetReply) -> void } -> void
|
|
5618
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpTrapPolicerGetReply]
|
|
5619
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpTrapPolicerGetReply) -> void } -> void
|
|
5093
5620
|
def dump_trap_policer_get(**args, &block)
|
|
5094
5621
|
exchange_message(:"dump", Messages::DumpTrapPolicerGetRequest, Messages::DumpTrapPolicerGetReply, args, &block)
|
|
5095
5622
|
end
|
|
5096
5623
|
# Get trap policer instances.
|
|
5097
5624
|
#--
|
|
5098
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_policer_id: ::Integer, ?trap_policer_rate: ::Integer, ?trap_policer_burst: ::Integer) -> void
|
|
5625
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?trap_policer_id: ::Integer, ?trap_policer_rate: ::Integer, ?trap_policer_burst: ::Integer, ?index: ::Integer) -> void
|
|
5099
5626
|
def do_trap_policer_set(**args)
|
|
5100
5627
|
exchange_message(:"do", Messages::DoTrapPolicerSetRequest, nil, args)
|
|
5101
5628
|
end
|
|
5102
5629
|
# Test health reporter instances.
|
|
5103
5630
|
#--
|
|
5104
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String) -> void
|
|
5631
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?health_reporter_name: ::String, ?index: ::Integer) -> void
|
|
5105
5632
|
def do_health_reporter_test(**args)
|
|
5106
5633
|
exchange_message(:"do", Messages::DoHealthReporterTestRequest, nil, args)
|
|
5107
5634
|
end
|
|
5108
5635
|
# Get rate instances.
|
|
5109
5636
|
#--
|
|
5110
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?rate_node_name: ::String) -> Messages::DoRateGetReply
|
|
5637
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?rate_node_name: ::String, ?index: ::Integer) -> Messages::DoRateGetReply
|
|
5111
5638
|
def do_rate_get(**args)
|
|
5112
5639
|
exchange_message(:"do", Messages::DoRateGetRequest, Messages::DoRateGetReply, args)
|
|
5113
5640
|
end
|
|
5114
5641
|
# Get rate instances.
|
|
5115
5642
|
#--
|
|
5116
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpRateGetReply]
|
|
5117
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpRateGetReply) -> void } -> void
|
|
5643
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpRateGetReply]
|
|
5644
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpRateGetReply) -> void } -> void
|
|
5118
5645
|
def dump_rate_get(**args, &block)
|
|
5119
5646
|
exchange_message(:"dump", Messages::DumpRateGetRequest, Messages::DumpRateGetReply, args, &block)
|
|
5120
5647
|
end
|
|
5121
5648
|
# Set rate instances.
|
|
5122
5649
|
#--
|
|
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
|
|
5650
|
+
# @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
5651
|
def do_rate_set(**args)
|
|
5125
5652
|
exchange_message(:"do", Messages::DoRateSetRequest, nil, args)
|
|
5126
5653
|
end
|
|
5127
5654
|
# Create rate instances.
|
|
5128
5655
|
#--
|
|
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
|
|
5656
|
+
# @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
5657
|
def do_rate_new(**args)
|
|
5131
5658
|
exchange_message(:"do", Messages::DoRateNewRequest, nil, args)
|
|
5132
5659
|
end
|
|
5133
5660
|
# Delete rate instances.
|
|
5134
5661
|
#--
|
|
5135
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?rate_node_name: ::String) -> void
|
|
5662
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?rate_node_name: ::String, ?index: ::Integer) -> void
|
|
5136
5663
|
def do_rate_del(**args)
|
|
5137
5664
|
exchange_message(:"do", Messages::DoRateDelRequest, nil, args)
|
|
5138
5665
|
end
|
|
5139
5666
|
# Get line card instances.
|
|
5140
5667
|
#--
|
|
5141
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?linecard_index: ::Integer) -> Messages::DoLinecardGetReply
|
|
5668
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?linecard_index: ::Integer, ?index: ::Integer) -> Messages::DoLinecardGetReply
|
|
5142
5669
|
def do_linecard_get(**args)
|
|
5143
5670
|
exchange_message(:"do", Messages::DoLinecardGetRequest, Messages::DoLinecardGetReply, args)
|
|
5144
5671
|
end
|
|
5145
5672
|
# Get line card instances.
|
|
5146
5673
|
#--
|
|
5147
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Enumerable[Messages::DumpLinecardGetReply]
|
|
5148
|
-
# | (?bus_name: ::String, ?dev_name: ::String) { (Messages::DumpLinecardGetReply) -> void } -> void
|
|
5674
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Enumerable[Messages::DumpLinecardGetReply]
|
|
5675
|
+
# | (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) { (Messages::DumpLinecardGetReply) -> void } -> void
|
|
5149
5676
|
def dump_linecard_get(**args, &block)
|
|
5150
5677
|
exchange_message(:"dump", Messages::DumpLinecardGetRequest, Messages::DumpLinecardGetReply, args, &block)
|
|
5151
5678
|
end
|
|
5152
5679
|
# Set line card instances.
|
|
5153
5680
|
#--
|
|
5154
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?linecard_index: ::Integer, ?linecard_type: ::String) -> void
|
|
5681
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?linecard_index: ::Integer, ?linecard_type: ::String, ?index: ::Integer) -> void
|
|
5155
5682
|
def do_linecard_set(**args)
|
|
5156
5683
|
exchange_message(:"do", Messages::DoLinecardSetRequest, nil, args)
|
|
5157
5684
|
end
|
|
5158
5685
|
# Get device selftest instances.
|
|
5159
5686
|
#--
|
|
5160
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String) -> Messages::DoSelftestsGetReply
|
|
5687
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?index: ::Integer) -> Messages::DoSelftestsGetReply
|
|
5161
5688
|
def do_selftests_get(**args)
|
|
5162
5689
|
exchange_message(:"do", Messages::DoSelftestsGetRequest, Messages::DoSelftestsGetReply, args)
|
|
5163
5690
|
end
|
|
5164
5691
|
# Run device selftest instances.
|
|
5165
5692
|
#--
|
|
5166
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?selftests: AttributeSets::DlSelftestId) -> void
|
|
5693
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?selftests: AttributeSets::DlSelftestId, ?index: ::Integer) -> void
|
|
5167
5694
|
def do_selftests_run(**args)
|
|
5168
5695
|
exchange_message(:"do", Messages::DoSelftestsRunRequest, nil, args)
|
|
5169
5696
|
end
|
|
5170
5697
|
# Set notification messages socket filter.
|
|
5171
5698
|
#--
|
|
5172
|
-
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer) -> void
|
|
5699
|
+
# @rbs (?bus_name: ::String, ?dev_name: ::String, ?port_index: ::Integer, ?index: ::Integer) -> void
|
|
5173
5700
|
def do_notify_filter_set(**args)
|
|
5174
5701
|
exchange_message(:"do", Messages::DoNotifyFilterSetRequest, nil, args)
|
|
5175
5702
|
end
|