€•éFŒ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”Œ0/translations/zh_CN/networking/devlink/octeontx2”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)�”}”(hhh]”hŒChinese (Traditional)”…”�”}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ0/translations/zh_TW/networking/devlink/octeontx2”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ0/translations/it_IT/networking/devlink/octeontx2”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ0/translations/ja_JP/networking/devlink/octeontx2”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ0/translations/ko_KR/networking/devlink/octeontx2”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒPortuguese (Brazilian)”…”�”}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ0/translations/pt_BR/networking/devlink/octeontx2”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒSpanish”…”�”}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ0/translations/sp_SP/networking/devlink/octeontx2”Œ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³ŒJ/var/lib/git/docbuild/linux/Documentation/networking/devlink/octeontx2.rst”h´KubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒocteontx2 devlink support”h]”hŒocteontx2 devlink support”…”�”}”(hhÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhhÊh²hh³hÇh´KubhŒ paragraph”“”)�”}”(hŒkThis document describes the devlink features implemented by the ``octeontx2 AF, PF and VF`` device drivers.”h]”(hŒ@This document describes the devlink features implemented by the ”…”�”}”(hhßh²hh³Nh´NubhŒliteral”“”)�”}”(hŒ``octeontx2 AF, PF and VF``”h]”hŒocteontx2 AF, PF and VF”…”�”}”(hhéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hçhhßubhŒ device drivers.”…”�”}”(hhßh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KhhÊh²hubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjh²hh³hÇh´K ubhÞ)�”}”(hŒWThe ``octeontx2 PF and VF`` drivers implement the following driver-specific parameters.”h]”(hŒThe ”…”�”}”(hjh²hh³Nh´Nubhè)�”}”(hŒ``octeontx2 PF and VF``”h]”hŒocteontx2 PF and VF”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hçhjubhŒ< drivers implement the following driver-specific parameters.”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K hjh²hubhŒtable”“”)�”}”(hhh]”(hÎ)�”}”(hŒ&Driver-specific parameters implemented”h]”hŒ&Driver-specific parameters implemented”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍh³hÇh´Khj4ubhŒtgroup”“”)�”}”(hhh]”(hŒcolspec”“”)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jJhjGubjK)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”jUKuh1jJhjGubjK)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”jUKuh1jJhjGubjK)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”jUKUuh1jJhjGubhŒtbody”“”)�”}”(hhh]”(hŒrow”“”)�”}”(hhh]”(hŒentry”“”)�”}”(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&]”uh1j{hjxubj|)�”}”(hhh]”hÞ)�”}”(hŒType”h]”hŒType”…”�”}”(hj—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Khj”ubah}”(h]”h ]”h"]”h$]”h&]”uh1j{hjxubj|)�”}”(hhh]”hÞ)�”}”(hŒMode”h]”hŒMode”…”�”}”(hj®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Khj«ubah}”(h]”h ]”h"]”h$]”h&]”uh1j{hjxubj|)�”}”(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&]”uh1j{hjxubeh}”(h]”h ]”h"]”h$]”h&]”uh1jvhjsubjw)�”}”(hhh]”(j|)�”}”(hhh]”hÞ)�”}”(hŒ``mcam_count``”h]”hè)�”}”(hjçh]”hŒ mcam_count”…”�”}”(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&]”uh1j{hjßubj|)�”}”(hhh]”hÞ)�”}”(hŒu16”h]”hŒu16”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1j{hjßubj|)�”}”(hhh]”hÞ)�”}”(hŒruntime”h]”hŒruntime”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1j{hjßubj|)�”}”(hhh]”hÞ)�”}”(hŒšSelect number of match CAM entries to be allocated for an interface. The same is used for ntuple filters of the interface. Supported by PF and VF drivers.”h]”hŒšSelect number of match CAM entries to be allocated for an interface. The same is used for ntuple filters of the interface. Supported by PF and VF drivers.”…”�”}”(hj3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Khj0ubah}”(h]”h ]”h"]”h$]”h&]”uh1j{hjßubeh}”(h]”h ]”h"]”h$]”h&]”uh1jvhjsubeh}”(h]”h ]”h"]”h$]”h&]”uh1jqhjGubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jEhj4ubeh}”(h]”Œid1”ah ]”Œcolwidths-given”ah"]”h$]”h&]”uh1j2hjh²hh³Nh´NubhÞ)�”}”(hŒPThe ``octeontx2 AF`` driver implements the following driver-specific parameters.”h]”(hŒThe ”…”�”}”(hjbh²hh³Nh´Nubhè)�”}”(hŒ``octeontx2 AF``”h]”hŒ octeontx2 AF”…”�”}”(hjjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hçhjbubhŒ< driver implements the following driver-specific parameters.”…”�”}”(hjbh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Khjh²hubj3)�”}”(hhh]”(hÎ)�”}”(hŒ&Driver-specific parameters implemented”h]”hŒ&Driver-specific parameters implemented”…”�”}”(hj…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍh³hÇh´Khj‚ubjF)�”}”(hhh]”(jK)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”jUKuh1jJhj“ubjK)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”jUKuh1jJhj“ubjK)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”jUKuh1jJhj“ubjK)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”jUKUuh1jJhj“ubjr)�”}”(hhh]”(jw)�”}”(hhh]”(j|)�”}”(hhh]”hÞ)�”}”(hŒName”h]”hŒName”…”�”}”(hjÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K"hjÀubah}”(h]”h ]”h"]”h$]”h&]”uh1j{hj½ubj|)�”}”(hhh]”hÞ)�”}”(hŒType”h]”hŒType”…”�”}”(hjÚh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K#hj×ubah}”(h]”h ]”h"]”h$]”h&]”uh1j{hj½ubj|)�”}”(hhh]”hÞ)�”}”(hŒMode”h]”hŒMode”…”�”}”(hjñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K$hjîubah}”(h]”h ]”h"]”h$]”h&]”uh1j{hj½ubj|)�”}”(hhh]”hÞ)�”}”(hŒ Description”h]”hŒ Description”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K%hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j{hj½ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jvhjºubjw)�”}”(hhh]”(j|)�”}”(hhh]”hÞ)�”}”(hŒ ``dwrr_mtu``”h]”hè)�”}”(hj*h]”hŒdwrr_mtu”…”�”}”(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&]”uh1j{hj"ubj|)�”}”(hhh]”hÞ)�”}”(hŒu32”h]”hŒu32”…”�”}”(hjHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K'hjEubah}”(h]”h ]”h"]”h$]”h&]”uh1j{hj"ubj|)�”}”(hhh]”hÞ)�”}”(hŒruntime”h]”hŒruntime”…”�”}”(hj_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K(hj\ubah}”(h]”h ]”h"]”h$]”h&]”uh1j{hj"ubj|)�”}”(hhh]”hÞ)�”}”(hŒ�Use to set the quantum which hardware uses for scheduling among transmit queues. Hardware uses weighted DWRR algorithm to schedule among all transmit queues.”h]”hŒ�Use to set the quantum which hardware uses for scheduling among transmit queues. Hardware uses weighted DWRR algorithm to schedule among all transmit queues.”…”�”}”(hjvh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K)hjsubah}”(h]”h ]”h"]”h$]”h&]”uh1j{hj"ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jvhjºubjw)�”}”(hhh]”(j|)�”}”(hhh]”hÞ)�”}”(hŒ``npc_mcam_high_zone_percent``”h]”hè)�”}”(hj˜h]”hŒnpc_mcam_high_zone_percent”…”�”}”(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&]”uh1j{hj�ubj|)�”}”(hhh]”hÞ)�”}”(hŒu8”h]”hŒu8”…”�”}”(hj¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K,hj³ubah}”(h]”h ]”h"]”h$]”h&]”uh1j{hj�ubj|)�”}”(hhh]”hÞ)�”}”(hŒruntime”h]”hŒruntime”…”�”}”(hjÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K-hjÊubah}”(h]”h ]”h"]”h$]”h&]”uh1j{hj�ubj|)�”}”(hhh]”hÞ)�”}”(hŒ�Use to set the number of high priority zone entries in NPC MCAM that can be allocated by a user, out of the three priority zone categories high, mid and low.”h]”hŒ�Use to set the number of high priority zone entries in NPC MCAM that can be allocated by a user, out of the three priority zone categories high, mid and low.”…”�”}”(hjäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K.hjáubah}”(h]”h ]”h"]”h$]”h&]”uh1j{hj�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jvhjºubjw)�”}”(hhh]”(j|)�”}”(hhh]”hÞ)�”}”(hŒ``npc_def_rule_cntr``”h]”hè)�”}”(hjh]”hŒnpc_def_rule_cntr”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hçhjubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K0hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j{hjþubj|)�”}”(hhh]”hÞ)�”}”(hŒbool”h]”hŒbool”…”�”}”(hj$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K1hj!ubah}”(h]”h ]”h"]”h$]”h&]”uh1j{hjþubj|)�”}”(hhh]”hÞ)�”}”(hŒruntime”h]”hŒruntime”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K2hj8ubah}”(h]”h ]”h"]”h$]”h&]”uh1j{hjþubj|)�”}”(hhh]”hÞ)�”}”(hXUse to enable or disable hit counters for the default rules in NPC MCAM. Its not guaranteed that counters gets enabled and mapped to all the default rules, since the counters are scarce and driver follows a best effort approach. The default rule serves as the primary packet steering rule for a specific PF or VF, based on its DMAC address which is installed by AF driver as part of its initialization. Sample command to read hit counters for default rule from debugfs is as follows, cat /sys/kernel/debug/cn10k/npc/mcam_rules”h]”hXUse to enable or disable hit counters for the default rules in NPC MCAM. Its not guaranteed that counters gets enabled and mapped to all the default rules, since the counters are scarce and driver follows a best effort approach. The default rule serves as the primary packet steering rule for a specific PF or VF, based on its DMAC address which is installed by AF driver as part of its initialization. Sample command to read hit counters for default rule from debugfs is as follows, cat /sys/kernel/debug/cn10k/npc/mcam_rules”…”�”}”(hjRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K3hjOubah}”(h]”h ]”h"]”h$]”h&]”uh1j{hjþubeh}”(h]”h ]”h"]”h$]”h&]”uh1jvhjºubjw)�”}”(hhh]”(j|)�”}”(hhh]”hÞ)�”}”(hŒ ``nix_maxlf``”h]”hè)�”}”(hjth]”hŒ nix_maxlf”…”�”}”(hjvh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hçhjrubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K:hjoubah}”(h]”h ]”h"]”h$]”h&]”uh1j{hjlubj|)�”}”(hhh]”hÞ)�”}”(hŒu16”h]”hŒu16”…”�”}”(hj’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K;hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1j{hjlubj|)�”}”(hhh]”hÞ)�”}”(hŒruntime”h]”hŒruntime”…”�”}”(hj©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K