€•=Œsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ5/translations/zh_CN/networking/devlink/devlink-reload”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/zh_TW/networking/devlink/devlink-reload”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/it_IT/networking/devlink/devlink-reload”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/ja_JP/networking/devlink/devlink-reload”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/ko_KR/networking/devlink/devlink-reload”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/sp_SP/networking/devlink/devlink-reload”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)”}”(hŒ SPDX-License-Identifier: GPL-2.0”h]”hŒ SPDX-License-Identifier: GPL-2.0”…””}”hh£sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1h¡hhhžhhŸŒO/var/lib/git/docbuild/linux/Documentation/networking/devlink/devlink-reload.rst”h KubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒDevlink Reload”h]”hŒDevlink Reload”…””}”(hh»hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hh¶hžhhŸh³h KubhŒ paragraph”“”)”}”(hŒ³``devlink-reload`` provides mechanism to reinit driver entities, applying ``devlink-params`` and ``devlink-resources`` new values. It also provides mechanism to activate firmware.”h]”(hŒliteral”“”)”}”(hŒ``devlink-reload``”h]”hŒdevlink-reload”…””}”(hhÑhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÏhhËubhŒ8 provides mechanism to reinit driver entities, applying ”…””}”(hhËhžhhŸNh NubhÐ)”}”(hŒ``devlink-params``”h]”hŒdevlink-params”…””}”(hhãhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÏhhËubhŒ and ”…””}”(hhËhžhhŸNh NubhÐ)”}”(hŒ``devlink-resources``”h]”hŒdevlink-resources”…””}”(hhõhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÏhhËubhŒ= new values. It also provides mechanism to activate firmware.”…””}”(hhËhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khh¶hžhubhµ)”}”(hhh]”(hº)”}”(hŒReload Actions”h]”hŒReload Actions”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hj hžhhŸh³h K ubhÊ)”}”(hŒQUser may select a reload action. By default ``driver_reinit`` action is selected.”h]”(hŒ,User may select a reload action. By default ”…””}”(hjhžhhŸNh NubhÐ)”}”(hŒ``driver_reinit``”h]”hŒ driver_reinit”…””}”(hj&hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÏhjubhŒ action is selected.”…””}”(hjhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khj hžhubhŒtable”“”)”}”(hhh]”(hº)”}”(hŒPossible reload actions”h]”hŒPossible reload actions”…””}”(hjChžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hŸh³h Khj@ubhŒtgroup”“”)”}”(hhh]”(hŒcolspec”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jVhjSubjW)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”jaKZuh1jVhjSubhŒtbody”“”)”}”(hhh]”(hŒrow”“”)”}”(hhh]”(hŒentry”“”)”}”(hhh]”hÊ)”}”(hŒName”h]”hŒName”…””}”(hjzhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khjwubah}”(h]”h ]”h"]”h$]”h&]”uh1juhjrubjv)”}”(hhh]”hÊ)”}”(hŒ Description”h]”hŒ Description”…””}”(hj‘hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h KhjŽubah}”(h]”h ]”h"]”h$]”h&]”uh1juhjrubeh}”(h]”h ]”h"]”h$]”h&]”uh1jphjmubjq)”}”(hhh]”(jv)”}”(hhh]”hÊ)”}”(hŒ``driver-reinit``”h]”hÐ)”}”(hj³h]”hŒ driver-reinit”…””}”(hjµhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÏhj±ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khj®ubah}”(h]”h ]”h"]”h$]”h&]”uh1juhj«ubjv)”}”(hhh]”(hÊ)”}”(hŒ‰Devlink driver entities re-initialization, including applying new values to devlink entities which are used during driver load which are:”h]”hŒ‰Devlink driver entities re-initialization, including applying new values to devlink entities which are used during driver load which are:”…””}”(hjÑhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h KhjÎubhŒ bullet_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒ7``devlink-params`` in configuration mode ``driverinit``”h]”hÊ)”}”(hjèh]”(hÐ)”}”(hŒ``devlink-params``”h]”hŒdevlink-params”…””}”(hjíhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÏhjêubhŒ in configuration mode ”…””}”(hjêhžhhŸNh NubhÐ)”}”(hŒ``driverinit``”h]”hŒ driverinit”…””}”(hjÿhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÏhjêubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khjæubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjáubjå)”}”(hŒ``devlink-resources`` ”h]”hÊ)”}”(hŒ``devlink-resources``”h]”hÐ)”}”(hjh]”hŒdevlink-resources”…””}”(hj!hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÏhjubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjáubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ*”uh1jßhŸh³h KhjÎubhÊ)”}”(hŒ;Other devlink entities may stay over the re-initialization:”h]”hŒ;Other devlink entities may stay over the re-initialization:”…””}”(hjBhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h KhjÎubjà)”}”(hhh]”(jå)”}”(hŒ``devlink-health-reporter``”h]”hÊ)”}”(hjUh]”hÐ)”}”(hjUh]”hŒdevlink-health-reporter”…””}”(hjZhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÏhjWubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K hjSubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjPubjå)”}”(hŒ``devlink-region`` ”h]”hÊ)”}”(hŒ``devlink-region``”h]”hÐ)”}”(hjyh]”hŒdevlink-region”…””}”(hj{hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÏhjwubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K!hjsubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjPubeh}”(h]”h ]”h"]”h$]”h&]”j@jAuh1jßhŸh³h K hjÎubhÊ)”}”(hŒ@The rest of the devlink entities have to be removed and readded.”h]”hŒ@The rest of the devlink entities have to be removed and readded.”…””}”(hjšhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K#hjÎubeh}”(h]”h ]”h"]”h$]”h&]”uh1juhj«ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jphjmubjq)”}”(hhh]”(jv)”}”(hhh]”hÊ)”}”(hŒ``fw_activate``”h]”hÐ)”}”(hj¼h]”hŒ fw_activate”…””}”(hj¾hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÏhjºubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K$hj·ubah}”(h]”h ]”h"]”h$]”h&]”uh1juhj´ubjv)”}”(hhh]”hÊ)”}”(hŒäFirmware activate. Activates new firmware if such image is stored and pending activation. If no limitation specified this action may involve firmware reset. If no new image pending this action will reload current firmware image.”h]”hŒäFirmware activate. Activates new firmware if such image is stored and pending activation. If no limitation specified this action may involve firmware reset. If no new image pending this action will reload current firmware image.”…””}”(hjÚhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K%hj×ubah}”(h]”h ]”h"]”h$]”h&]”uh1juhj´ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jphjmubeh}”(h]”h ]”h"]”h$]”h&]”uh1jkhjSubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jQhj@ubeh}”(h]”Œid1”ah ]”Œcolwidths-given”ah"]”h$]”h&]”uh1j>hj hžhhŸNh NubhÊ)”}”(hXTNote that even though user asks for a specific action, the driver implementation might require to perform another action alongside with it. For example, some driver do not support driver reinitialization being performed without fw activation. Therefore, the devlink reload command returns the list of actions which were actrually performed.”h]”hXTNote that even though user asks for a specific action, the driver implementation might require to perform another action alongside with it. For example, some driver do not support driver reinitialization being performed without fw activation. Therefore, the devlink reload command returns the list of actions which were actrually performed.”…””}”(hj hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K*hj hžhubeh}”(h]”Œreload-actions”ah ]”h"]”Œreload actions”ah$]”h&]”uh1h´hh¶hžhhŸh³h K ubhµ)”}”(hhh]”(hº)”}”(hŒ Reload Limits”h]”hŒ Reload Limits”…””}”(hj"hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hjhžhhŸh³h K1ubhÊ)”}”(hŒƒBy default reload actions are not limited and driver implementation may include reset or downtime as needed to perform the actions.”h]”hŒƒBy default reload actions are not limited and driver implementation may include reset or downtime as needed to perform the actions.”…””}”(hj0hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K3hjhžhubhÊ)”}”(hŒkHowever, some drivers support action limits, which limit the action implementation to specific constraints.”h]”hŒkHowever, some drivers support action limits, which limit the action implementation to specific constraints.”…””}”(hj>hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K6hjhžhubj?)”}”(hhh]”(hº)”}”(hŒPossible reload limits”h]”hŒPossible reload limits”…””}”(hjOhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hŸh³h K9hjLubjR)”}”(hhh]”(jW)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”jaKuh1jVhj]ubjW)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”jaKZuh1jVhj]ubjl)”}”(hhh]”(jq)”}”(hhh]”(jv)”}”(hhh]”hÊ)”}”(hŒName”h]”hŒName”…””}”(hj{hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khj¯ubah}”(h]”h ]”h"]”h$]”h&]”uh1juhj¬ubjv)”}”(hhh]”hÊ)”}”(hŒRNo reset allowed, no down time allowed, no link flap and no configuration is lost.”h]”hŒRNo reset allowed, no down time allowed, no link flap and no configuration is lost.”…””}”(hjÒhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K?hjÏubah}”(h]”h ]”h"]”h$]”h&]”uh1juhj¬ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jphjrubeh}”(h]”h ]”h"]”h$]”h&]”uh1jkhj]ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jQhjLubeh}”(h]”Œid2”ah ]”jah"]”h$]”h&]”uh1j>hjhžhhŸNh Nubeh}”(h]”Œ reload-limits”ah ]”h"]”Œ reload limits”ah$]”h&]”uh1h´hh¶hžhhŸh³h K1ubhµ)”}”(hhh]”(hº)”}”(hŒChange Namespace”h]”hŒChange Namespace”…””}”(hj hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hjhžhhŸh³h KCubhÊ)”}”(hŒ»The netns option allows user to be able to move devlink instances into namespaces during devlink reload operation. By default all devlink instances are created in init_net and stay there.”h]”hŒ»The netns option allows user to be able to move devlink instances into namespaces during devlink reload operation. By default all devlink instances are created in init_net and stay there.”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h KEhjhžhubhµ)”}”(hhh]”(hº)”}”(hŒ example usage”h]”hŒ example usage”…””}”(hj*hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hj'hžhhŸh³h KJubhŒ literal_block”“”)”}”(hX$ devlink dev reload help $ devlink dev reload DEV [ netns { PID | NAME | ID } ] [ action { driver_reinit | fw_activate } ] [ limit no_reset ] # Run reload command for devlink driver entities re-initialization: $ devlink dev reload pci/0000:82:00.0 action driver_reinit reload_actions_performed: driver_reinit # Run reload command to activate firmware: # Note that mlx5 driver reloads the driver while activating firmware $ devlink dev reload pci/0000:82:00.0 action fw_activate reload_actions_performed: driver_reinit fw_activate”h]”hX$ devlink dev reload help $ devlink dev reload DEV [ netns { PID | NAME | ID } ] [ action { driver_reinit | fw_activate } ] [ limit no_reset ] # Run reload command for devlink driver entities re-initialization: $ devlink dev reload pci/0000:82:00.0 action driver_reinit reload_actions_performed: driver_reinit # Run reload command to activate firmware: # Note that mlx5 driver reloads the driver while activating firmware $ devlink dev reload pci/0000:82:00.0 action fw_activate reload_actions_performed: driver_reinit fw_activate”…””}”hj:sbah}”(h]”h ]”h"]”h$]”h&]”Œforce”‰Œhighlight_args”}”h±h²Œlanguage”Œshell”uh1j8hŸh³h KLhj'hžhubeh}”(h]”Œ example-usage”ah ]”h"]”Œ example usage”ah$]”h&]”uh1h´hjhžhhŸh³h KJubeh}”(h]”Œchange-namespace”ah ]”h"]”Œchange namespace”ah$]”h&]”uh1h´hh¶hžhhŸh³h KCubeh}”(h]”Œdevlink-reload”ah ]”h"]”Œdevlink reload”ah$]”h&]”uh1h´hhhžhhŸh³h Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”h³uh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(h¹NŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”juŒfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”j‡Œerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”h³Œ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(jbj_jjjjjZjWjRjOuŒ nametypes”}”(jb‰j‰j‰jZ‰jR‰uh}”(j_h¶jj jjjWjjOj'jj@jûjLuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”j•Ks…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nhžhub.