Esphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget0/translations/zh_CN/networking/devlink/octeontx2modnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget0/translations/zh_TW/networking/devlink/octeontx2modnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget0/translations/it_IT/networking/devlink/octeontx2modnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget0/translations/ja_JP/networking/devlink/octeontx2modnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget0/translations/ko_KR/networking/devlink/octeontx2modnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget0/translations/sp_SP/networking/devlink/octeontx2modnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhcomment)}(h SPDX-License-Identifier: GPL-2.0h]h SPDX-License-Identifier: GPL-2.0}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhhJ/var/lib/git/docbuild/linux/Documentation/networking/devlink/octeontx2.rsthKubhsection)}(hhh](htitle)}(hocteontx2 devlink supporth]hocteontx2 devlink support}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh paragraph)}(hkThis 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 }(hhhhhNhNubhliteral)}(h``octeontx2 AF, PF and VF``h]hocteontx2 AF, PF and VF}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhubh device drivers.}(hhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hhh](h)}(h Parametersh]h Parameters}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh)}(hWThe ``octeontx2 PF and VF`` drivers implement the following driver-specific parameters.h](hThe }(hhhhhNhNubh)}(h``octeontx2 PF and VF``h]hocteontx2 PF and VF}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhubh< drivers implement the following driver-specific parameters.}(hhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK hhhhubhtable)}(hhh](h)}(h&Driver-specific parameters implementedh]h&Driver-specific parameters implemented}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubhtgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j6hj3ubj7)}(hhh]h}(h]h ]h"]h$]h&]jAKuh1j6hj3ubj7)}(hhh]h}(h]h ]h"]h$]h&]jAKuh1j6hj3ubj7)}(hhh]h}(h]h ]h"]h$]h&]jAKUuh1j6hj3ubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h)}(hNameh]hName}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjiubah}(h]h ]h"]h$]h&]uh1jghjdubjh)}(hhh]h)}(hTypeh]hType}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jghjdubjh)}(hhh]h)}(hModeh]hMode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jghjdubjh)}(hhh]h)}(h Descriptionh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jghjdubeh}(h]h ]h"]h$]h&]uh1jbhj_ubjc)}(hhh](jh)}(hhh]h)}(h``mcam_count``h]h)}(hjh]h mcam_count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jghjubjh)}(hhh]h)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jghjubjh)}(hhh]h)}(hruntimeh]hruntime}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jghjubjh)}(hhh]h)}(hSelect 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]hSelect 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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jghjubeh}(h]h ]h"]h$]h&]uh1jbhj_ubeh}(h]h ]h"]h$]h&]uh1j]hj3ubeh}(h]h ]h"]h$]h&]colsKuh1j1hj ubeh}(h]id1ah ]colwidths-givenah"]h$]h&]uh1jhhhhhNhNubh)}(hPThe ``octeontx2 AF`` driver implements the following driver-specific parameters.h](hThe }(hjNhhhNhNubh)}(h``octeontx2 AF``h]h octeontx2 AF}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNubh< driver implements the following driver-specific parameters.}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubj)}(hhh](h)}(h&Driver-specific parameters implementedh]h&Driver-specific parameters implemented}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjnubj2)}(hhh](j7)}(hhh]h}(h]h ]h"]h$]h&]jAKuh1j6hjubj7)}(hhh]h}(h]h ]h"]h$]h&]jAKuh1j6hjubj7)}(hhh]h}(h]h ]h"]h$]h&]jAKuh1j6hjubj7)}(hhh]h}(h]h ]h"]h$]h&]jAKUuh1j6hjubj^)}(hhh](jc)}(hhh](jh)}(hhh]h)}(hNameh]hName}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK"hjubah}(h]h ]h"]h$]h&]uh1jghjubjh)}(hhh]h)}(hTypeh]hType}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK#hjubah}(h]h ]h"]h$]h&]uh1jghjubjh)}(hhh]h)}(hModeh]hMode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK$hjubah}(h]h ]h"]h$]h&]uh1jghjubjh)}(hhh]h)}(h Descriptionh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK%hjubah}(h]h ]h"]h$]h&]uh1jghjubeh}(h]h ]h"]h$]h&]uh1jbhjubjc)}(hhh](jh)}(hhh]h)}(h ``dwrr_mtu``h]h)}(hjh]hdwrr_mtu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1hhhhK&hjubah}(h]h ]h"]h$]h&]uh1jghjubjh)}(hhh]h)}(hu32h]hu32}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK'hj1ubah}(h]h ]h"]h$]h&]uh1jghjubjh)}(hhh]h)}(hruntimeh]hruntime}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK(hjHubah}(h]h ]h"]h$]h&]uh1jghjubjh)}(hhh]h)}(hUse to set the quantum which hardware uses for scheduling among transmit queues. Hardware uses weighted DWRR algorithm to schedule among all transmit queues.h]hUse to set the quantum which hardware uses for scheduling among transmit queues. Hardware uses weighted DWRR algorithm to schedule among all transmit queues.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK)hj_ubah}(h]h ]h"]h$]h&]uh1jghjubeh}(h]h ]h"]h$]h&]uh1jbhjubjc)}(hhh](jh)}(hhh]h)}(h``npc_mcam_high_zone_percent``h]h)}(hjh]hnpc_mcam_high_zone_percent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1hhhhK+hjubah}(h]h ]h"]h$]h&]uh1jghj|ubjh)}(hhh]h)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK,hjubah}(h]h ]h"]h$]h&]uh1jghj|ubjh)}(hhh]h)}(hruntimeh]hruntime}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK-hjubah}(h]h ]h"]h$]h&]uh1jghj|ubjh)}(hhh]h)}(hUse 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]hUse 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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK.hjubah}(h]h ]h"]h$]h&]uh1jghj|ubeh}(h]h ]h"]h$]h&]uh1jbhjubjc)}(hhh](jh)}(hhh]h)}(h``npc_def_rule_cntr``h]h)}(hjh]hnpc_def_rule_cntr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1hhhhK0hjubah}(h]h ]h"]h$]h&]uh1jghjubjh)}(hhh]h)}(hboolh]hbool}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK1hj ubah}(h]h ]h"]h$]h&]uh1jghjubjh)}(hhh]h)}(hruntimeh]hruntime}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK2hj$ubah}(h]h ]h"]h$]h&]uh1jghjubjh)}(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_rulesh]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}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK3hj;ubah}(h]h ]h"]h$]h&]uh1jghjubeh}(h]h ]h"]h$]h&]uh1jbhjubjc)}(hhh](jh)}(hhh]h)}(h ``nix_maxlf``h]h)}(hj`h]h nix_maxlf}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^ubah}(h]h ]h"]h$]h&]uh1hhhhK:hj[ubah}(h]h ]h"]h$]h&]uh1jghjXubjh)}(hhh]h)}(hu16h]hu16}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK;hj{ubah}(h]h ]h"]h$]h&]uh1jghjXubjh)}(hhh]h)}(hruntimeh]hruntime}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK