€•…›Œ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-params”Œ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-params”Œ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-params”Œ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-params”Œ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-params”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒPortuguese (Brazilian)”…”�”}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/pt_BR/networking/devlink/devlink-params”Œ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-params”Œ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-params.rst”h´KubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒDevlink Params”h]”hŒDevlink Params”…”�”}”(hhÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhhÊh²hh³hÇh´KubhŒ paragraph”“”)�”}”(hŒû``devlink`` provides capability for a driver to expose device parameters for low level device functionality. Since devlink can operate at the device-wide level, it can be used to provide configuration that may affect multiple ports on a single device.”h]”(hŒliteral”“”)�”}”(hŒ ``devlink``”h]”hŒdevlink”…”�”}”(hhåh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hãhhßubhŒð provides capability for a driver to expose device parameters for low level device functionality. Since devlink can operate at the device-wide level, it can be used to provide configuration that may affect multiple ports on a single device.”…”�”}”(hhßh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KhhÊh²hubhÞ)�”}”(hŒðThis document describes a number of generic parameters that are supported across multiple drivers. Each driver is also free to add their own parameters. Each driver must document the specific parameters they support, whether generic or not.”h]”hŒðThis document describes a number of generic parameters that are supported across multiple drivers. Each driver is also free to add their own parameters. Each driver must document the specific parameters they support, whether generic or not.”…”�”}”(hhýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K hhÊh²hubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒConfiguration modes”h]”hŒConfiguration modes”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj h²hh³hÇh´KubhÞ)�”}”(hŒ7Parameters may be set in different configuration modes.”h]”hŒ7Parameters may be set in different configuration modes.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Khj h²hubhŒtable”“”)�”}”(hhh]”(hÎ)�”}”(hŒPossible configuration modes”h]”hŒPossible configuration modes”…”�”}”(hj/h²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”Kuh1jBhj?ubjC)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”jMKZuh1jBhj?ubhŒtbody”“”)�”}”(hhh]”(hŒrow”“”)�”}”(hhh]”(hŒentry”“”)�”}”(hhh]”hÞ)�”}”(hŒName”h]”hŒName”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Khjcubah}”(h]”h ]”h"]”h$]”h&]”uh1jahj^ubjb)�”}”(hhh]”hÞ)�”}”(hŒ Description”h]”hŒ Description”…”�”}”(hj}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Khjzubah}”(h]”h ]”h"]”h$]”h&]”uh1jahj^ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j\hjYubj])�”}”(hhh]”(jb)�”}”(hhh]”hÞ)�”}”(hŒ ``runtime``”h]”hä)�”}”(hjŸh]”hŒruntime”…”�”}”(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&]”uh1jahj—ubjb)�”}”(hhh]”hÞ)�”}”(hŒTset while the driver is running, and takes effect immediately. No reset is required.”h]”hŒTset while the driver is running, and takes effect immediately. No reset is required.”…”�”}”(hj½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Khjºubah}”(h]”h ]”h"]”h$]”h&]”uh1jahj—ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j\hjYubj])�”}”(hhh]”(jb)�”}”(hhh]”hÞ)�”}”(hŒ``driverinit``”h]”hä)�”}”(hjßh]”hŒ driverinit”…”�”}”(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&]”uh1jahj×ubjb)�”}”(hhh]”hÞ)�”}”(hŒsapplied while the driver initializes. Requires the user to restart the driver using the ``devlink`` reload command.”h]”(hŒXapplied while the driver initializes. Requires the user to restart the driver using the ”…”�”}”(hjýh²hh³Nh´Nubhä)�”}”(hŒ ``devlink``”h]”hŒdevlink”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hãhjýubhŒ reload command.”…”�”}”(hjýh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Khjúubah}”(h]”h ]”h"]”h$]”h&]”uh1jahj×ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j\hjYubj])�”}”(hhh]”(jb)�”}”(hhh]”hÞ)�”}”(hŒ ``permanent``”h]”hä)�”}”(hj1h]”hŒ permanent”…”�”}”(hj3h²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&]”uh1jahj)ubjb)�”}”(hhh]”hÞ)�”}”(hŒ\written to the device's non-volatile memory. A hard reset is required for it to take effect.”h]”hŒ^written to the device’s non-volatile memory. A hard reset is required for it to take effect.”…”�”}”(hjOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K"hjLubah}”(h]”h ]”h"]”h$]”h&]”uh1jahj)ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j\hjYubeh}”(h]”h ]”h"]”h$]”h&]”uh1jWhj?ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j=hj,ubeh}”(h]”Œid1”ah ]”Œcolwidths-given”ah"]”h$]”h&]”uh1j*hj h²hh³Nh´NubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ Reloading”h]”hŒ Reloading”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj~h²hh³hÇh´K&ubhÞ)�”}”(hŒµIn order for ``driverinit`` parameters to take effect, the driver must support reloading via the ``devlink-reload`` command. This command will request a reload of the device driver.”h]”(hŒ In order for ”…”�”}”(hj�h²hh³Nh´Nubhä)�”}”(hŒ``driverinit``”h]”hŒ driverinit”…”�”}”(hj—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hãhj�ubhŒF parameters to take effect, the driver must support reloading via the ”…”�”}”(hj�h²hh³Nh´Nubhä)�”}”(hŒ``devlink-reload``”h]”hŒdevlink-reload”…”�”}”(hj©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hãhj�ubhŒB command. This command will request a reload of the device driver.”…”�”}”(hj�h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K(hj~h²hubeh}”(h]”Œ reloading”ah ]”h"]”Œ reloading”ah$]”h&]”uh1hÈhj h²hh³hÇh´K&ubeh}”(h]”Œconfiguration-modes”ah ]”h"]”Œconfiguration modes”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒDefault parameter values”h]”hŒDefault parameter values”…”�”}”(hjÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÑh²hh³hÇh´K-ubhÞ)�”}”(hX™Drivers may optionally export default values for parameters of cmode ``runtime`` and ``permanent``. For ``driverinit`` parameters, the last value set by the driver will be used as the default value. Drivers can also support resetting params with cmode ``runtime`` and ``permanent`` to their default values. Resetting ``driverinit`` params is supported by devlink core without additional driver support needed.”h]”(hŒEDrivers may optionally export default values for parameters of cmode ”…”�”}”(hjâh²hh³Nh´Nubhä)�”}”(hŒ ``runtime``”h]”hŒruntime”…”�”}”(hjêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hãhjâubhŒ and ”…”�”}”(hjâh²hh³Nh´Nubhä)�”}”(hŒ ``permanent``”h]”hŒ permanent”…”�”}”(hjüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hãhjâubhŒ. For ”…”�”}”(hjâh²hh³Nh´Nubhä)�”}”(hŒ``driverinit``”h]”hŒ driverinit”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hãhjâubhŒ† parameters, the last value set by the driver will be used as the default value. Drivers can also support resetting params with cmode ”…”�”}”(hjâh²hh³Nh´Nubhä)�”}”(hŒ ``runtime``”h]”hŒruntime”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hãhjâubhŒ and ”…”�”}”hjâsbhä)�”}”(hŒ ``permanent``”h]”hŒ permanent”…”�”}”(hj2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hãhjâubhŒ$ to their default values. Resetting ”…”�”}”(hjâh²hh³Nh´Nubhä)�”}”(hŒ``driverinit``”h]”hŒ driverinit”…”�”}”(hjDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hãhjâubhŒN params is supported by devlink core without additional driver support needed.”…”�”}”(hjâh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K/hjÑh²hubhŒtarget”“”)�”}”(hŒ.. _devlink_params_generic:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œdevlink-params-generic”uh1j\h´K6hjÑh²hh³hÇubeh}”(h]”Œdefault-parameter-values”ah ]”h"]”Œdefault parameter values”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´K-ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ Generic configuration parameters”h]”hŒ Generic configuration parameters”…”�”}”(hjuh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjrh²hh³hÇh´K9ubhÞ)�”}”(hŒ¢The following is a list of generic configuration parameters that drivers may add. Use of generic parameters is preferred over each driver creating their own name.”h]”hŒ¢The following is a list of generic configuration parameters that drivers may add. Use of generic parameters is preferred over each driver creating their own name.”…”�”}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K:hjrh²hubj+)�”}”(hhh]”(hÎ)�”}”(hŒList of generic parameters”h]”hŒList of generic parameters”…”�”}”(hj”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍh³hÇh´K>hj‘ubj>)�”}”(hhh]”(jC)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”jMKuh1jBhj¢ubjC)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”jMKuh1jBhj¢ubjC)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”jMKZuh1jBhj¢ubjX)�”}”(hhh]”(j])�”}”(hhh]”(jb)�”}”(hhh]”hÞ)�”}”(hŒName”h]”hŒName”…”�”}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KAhjÆubah}”(h]”h ]”h"]”h$]”h&]”uh1jahjÃubjb)�”}”(hhh]”hÞ)�”}”(hŒType”h]”hŒType”…”�”}”(hjàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KBhjÝubah}”(h]”h ]”h"]”h$]”h&]”uh1jahjÃubjb)�”}”(hhh]”hÞ)�”}”(hŒ Description”h]”hŒ Description”…”�”}”(hj÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KChjôubah}”(h]”h ]”h"]”h$]”h&]”uh1jahjÃubeh}”(h]”h ]”h"]”h$]”h&]”uh1j\hjÀubj])�”}”(hhh]”(jb)�”}”(hhh]”hÞ)�”}”(hŒ``enable_sriov``”h]”hä)�”}”(hjh]”hŒ enable_sriov”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hãhjubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KDhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jahjubjb)�”}”(hhh]”hÞ)�”}”(hŒBoolean”h]”hŒBoolean”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KEhj4ubah}”(h]”h ]”h"]”h$]”h&]”uh1jahjubjb)�”}”(hhh]”hÞ)�”}”(hŒ