€•Œ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”Œ3/translations/zh_CN/networking/devlink/devlink-port”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)�”}”(hhh]”hŒChinese (Traditional)”…”�”}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/zh_TW/networking/devlink/devlink-port”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/it_IT/networking/devlink/devlink-port”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/ja_JP/networking/devlink/devlink-port”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/ko_KR/networking/devlink/devlink-port”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒPortuguese (Brazilian)”…”�”}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/pt_BR/networking/devlink/devlink-port”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒSpanish”…”�”}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/sp_SP/networking/devlink/devlink-port”Œ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³ŒM/var/lib/git/docbuild/linux/Documentation/networking/devlink/devlink-port.rst”h´KubhŒtarget”“”)�”}”(hŒ.. _devlink_port:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œ devlink-port”uh1hÈh´Khhh²hh³hÇubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒ Devlink Port”h]”hŒ Devlink Port”…”�”}”(hhÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhhØh²hh³hÇh´KubhŒ paragraph”“”)�”}”(hŒø``devlink-port`` is a port that exists on the device. It has a logically separate ingress/egress point of the device. A devlink port can be any one of many flavours. A devlink port flavour along with port attributes describe what a port represents.”h]”(hŒliteral”“”)�”}”(hŒ``devlink-port``”h]”hŒ devlink-port”…”�”}”(hhóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhhíubhŒè is a port that exists on the device. It has a logically separate ingress/egress point of the device. A devlink port can be any one of many flavours. A devlink port flavour along with port attributes describe what a port represents.”…”�”}”(hhíh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K hhØh²hubhì)�”}”(hŒwA device driver that intends to publish a devlink port sets the devlink port attributes and registers the devlink port.”h]”hŒwA device driver that intends to publish a devlink port sets the devlink port attributes and registers the devlink port.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´KhhØh²hubhì)�”}”(hŒ*Devlink port flavours are described below.”h]”hŒ*Devlink port flavours are described below.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´KhhØh²hubhŒtable”“”)�”}”(hhh]”(hÜ)�”}”(hŒList of devlink port flavours”h]”hŒList of devlink port flavours”…”�”}”(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”K!uh1j?hj<ubj@)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”jJKZuh1j?hj<ubhŒtbody”“”)�”}”(hhh]”(hŒrow”“”)�”}”(hhh]”(hŒentry”“”)�”}”(hhh]”hì)�”}”(hŒFlavour”h]”hŒFlavour”…”�”}”(hjch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Khj`ubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hj[ubj_)�”}”(hhh]”hì)�”}”(hŒ Description”h]”hŒ Description”…”�”}”(hjzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Khjwubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hj[ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jYhjVubjZ)�”}”(hhh]”(j_)�”}”(hhh]”hì)�”}”(hŒ!``DEVLINK_PORT_FLAVOUR_PHYSICAL``”h]”hò)�”}”(hjœh]”hŒDEVLINK_PORT_FLAVOUR_PHYSICAL”…”�”}”(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ŒiAny kind of physical port. This can be an eswitch physical port or any other physical port on the device.”h]”hŒiAny kind of physical port. This can be an eswitch physical port or any other physical port on the device.”…”�”}”(hjºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Khj·ubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hj”ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jYhjVubjZ)�”}”(hhh]”(j_)�”}”(hhh]”hì)�”}”(hŒ``DEVLINK_PORT_FLAVOUR_DSA``”h]”hò)�”}”(hjÜh]”hŒDEVLINK_PORT_FLAVOUR_DSA”…”�”}”(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Œ'This indicates a DSA interconnect port.”h]”hŒ'This indicates a DSA interconnect port.”…”�”}”(hjúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Khj÷ubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hjÔubeh}”(h]”h ]”h"]”h$]”h&]”uh1jYhjVubjZ)�”}”(hhh]”(j_)�”}”(hhh]”hì)�”}”(hŒ``DEVLINK_PORT_FLAVOUR_CPU``”h]”hò)�”}”(hjh]”hŒDEVLINK_PORT_FLAVOUR_CPU”…”�”}”(hjh²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^hjubj_)�”}”(hhh]”hì)�”}”(hŒ1This indicates a CPU port applicable only to DSA.”h]”hŒ1This indicates a CPU port applicable only to DSA.”…”�”}”(hj:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Khj7ubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jYhjVubjZ)�”}”(hhh]”(j_)�”}”(hhh]”hì)�”}”(hŒ``DEVLINK_PORT_FLAVOUR_PCI_PF``”h]”hò)�”}”(hj\h]”hŒDEVLINK_PORT_FLAVOUR_PCI_PF”…”�”}”(hj^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjZubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´KhjWubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hjTubj_)�”}”(hhh]”hì)�”}”(hŒQThis indicates an eswitch port representing a port of PCI physical function (PF).”h]”hŒQThis indicates an eswitch port representing a port of PCI physical function (PF).”…”�”}”(hjzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K hjwubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hjTubeh}”(h]”h ]”h"]”h$]”h&]”uh1jYhjVubjZ)�”}”(hhh]”(j_)�”}”(hhh]”hì)�”}”(hŒ``DEVLINK_PORT_FLAVOUR_PCI_VF``”h]”hò)�”}”(hjœh]”hŒDEVLINK_PORT_FLAVOUR_PCI_VF”…”�”}”(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ŒPThis indicates an eswitch port representing a port of PCI virtual function (VF).”h]”hŒPThis indicates an eswitch port representing a port of PCI virtual function (VF).”…”�”}”(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&]”uh1jYhjVubjZ)�”}”(hhh]”(j_)�”}”(hhh]”hì)�”}”(hŒ``DEVLINK_PORT_FLAVOUR_PCI_SF``”h]”hò)�”}”(hjÜh]”hŒDEVLINK_PORT_FLAVOUR_PCI_SF”…”�”}”(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ŒKThis indicates an eswitch port representing a port of PCI subfunction (SF).”h]”hŒKThis indicates an eswitch port representing a port of PCI subfunction (SF).”…”�”}”(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&]”uh1jYhjVubjZ)�”}”(hhh]”(j_)�”}”(hhh]”hì)�”}”(hŒ ``DEVLINK_PORT_FLAVOUR_VIRTUAL``”h]”hò)�”}”(hjh]”hŒDEVLINK_PORT_FLAVOUR_VIRTUAL”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K(hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hjubj_)�”}”(hhh]”hì)�”}”(hŒ!Any virtual port facing the user.”h]”hŒ!Any virtual port facing the user.”…”�”}”(hj:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K)hj7ubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jYhjVubeh}”(h]”h ]”h"]”h$]”h&]”uh1jThj<ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j:hj)ubeh}”(h]”Œid2”ah ]”Œcolwidths-given”ah"]”h$]”h&]”uh1j'hhØh²hh³Nh´Nubhì)�”}”(hŒODevlink port can have a different type based on the link layer described below.”h]”hŒODevlink port can have a different type based on the link layer described below.”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K+hhØh²hubj()�”}”(hhh]”(hÜ)�”}”(hŒList of devlink port types”h]”hŒList of devlink port types”…”�”}”(hjzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛh³hÇh´K-hjwubj;)�”}”(hhh]”(j@)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”jJKuh1j?hjˆubj@)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”jJKZuh1j?hjˆubjU)�”}”(hhh]”(jZ)�”}”(hhh]”(j_)�”}”(hhh]”hì)�”}”(hŒType”h]”hŒType”…”�”}”(hj¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K0hj£ubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hj ubj_)�”}”(hhh]”hì)�”}”(hŒ Description”h]”hŒ Description”…”�”}”(hj½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K1hjºubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jYhj�ubjZ)�”}”(hhh]”(j_)�”}”(hhh]”hì)�”}”(hŒ``DEVLINK_PORT_TYPE_ETH``”h]”hò)�”}”(hjßh]”hŒDEVLINK_PORT_TYPE_ETH”…”�”}”(hjáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjÝubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K2hjÚubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hj×ubj_)�”}”(hhh]”hì)�”}”(hŒKDriver should set this port type when a link layer of the port is Ethernet.”h]”hŒKDriver should set this port type when a link layer of the port is Ethernet.”…”�”}”(hjýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K3hjúubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hj×ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jYhj�ubjZ)�”}”(hhh]”(j_)�”}”(hhh]”hì)�”}”(hŒ``DEVLINK_PORT_TYPE_IB``”h]”hò)�”}”(hjh]”hŒDEVLINK_PORT_TYPE_IB”…”�”}”(hj!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K5hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hjubj_)�”}”(hhh]”hì)�”}”(hŒMDriver should set this port type when a link layer of the port is InfiniBand.”h]”hŒMDriver should set this port type when a link layer of the port is InfiniBand.”…”�”}”(hj=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K6hj:ubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jYhj�ubjZ)�”}”(hhh]”(j_)�”}”(hhh]”hì)�”}”(hŒ``DEVLINK_PORT_TYPE_AUTO``”h]”hò)�”}”(hj_h]”hŒDEVLINK_PORT_TYPE_AUTO”…”�”}”(hjah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj]ubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K8hjZubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hjWubj_)�”}”(hhh]”hì)�”}”(hŒYThis type is indicated by the user when driver should detect the port type automatically.”h]”hŒYThis type is indicated by the user when driver should detect the port type automatically.”…”�”}”(hj}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K9hjzubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hjWubeh}”(h]”h ]”h"]”h$]”h&]”uh1jYhj�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jThjˆubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j:hjwubeh}”(h]”Œid3”ah ]”jeah"]”h$]”h&]”uh1j'hhØh²hh³Nh´Nubh×)�”}”(hhh]”(hÜ)�”}”(hŒPCI controllers”h]”hŒPCI controllers”…”�”}”(hj®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhj«h²hh³hÇh´K=ubhì)�”}”(hŒïIn most cases a PCI device has only one controller. A controller consists of potentially multiple physical, virtual functions and subfunctions. A function consists of one or more ports. This port is represented by the devlink eswitch port.”h]”hŒïIn most cases a PCI device has only one controller. A controller consists of potentially multiple physical, virtual functions and subfunctions. A function consists of one or more ports. This port is represented by the devlink eswitch port.”…”�”}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K>hj«h²hubhì)�”}”(hX3A PCI device connected to multiple CPUs or multiple PCI root complexes or a SmartNIC, however, may have multiple controllers. For a device with multiple controllers, each controller is distinguished by a unique controller number. An eswitch is on the PCI device which supports ports of multiple controllers.”h]”hX3A PCI device connected to multiple CPUs or multiple PCI root complexes or a SmartNIC, however, may have multiple controllers. For a device with multiple controllers, each controller is distinguished by a unique controller number. An eswitch is on the PCI device which supports ports of multiple controllers.”…”�”}”(hjÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´KChj«h²hubhì)�”}”(hŒ2An example view of a system with two controllers::”h]”hŒ1An example view of a system with two controllers:”…”�”}”(hjØh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´KHhj«h²hubhŒ literal_block”“”)�”}”(hXõ --------------------------------------------------------- | | | --------- --------- ------- ------- | ----------- | | vf(s) | | sf(s) | |vf(s)| |sf(s)| | | server | | ------- ----/---- ---/----- ------- ---/--- ---/--- | | pci rc |=== | pf0 |______/________/ | pf1 |___/_______/ | | connect | | ------- ------- | ----------- | | controller_num=1 (no eswitch) | ------|-------------------------------------------------- (internal wire) | --------------------------------------------------------- | devlink eswitch ports and reps | | ----------------------------------------------------- | | |ctrl-0 | ctrl-0 | ctrl-0 | ctrl-0 | ctrl-0 |ctrl-0 | | | |pf0 | pf0vfN | pf0sfN | pf1 | pf1vfN |pf1sfN | | | ----------------------------------------------------- | | |ctrl-1 | ctrl-1 | ctrl-1 | ctrl-1 | ctrl-1 |ctrl-1 | | | |pf0 | pf0vfN | pf0sfN | pf1 | pf1vfN |pf1sfN | | | ----------------------------------------------------- | | | | | ----------- | --------- --------- ------- ------- | | smartNIC| | | vf(s) | | sf(s) | |vf(s)| |sf(s)| | | pci rc |==| ------- ----/---- ---/----- ------- ---/--- ---/--- | | connect | | | pf0 |______/________/ | pf1 |___/_______/ | ----------- | ------- ------- | | | | local controller_num=0 (eswitch) | ---------------------------------------------------------”h]”hXõ --------------------------------------------------------- | | | --------- --------- ------- ------- | ----------- | | vf(s) | | sf(s) | |vf(s)| |sf(s)| | | server | | ------- ----/---- ---/----- ------- ---/--- ---/--- | | pci rc |=== | pf0 |______/________/ | pf1 |___/_______/ | | connect | | ------- ------- | ----------- | | controller_num=1 (no eswitch) | ------|-------------------------------------------------- (internal wire) | --------------------------------------------------------- | devlink eswitch ports and reps | | ----------------------------------------------------- | | |ctrl-0 | ctrl-0 | ctrl-0 | ctrl-0 | ctrl-0 |ctrl-0 | | | |pf0 | pf0vfN | pf0sfN | pf1 | pf1vfN |pf1sfN | | | ----------------------------------------------------- | | |ctrl-1 | ctrl-1 | ctrl-1 | ctrl-1 | ctrl-1 |ctrl-1 | | | |pf0 | pf0vfN | pf0sfN | pf1 | pf1vfN |pf1sfN | | | ----------------------------------------------------- | | | | | ----------- | --------- --------- ------- ------- | | smartNIC| | | vf(s) | | sf(s) | |vf(s)| |sf(s)| | | pci rc |==| ------- ----/---- ---/----- ------- ---/--- ---/--- | | connect | | | pf0 |______/________/ | pf1 |___/_______/ | ----------- | ------- ------- | | | | local controller_num=0 (eswitch) | ---------------------------------------------------------”…”�”}”hjèsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jæh³hÇh´KJhj«h²hubhì)�”}”(hXIn the above example, the external controller (identified by controller number = 1) doesn't have the eswitch. Local controller (identified by controller number = 0) has the eswitch. The Devlink instance on the local controller has eswitch devlink ports for both the controllers.”h]”hXIn the above example, the external controller (identified by controller number = 1) doesn’t have the eswitch. Local controller (identified by controller number = 0) has the eswitch. The Devlink instance on the local controller has eswitch devlink ports for both the controllers.”…”�”}”(hjöh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Kihj«h²hubhì)�”}”(hXjA non-zero controller number may also be used for ports that are not external. For example, a SmartNIC may have additional local PCI physical functions that are managed by the eswitch but are not on an external host. These ports use a non-zero controller number to distinguish them from the eswitch manager's own functions, while the external flag remains unset.”h]”hXlA non-zero controller number may also be used for ports that are not external. For example, a SmartNIC may have additional local PCI physical functions that are managed by the eswitch but are not on an external host. These ports use a non-zero controller number to distinguish them from the eswitch manager’s own functions, while the external flag remains unset.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Knhj«h²hubhì)�”}”(hŒšThe ``phys_port_name`` includes the controller prefix (``c``) whenever the controller number is non-zero, regardless of the external flag.”h]”(hŒThe ”…”�”}”(hjh²hh³Nh´Nubhò)�”}”(hŒ``phys_port_name``”h]”hŒphys_port_name”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjubhŒ! includes the controller prefix (”…”�”}”(hjh²hh³Nh´Nubhò)�”}”(hŒ``c``”h]”hŒc”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjubhŒN) whenever the controller number is non-zero, regardless of the external flag.”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Kthj«h²hubh×)�”}”(hhh]”(hÜ)�”}”(hŒFunction configuration”h]”hŒFunction configuration”…”�”}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjDh²hh³hÇh´Kxubhì)�”}”(hX÷Users can configure one or more function attributes before enumerating the PCI function. Usually it means, user should configure function attribute before a bus specific device for the function is created. However, when SRIOV is enabled, virtual function devices are created on the PCI bus. Hence, function attribute should be configured before binding virtual function device to the driver. For subfunctions, this means user should configure port function attribute before activating the port function.”h]”hX÷Users can configure one or more function attributes before enumerating the PCI function. Usually it means, user should configure function attribute before a bus specific device for the function is created. However, when SRIOV is enabled, virtual function devices are created on the PCI bus. Hence, function attribute should be configured before binding virtual function device to the driver. For subfunctions, this means user should configure port function attribute before activating the port function.”…”�”}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´KzhjDh²hubhì)�”}”(hŒ›A user may set the hardware address of the function using `devlink port function set hw_addr` command. For Ethernet port function this means a MAC address.”h]”(hŒ:A user may set the hardware address of the function using ”…”�”}”(hjch²hh³Nh´NubhŒtitle_reference”“”)�”}”(hŒ#`devlink port function set hw_addr`”h]”hŒ!devlink port function set hw_addr”…”�”}”(hjmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jkhjcubhŒ> command. For Ethernet port function this means a MAC address.”…”�”}”(hjch²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K‚hjDh²hubhì)�”}”(hŒfUsers may also set the RoCE capability of the function using `devlink port function set roce` command.”h]”(hŒ=Users may also set the RoCE capability of the function using ”…”�”}”(hj…h²hh³Nh´Nubjl)�”}”(hŒ `devlink port function set roce`”h]”hŒdevlink port function set roce”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jkhj…ubhŒ command.”…”�”}”(hj…h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K†hjDh²hubhì)�”}”(hŒcUsers may also set the function as migratable using `devlink port function set migratable` command.”h]”(hŒ4Users may also set the function as migratable using ”…”�”}”(hj¥h²hh³Nh´Nubjl)�”}”(hŒ&`devlink port function set migratable`”h]”hŒ$devlink port function set migratable”…”�”}”(hj­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jkhj¥ubhŒ command.”…”�”}”(hj¥h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K‰hjDh²hubhì)�”}”(hŒvUsers may also set the IPsec crypto capability of the function using `devlink port function set ipsec_crypto` command.”h]”(hŒEUsers may also set the IPsec crypto capability of the function using ”…”�”}”(hjÅh²hh³Nh´Nubjl)�”}”(hŒ(`devlink port function set ipsec_crypto`”h]”hŒ&devlink port function set ipsec_crypto”…”�”}”(hjÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jkhjÅubhŒ command.”…”�”}”(hjÅh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´KŒhjDh²hubhì)�”}”(hŒvUsers may also set the IPsec packet capability of the function using `devlink port function set ipsec_packet` command.”h]”(hŒEUsers may also set the IPsec packet capability of the function using ”…”�”}”(hjåh²hh³Nh´Nubjl)�”}”(hŒ(`devlink port function set ipsec_packet`”h]”hŒ&devlink port function set ipsec_packet”…”�”}”(hjíh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jkhjåubhŒ command.”…”�”}”(hjåh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K�hjDh²hubhì)�”}”(hŒ[The ``migratable`` attribute may be set only on ports with ``DEVLINK_PORT_FLAVOUR_PCI_VF``.”h]”(hŒThe ”…”�”}”(hjh²hh³Nh´Nubhò)�”}”(hŒ``migratable``”h]”hŒ migratable”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjubhŒ) attribute may be set only on ports with ”…”�”}”(hjh²hh³Nh´Nubhò)�”}”(hŒ``DEVLINK_PORT_FLAVOUR_PCI_VF``”h]”hŒDEVLINK_PORT_FLAVOUR_PCI_VF”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjubhŒ.”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K’hjDh²hubhì)�”}”(hŒtUsers may also set the maximum IO event queues of the function using `devlink port function set max_io_eqs` command.”h]”(hŒEUsers may also set the maximum IO event queues of the function using ”…”�”}”(hj7h²hh³Nh´Nubjl)�”}”(hŒ&`devlink port function set max_io_eqs`”h]”hŒ$devlink port function set max_io_eqs”…”�”}”(hj?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jkhj7ubhŒ command.”…”�”}”(hj7h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K•hjDh²hubeh}”(h]”Œfunction-configuration”ah ]”h"]”Œfunction configuration”ah$]”h&]”uh1hÖhj«h²hh³hÇh´Kxubh×)�”}”(hhh]”hÜ)�”}”(hŒFunction attributes”h]”hŒFunction attributes”…”�”}”(hjbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhj_h²hh³hÇh´K™ubah}”(h]”Œfunction-attributes”ah ]”h"]”Œfunction attributes”ah$]”h&]”uh1hÖhj«h²hh³hÇh´K™ubeh}”(h]”Œpci-controllers”ah ]”h"]”Œpci controllers”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K=ubh×)�”}”(hhh]”(hÜ)�”}”(hŒMAC address setup”h]”hŒMAC address setup”…”�”}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhj€h²hh³hÇh´Kœubhì)�”}”(hŒpThe configured MAC address of the PCI VF/SF will be used by netdevice and rdma device created for the PCI VF/SF.”h]”hŒpThe configured MAC address of the PCI VF/SF will be used by netdevice and rdma device created for the PCI VF/SF.”…”�”}”(hj‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K�hj€h²hubhŒ bullet_list”“”)�”}”(hhh]”(hŒ list_item”“”)�”}”(hŒõGet the MAC address of the VF identified by its unique devlink port index:: $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 ”h]”(hì)�”}”(hŒKGet the MAC address of the VF identified by its unique devlink port index::”h]”hŒJGet the MAC address of the VF identified by its unique devlink port index:”…”�”}”(hjªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K hj¦ubjç)�”}”(hŒŸ$ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00”h]”hŒŸ$ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00”…”�”}”hj¸sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jæh³hÇh´K¢hj¦ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¤hj¡h²hh³hÇh´Nubj¥)�”}”(hXASet the MAC address of the VF identified by its unique devlink port index:: $ devlink port function set pci/0000:06:00.0/2 hw_addr 00:11:22:33:44:55 $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:11:22:33:44:55 ”h]”(hì)�”}”(hŒKSet the MAC address of the VF identified by its unique devlink port index::”h]”hŒJSet the MAC address of the VF identified by its unique devlink port index:”…”�”}”(hjÐh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K§hjÌubjç)�”}”(hŒé$ devlink port function set pci/0000:06:00.0/2 hw_addr 00:11:22:33:44:55 $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:11:22:33:44:55”h]”hŒé$ devlink port function set pci/0000:06:00.0/2 hw_addr 00:11:22:33:44:55 $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:11:22:33:44:55”…”�”}”hjÞsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jæh³hÇh´K©hjÌubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¤hj¡h²hh³hÇh´Nubj¥)�”}”(hŒÿGet the MAC address of the SF identified by its unique devlink port index:: $ devlink port show pci/0000:06:00.0/32768 pci/0000:06:00.0/32768: type eth netdev enp6s0pf0sf88 flavour pcisf pfnum 0 sfnum 88 function: hw_addr 00:00:00:00:00:00 ”h]”(hì)�”}”(hŒKGet the MAC address of the SF identified by its unique devlink port index::”h]”hŒJGet the MAC address of the SF identified by its unique devlink port index:”…”�”}”(hjöh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K°hjòubjç)�”}”(hŒ©$ devlink port show pci/0000:06:00.0/32768 pci/0000:06:00.0/32768: type eth netdev enp6s0pf0sf88 flavour pcisf pfnum 0 sfnum 88 function: hw_addr 00:00:00:00:00:00”h]”hŒ©$ devlink port show pci/0000:06:00.0/32768 pci/0000:06:00.0/32768: type eth netdev enp6s0pf0sf88 flavour pcisf pfnum 0 sfnum 88 function: hw_addr 00:00:00:00:00:00”…”�”}”hjsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jæh³hÇh´K²hjòubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¤hj¡h²hh³hÇh´Nubj¥)�”}”(hXOSet the MAC address of the SF identified by its unique devlink port index:: $ devlink port function set pci/0000:06:00.0/32768 hw_addr 00:00:00:00:88:88 $ devlink port show pci/0000:06:00.0/32768 pci/0000:06:00.0/32768: type eth netdev enp6s0pf0sf88 flavour pcisf pfnum 0 sfnum 88 function: hw_addr 00:00:00:00:88:88 ”h]”(hì)�”}”(hŒKSet the MAC address of the SF identified by its unique devlink port index::”h]”hŒJSet the MAC address of the SF identified by its unique devlink port index:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K·hjubjç)�”}”(hŒ÷$ devlink port function set pci/0000:06:00.0/32768 hw_addr 00:00:00:00:88:88 $ devlink port show pci/0000:06:00.0/32768 pci/0000:06:00.0/32768: type eth netdev enp6s0pf0sf88 flavour pcisf pfnum 0 sfnum 88 function: hw_addr 00:00:00:00:88:88”h]”hŒ÷$ devlink port function set pci/0000:06:00.0/32768 hw_addr 00:00:00:00:88:88 $ devlink port show pci/0000:06:00.0/32768 pci/0000:06:00.0/32768: type eth netdev enp6s0pf0sf88 flavour pcisf pfnum 0 sfnum 88 function: hw_addr 00:00:00:00:88:88”…”�”}”hj*sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jæh³hÇh´K¹hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¤hj¡h²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1jŸh³hÇh´K hj€h²hubeh}”(h]”Œmac-address-setup”ah ]”h"]”Œmac address setup”ah$]”h&]”uh1hÖhhØh²hh³hÇh´Kœubh×)�”}”(hhh]”(hÜ)�”}”(hŒRoCE capability setup”h]”hŒRoCE capability setup”…”�”}”(hjQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjNh²hh³hÇh´KÁubhì)�”}”(hŒ,Not all PCI VFs/SFs require RoCE capability.”h]”hŒ,Not all PCI VFs/SFs require RoCE capability.”…”�”}”(hj_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´KÂhjNh²hubhì)�”}”(hŒGWhen RoCE capability is disabled, it saves system memory per PCI VF/SF.”h]”hŒGWhen RoCE capability is disabled, it saves system memory per PCI VF/SF.”…”�”}”(hjmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´KÄhjNh²hubhì)�”}”(hŒªWhen user disables RoCE capability for a VF/SF, user application cannot send or receive any RoCE packets through this VF/SF and RoCE GID table for this PCI will be empty.”h]”hŒªWhen user disables RoCE capability for a VF/SF, user application cannot send or receive any RoCE packets through this VF/SF and RoCE GID table for this PCI will be empty.”…”�”}”(hj{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´KÆhjNh²hubhì)�”}”(hŒnWhen RoCE capability is disabled in the device using port function attribute, VF/SF driver cannot override it.”h]”hŒnWhen RoCE capability is disabled in the device using port function attribute, VF/SF driver cannot override it.”…”�”}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´KÊhjNh²hubj )�”}”(hhh]”(j¥)�”}”(hŒâGet RoCE capability of the VF device:: $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 roce enable ”h]”(hì)�”}”(hŒ&Get RoCE capability of the VF device::”h]”hŒ%Get RoCE capability of the VF device:”…”�”}”(hjžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´KÍhjšubjç)�”}”(hŒ±$ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 roce enable”h]”hŒ±$ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 roce enable”…”�”}”hj¬sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jæh³hÇh´KÏhjšubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¤hj—h²hh³hÇh´Nubj¥)�”}”(hX"Set RoCE capability of the VF device:: $ devlink port function set pci/0000:06:00.0/2 roce disable $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 roce disable ”h]”(hì)�”}”(hŒ&Set RoCE capability of the VF device::”h]”hŒ%Set RoCE capability of the VF device:”…”�”}”(hjÄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´KÔhjÀubjç)�”}”(hŒï$ devlink port function set pci/0000:06:00.0/2 roce disable $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 roce disable”h]”hŒï$ devlink port function set pci/0000:06:00.0/2 roce disable $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 roce disable”…”�”}”hjÒsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jæh³hÇh´KÖhjÀubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¤hj—h²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jDjEuh1jŸh³hÇh´KÍhjNh²hubeh}”(h]”Œroce-capability-setup”ah ]”h"]”Œroce capability setup”ah$]”h&]”uh1hÖhhØh²hh³hÇh´KÁubh×)�”}”(hhh]”(hÜ)�”}”(hŒmigratable capability setup”h]”hŒmigratable capability setup”…”�”}”(hj÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjôh²hh³hÇh´KÞubhì)�”}”(hŒ�Live migration is the process of transferring a live virtual machine from one physical host to another without disrupting its normal operation.”h]”hŒ�Live migration is the process of transferring a live virtual machine from one physical host to another without disrupting its normal operation.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Kßhjôh²hubhì)�”}”(hŒrUser who want PCI VFs to be able to perform live migration need to explicitly enable the VF migratable capability.”h]”hŒrUser who want PCI VFs to be able to perform live migration need to explicitly enable the VF migratable capability.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Kãhjôh²hubhì)�”}”(hŒ¹When user enables migratable capability for a VF, and the HV binds the VF to VFIO driver with migration support, the user can migrate the VM with this VF from one HV to a different one.”h]”hŒ¹When user enables migratable capability for a VF, and the HV binds the VF to VFIO driver with migration support, the user can migrate the VM with this VF from one HV to a different one.”…”�”}”(hj!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Kæhjôh²hubhì)�”}”(hŒ°However, when migratable capability is enable, device will disable features which cannot be migrated. Thus migratable cap can impose limitations on a VF so let the user decide.”h]”hŒ°However, when migratable capability is enable, device will disable features which cannot be migrated. Thus migratable cap can impose limitations on a VF so let the user decide.”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Kêhjôh²hubhì)�”}”(hŒdExample of LM with migratable function configuration: - Get migratable capability of the VF device::”h]”hŒcExample of LM with migratable function configuration: - Get migratable capability of the VF device:”…”�”}”(hj=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Kíhjôh²hubjç)�”}”(hŒ¸$ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 migratable disable”h]”hŒ¸$ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 migratable disable”…”�”}”hjKsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jæh³hÇh´Kðhjôh²hubj )�”}”(hhh]”(j¥)�”}”(hX2Set migratable capability of the VF device:: $ devlink port function set pci/0000:06:00.0/2 migratable enable $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 migratable enable ”h]”(hì)�”}”(hŒ,Set migratable capability of the VF device::”h]”hŒ+Set migratable capability of the VF device:”…”�”}”(hj`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Kõhj\ubjç)�”}”(hŒù$ devlink port function set pci/0000:06:00.0/2 migratable enable $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 migratable enable”h]”hŒù$ devlink port function set pci/0000:06:00.0/2 migratable enable $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 migratable enable”…”�”}”hjnsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jæh³hÇh´K÷hj\ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¤hjYh²hh³hÇh´Nubj¥)�”}”(hXBind VF to VFIO driver with migration support:: $ echo > /sys/bus/pci/devices/0000:08:00.0/driver/unbind $ echo mlx5_vfio_pci > /sys/bus/pci/devices/0000:08:00.0/driver_override $ echo > /sys/bus/pci/devices/0000:08:00.0/driver/bind ”h]”(hì)�”}”(hŒ/Bind VF to VFIO driver with migration support::”h]”hŒ.Bind VF to VFIO driver with migration support:”…”�”}”(hj†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Kþhj‚ubjç)�”}”(hŒÊ$ echo > /sys/bus/pci/devices/0000:08:00.0/driver/unbind $ echo mlx5_vfio_pci > /sys/bus/pci/devices/0000:08:00.0/driver_override $ echo > /sys/bus/pci/devices/0000:08:00.0/driver/bind”h]”hŒÊ$ echo > /sys/bus/pci/devices/0000:08:00.0/driver/unbind $ echo mlx5_vfio_pci > /sys/bus/pci/devices/0000:08:00.0/driver_override $ echo > /sys/bus/pci/devices/0000:08:00.0/driver/bind”…”�”}”hj”sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jæh³hÇh´Mhj‚ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¤hjYh²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jDjEuh1jŸh³hÇh´Kõhjôh²hubhì)�”}”(hŒ:Attach VF to the VM. Start the VM. Perform live migration.”h]”hŒ:Attach VF to the VM. Start the VM. Perform live migration.”…”�”}”(hj®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Mhjôh²hubeh}”(h]”Œmigratable-capability-setup”ah ]”h"]”Œmigratable capability setup”ah$]”h&]”uh1hÖhhØh²hh³hÇh´KÞubh×)�”}”(hhh]”(hÜ)�”}”(hŒIPsec crypto capability setup”h]”hŒIPsec crypto capability setup”…”�”}”(hjÇh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjÄh²hh³hÇh´M ubhì)�”}”(hŒŠWhen user enables IPsec crypto capability for a VF, user application can offload XFRM state crypto operation (Encrypt/Decrypt) to this VF.”h]”hŒŠWhen user enables IPsec crypto capability for a VF, user application can offload XFRM state crypto operation (Encrypt/Decrypt) to this VF.”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´M hjÄh²hubhì)�”}”(hŒsWhen IPsec crypto capability is disabled (default) for a VF, the XFRM state is processed in software by the kernel.”h]”hŒsWhen IPsec crypto capability is disabled (default) for a VF, the XFRM state is processed in software by the kernel.”…”�”}”(hjãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´M hjÄh²hubj )�”}”(hhh]”(j¥)�”}”(hŒôGet IPsec crypto capability of the VF device:: $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 ipsec_crypto disabled ”h]”(hì)�”}”(hŒ.Get IPsec crypto capability of the VF device::”h]”hŒ-Get IPsec crypto capability of the VF device:”…”�”}”(hjøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Mhjôubjç)�”}”(hŒ»$ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 ipsec_crypto disabled”h]”hŒ»$ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 ipsec_crypto disabled”…”�”}”hj sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jæh³hÇh´Mhjôubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¤hjñh²hh³hÇh´Nubj¥)�”}”(hX9Set IPsec crypto capability of the VF device:: $ devlink port function set pci/0000:06:00.0/2 ipsec_crypto enable $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 ipsec_crypto enabled ”h]”(hì)�”}”(hŒ.Set IPsec crypto capability of the VF device::”h]”hŒ-Set IPsec crypto capability of the VF device:”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Mhj ubjç)�”}”(hŒþ$ devlink port function set pci/0000:06:00.0/2 ipsec_crypto enable $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 ipsec_crypto enabled”h]”hŒþ$ devlink port function set pci/0000:06:00.0/2 ipsec_crypto enable $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 ipsec_crypto enabled”…”�”}”hj, sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jæh³hÇh´Mhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¤hjñh²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jDjEuh1jŸh³hÇh´MhjÄh²hubeh}”(h]”Œipsec-crypto-capability-setup”ah ]”h"]”Œipsec crypto capability setup”ah$]”h&]”uh1hÖhhØh²hh³hÇh´M ubh×)�”}”(hhh]”(hÜ)�”}”(hŒIPsec packet capability setup”h]”hŒIPsec packet capability setup”…”�”}”(hjQ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjN h²hh³hÇh´M!ubhì)�”}”(hŒµWhen user enables IPsec packet capability for a VF, user application can offload XFRM state and policy crypto operation (Encrypt/Decrypt) to this VF, as well as IPsec encapsulation.”h]”hŒµWhen user enables IPsec packet capability for a VF, user application can offload XFRM state and policy crypto operation (Encrypt/Decrypt) to this VF, as well as IPsec encapsulation.”…”�”}”(hj_ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´M"hjN h²hubhì)�”}”(hŒ~When IPsec packet capability is disabled (default) for a VF, the XFRM state and policy is processed in software by the kernel.”h]”hŒ~When IPsec packet capability is disabled (default) for a VF, the XFRM state and policy is processed in software by the kernel.”…”�”}”(hjm h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´M&hjN h²hubj )�”}”(hhh]”(j¥)�”}”(hŒôGet IPsec packet capability of the VF device:: $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 ipsec_packet disabled ”h]”(hì)�”}”(hŒ.Get IPsec packet capability of the VF device::”h]”hŒ-Get IPsec packet capability of the VF device:”…”�”}”(hj‚ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´M)hj~ ubjç)�”}”(hŒ»$ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 ipsec_packet disabled”h]”hŒ»$ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 ipsec_packet disabled”…”�”}”hj� sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jæh³hÇh´M+hj~ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¤hj{ h²hh³hÇh´Nubj¥)�”}”(hX9Set IPsec packet capability of the VF device:: $ devlink port function set pci/0000:06:00.0/2 ipsec_packet enable $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 ipsec_packet enabled ”h]”(hì)�”}”(hŒ.Set IPsec packet capability of the VF device::”h]”hŒ-Set IPsec packet capability of the VF device:”…”�”}”(hj¨ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´M0hj¤ ubjç)�”}”(hŒþ$ devlink port function set pci/0000:06:00.0/2 ipsec_packet enable $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 ipsec_packet enabled”h]”hŒþ$ devlink port function set pci/0000:06:00.0/2 ipsec_packet enable $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 ipsec_packet enabled”…”�”}”hj¶ sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jæh³hÇh´M2hj¤ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¤hj{ h²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jDjEuh1jŸh³hÇh´M)hjN h²hubeh}”(h]”Œipsec-packet-capability-setup”ah ]”h"]”Œipsec packet capability setup”ah$]”h&]”uh1hÖhhØh²hh³hÇh´M!ubh×)�”}”(hhh]”(hÜ)�”}”(hŒMaximum IO events queues setup”h]”hŒMaximum IO events queues setup”…”�”}”(hjÛ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjØ h²hh³hÇh´M:ubhì)�”}”(hŒ–When user sets maximum number of IO event queues for a SF or a VF, such function driver is limited to consume only enforced number of IO event queues.”h]”hŒ–When user sets maximum number of IO event queues for a SF or a VF, such function driver is limited to consume only enforced number of IO event queues.”…”�”}”(hjé h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´M;hjØ h²hubhì)�”}”(hXÑIO event queues deliver events related to IO queues, including network device transmit and receive queues (txq and rxq) and RDMA Queue Pairs (QPs). For example, the number of netdevice channels and RDMA device completion vectors are derived from the function's IO event queues. Usually, the number of interrupt vectors consumed by the driver is limited by the number of IO event queues per device, as each of the IO event queues is connected to an interrupt vector.”h]”hXÓIO event queues deliver events related to IO queues, including network device transmit and receive queues (txq and rxq) and RDMA Queue Pairs (QPs). For example, the number of netdevice channels and RDMA device completion vectors are derived from the function’s IO event queues. Usually, the number of interrupt vectors consumed by the driver is limited by the number of IO event queues per device, as each of the IO event queues is connected to an interrupt vector.”…”�”}”(hj÷ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´M?hjØ h²hubj )�”}”(hhh]”(j¥)�”}”(hXGet maximum IO event queues of the VF device:: $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 ipsec_packet disabled max_io_eqs 10 ”h]”(hì)�”}”(hŒ.Get maximum IO event queues of the VF device::”h]”hŒ-Get maximum IO event queues of the VF device:”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´MGhj ubjç)�”}”(hŒÉ$ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 ipsec_packet disabled max_io_eqs 10”h]”hŒÉ$ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 ipsec_packet disabled max_io_eqs 10”…”�”}”hj sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jæh³hÇh´MIhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¤hj h²hh³hÇh´Nubj¥)�”}”(hXBSet maximum IO event queues of the VF device:: $ devlink port function set pci/0000:06:00.0/2 max_io_eqs 32 $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 ipsec_packet disabled max_io_eqs 32 ”h]”(hì)�”}”(hŒ.Set maximum IO event queues of the VF device::”h]”hŒ-Set maximum IO event queues of the VF device:”…”�”}”(hj2 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´MNhj. ubjç)�”}”(hX$ devlink port function set pci/0000:06:00.0/2 max_io_eqs 32 $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 ipsec_packet disabled max_io_eqs 32”h]”hX$ devlink port function set pci/0000:06:00.0/2 max_io_eqs 32 $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 ipsec_packet disabled max_io_eqs 32”…”�”}”hj@ sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jæh³hÇh´MPhj. ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¤hj h²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jDjEuh1jŸh³hÇh´MGhjØ h²hubh×)�”}”(hhh]”(hÜ)�”}”(hŒ Subfunction”h]”hŒ Subfunction”…”�”}”(hj] h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjZ h²hh³hÇh´MXubhì)�”}”(hX+Subfunction is a lightweight function that has a parent PCI function on which it is deployed. Subfunction is created and deployed in unit of 1. Unlike SRIOV VFs, a subfunction doesn't require its own PCI virtual function. A subfunction communicates with the hardware through the parent PCI function.”h]”hX-Subfunction is a lightweight function that has a parent PCI function on which it is deployed. Subfunction is created and deployed in unit of 1. Unlike SRIOV VFs, a subfunction doesn’t require its own PCI virtual function. A subfunction communicates with the hardware through the parent PCI function.”…”�”}”(hjk h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´MZhjZ h²hubhì)�”}”(hŒ9To use a subfunction, 3 steps setup sequence is followed:”h]”hŒ9To use a subfunction, 3 steps setup sequence is followed:”…”�”}”(hjy h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´M_hjZ h²hubhŒenumerated_list”“”)�”}”(hhh]”(j¥)�”}”(hŒcreate - create a subfunction;”h]”hì)�”}”(hjŽ h]”hŒcreate - create a subfunction;”…”�”}”(hj� h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´MahjŒ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j¤hj‰ h²hh³hÇh´Nubj¥)�”}”(hŒ-configure - configure subfunction attributes;”h]”hì)�”}”(hj¥ h]”hŒ-configure - configure subfunction attributes;”…”�”}”(hj§ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Mbhj£ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j¤hj‰ h²hh³hÇh´Nubj¥)�”}”(hŒ!deploy - deploy the subfunction; ”h]”hì)�”}”(hŒ deploy - deploy the subfunction;”h]”hŒ deploy - deploy the subfunction;”…”�”}”(hj¾ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Mchjº ubah}”(h]”h ]”h"]”h$]”h&]”uh1j¤hj‰ h²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œenumtype”Œarabic”Œprefix”hŒsuffix”Œ)”uh1j‡ hjZ h²hh³hÇh´Maubhì)�”}”(hŒ{Subfunction management is done using devlink port user interface. User performs setup on the subfunction management device.”h]”hŒ{Subfunction management is done using devlink port user interface. User performs setup on the subfunction management device.”…”�”}”(hjÝ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´MehjZ h²hubeh}”(h]”Œ subfunction”ah ]”h"]”Œ subfunction”ah$]”h&]”uh1hÖhjØ h²hh³hÇh´MXubeh}”(h]”Œmaximum-io-events-queues-setup”ah ]”h"]”Œmaximum io events queues setup”ah$]”h&]”uh1hÖhhØh²hh³hÇh´M:ubh×)�”}”(hhh]”(hÜ)�”}”(hŒ (1) Create”h]”hŒ (1) Create”…”�”}”(hjþ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjû h²hh³hÇh´Miubhì)�”}”(hX†A subfunction is created using a devlink port interface. A user adds the subfunction by adding a devlink port of subfunction flavour. The devlink kernel code calls down to subfunction management driver (devlink ops) and asks it to create a subfunction devlink port. Driver then instantiates the subfunction port and any associated objects such as health reporters and representor netdevice.”h]”hX†A subfunction is created using a devlink port interface. A user adds the subfunction by adding a devlink port of subfunction flavour. The devlink kernel code calls down to subfunction management driver (devlink ops) and asks it to create a subfunction devlink port. Driver then instantiates the subfunction port and any associated objects such as health reporters and representor netdevice.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Mjhjû h²hubeh}”(h]”Œcreate”ah ]”h"]”Œ (1) create”ah$]”h&]”uh1hÖhhØh²hh³hÇh´Miubh×)�”}”(hhh]”(hÜ)�”}”(hŒ (2) Configure”h]”hŒ (2) Configure”…”�”}”(hj% h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhj" h²hh³hÇh´Mrubhì)�”}”(hXµA subfunction devlink port is created but it is not active yet. That means the entities are created on devlink side, the e-switch port representor is created, but the subfunction device itself is not created. A user might use e-switch port representor to do settings, putting it into bridge, adding TC rules, etc. A user might as well configure the hardware address (such as MAC address) of the subfunction while subfunction is inactive.”h]”hXµA subfunction devlink port is created but it is not active yet. That means the entities are created on devlink side, the e-switch port representor is created, but the subfunction device itself is not created. A user might use e-switch port representor to do settings, putting it into bridge, adding TC rules, etc. A user might as well configure the hardware address (such as MAC address) of the subfunction while subfunction is inactive.”…”�”}”(hj3 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Mshj" h²hubeh}”(h]”Œ configure”ah ]”h"]”Œ (2) configure”ah$]”h&]”uh1hÖhhØh²hh³hÇh´Mrubh×)�”}”(hhh]”(hÜ)�”}”(hŒ (3) Deploy”h]”hŒ (3) Deploy”…”�”}”(hjL h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjI h²hh³hÇh´M{ubhì)�”}”(hX�Once a subfunction is configured, user must activate it to use it. Upon activation, subfunction management driver asks the subfunction management device to instantiate the subfunction device on particular PCI function. A subfunction device is created on the :ref:`Documentation/driver-api/auxiliary_bus.rst `. At this point a matching subfunction driver binds to the subfunction's auxiliary device.”h]”(hXOnce a subfunction is configured, user must activate it to use it. Upon activation, subfunction management driver asks the subfunction management device to instantiate the subfunction device on particular PCI function. A subfunction device is created on the ”…”�”}”(hjZ h²hh³Nh´Nubh)�”}”(hŒA:ref:`Documentation/driver-api/auxiliary_bus.rst `”h]”hŒinline”“”)�”}”(hjd h]”hŒ*Documentation/driver-api/auxiliary_bus.rst”…”�”}”(hjh h²hh³Nh´Nubah}”(h]”h ]”(Œxref”Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jf hjb ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œnetworking/devlink/devlink-port”Œ refdomain”js Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆŒ reftarget”Œ auxiliary_bus”uh1hh³hÇh´M|hjZ ubhŒ\. At this point a matching subfunction driver binds to the subfunction’s auxiliary device.”…”�”}”(hjZ h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´M|hjI h²hubh×)�”}”(hhh]”(hÜ)�”}”(hŒRate object management”h]”hŒRate object management”…”�”}”(hj” h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhj‘ h²hh³hÇh´Mƒubhì)�”}”(hŒ�Devlink provides API to manage tx rates of single devlink port or a group. This is done through rate objects, which can be one of the two types:”h]”hŒ�Devlink provides API to manage tx rates of single devlink port or a group. This is done through rate objects, which can be one of the two types:”…”�”}”(hj¢ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´M…hj‘ h²hubhŒdefinition_list”“”)�”}”(hhh]”(hŒdefinition_list_item”“”)�”}”(hŒ¿``leaf`` Represents a single devlink port; created/destroyed by the driver. Since leaf have 1to1 mapping to its devlink port, in user space it is referred as ``pci//``; ”h]”(hŒterm”“”)�”}”(hŒ``leaf``”h]”hò)�”}”(hj¿ h]”hŒleaf”…”�”}”(hjÁ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj½ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j» h³hÇh´M‹hj· ubhŒ definition”“”)�”}”(hhh]”hì)�”}”(hŒµRepresents a single devlink port; created/destroyed by the driver. Since leaf have 1to1 mapping to its devlink port, in user space it is referred as ``pci//``;”h]”(hŒ•Represents a single devlink port; created/destroyed by the driver. Since leaf have 1to1 mapping to its devlink port, in user space it is referred as ”…”�”}”(hjÙ h²hh³Nh´Nubhò)�”}”(hŒ``pci//``”h]”hŒpci//”…”�”}”(hjá h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjÙ ubhŒ;”…”�”}”(hjÙ h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´M‰hjÖ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÔ hj· ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jµ h³hÇh´M‹hj² ubj¶ )�”}”(hX;``node`` Represents a group of rate objects (leafs and/or nodes); created/deleted by request from the userspace; initially empty (no rate objects added). In userspace it is referred as ``pci//``, where ``node_name`` can be any identifier, except decimal number, to avoid collisions with leafs. ”h]”(j¼ )�”}”(hŒ``node``”h]”hò)�”}”(hj h]”hŒnode”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j» h³hÇh´M’hj ubjÕ )�”}”(hhh]”hì)�”}”(hX1Represents a group of rate objects (leafs and/or nodes); created/deleted by request from the userspace; initially empty (no rate objects added). In userspace it is referred as ``pci//``, where ``node_name`` can be any identifier, except decimal number, to avoid collisions with leafs.”h]”(hŒ°Represents a group of rate objects (leafs and/or nodes); created/deleted by request from the userspace; initially empty (no rate objects added). In userspace it is referred as ”…”�”}”(hj# h²hh³Nh´Nubhò)�”}”(hŒ``pci//``”h]”hŒpci//”…”�”}”(hj+ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj# ubhŒ, where ”…”�”}”(hj# h²hh³Nh´Nubhò)�”}”(hŒ ``node_name``”h]”hŒ node_name”…”�”}”(hj= h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj# ubhŒN can be any identifier, except decimal number, to avoid collisions with leafs.”…”�”}”(hj# h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´MŽhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÔ hj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jµ h³hÇh´M’hj² h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j° hj‘ h²hh³hÇh´Nubhì)�”}”(hŒ;API allows to configure following rate object's parameters:”h]”hŒ=API allows to configure following rate object’s parameters:”…”�”}”(hjg h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´M”hj‘ h²hubj± )�”}”(hhh]”(j¶ )�”}”(hŒ›``tx_share`` Minimum TX rate value shared among all other rate objects, or rate objects that parts of the parent group, if it is a part of the same group. ”h]”(j¼ )�”}”(hŒ ``tx_share``”h]”hò)�”}”(hj~ h]”hŒtx_share”…”�”}”(hj€ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj| ubah}”(h]”h ]”h"]”h$]”h&]”uh1j» h³hÇh´M˜hjx ubjÕ )�”}”(hhh]”hì)�”}”(hŒ�Minimum TX rate value shared among all other rate objects, or rate objects that parts of the parent group, if it is a part of the same group.”h]”hŒ�Minimum TX rate value shared among all other rate objects, or rate objects that parts of the parent group, if it is a part of the same group.”…”�”}”(hj– h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´M—hj“ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÔ hjx ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jµ h³hÇh´M˜hju ubj¶ )�”}”(hŒ"``tx_max`` Maximum TX rate value. ”h]”(j¼ )�”}”(hŒ ``tx_max``”h]”hò)�”}”(hj¶ h]”hŒtx_max”…”�”}”(hj¸ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj´ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j» h³hÇh´M›hj° ubjÕ )�”}”(hhh]”hì)�”}”(hŒMaximum TX rate value.”h]”hŒMaximum TX rate value.”…”�”}”(hjÎ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´M›hjË ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÔ hj° ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jµ h³hÇh´M›hju h²hubj¶ )�”}”(hX4``tx_priority`` Allows for usage of strict priority arbiter among siblings. This arbitration scheme attempts to schedule nodes based on their priority as long as the nodes remain within their bandwidth limit. The higher the priority the higher the probability that the node will get selected for scheduling. ”h]”(j¼ )�”}”(hŒ``tx_priority``”h]”hò)�”}”(hjî h]”hŒ tx_priority”…”�”}”(hjð h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjì ubah}”(h]”h ]”h"]”h$]”h&]”uh1j» h³hÇh´M¢hjè ubjÕ )�”}”(hhh]”hì)�”}”(hX#Allows for usage of strict priority arbiter among siblings. This arbitration scheme attempts to schedule nodes based on their priority as long as the nodes remain within their bandwidth limit. The higher the priority the higher the probability that the node will get selected for scheduling.”h]”hX#Allows for usage of strict priority arbiter among siblings. This arbitration scheme attempts to schedule nodes based on their priority as long as the nodes remain within their bandwidth limit. The higher the priority the higher the probability that the node will get selected for scheduling.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Mžhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÔ hjè ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jµ h³hÇh´M¢hju h²hubj¶ )�”}”(hXv``tx_weight`` Allows for usage of Weighted Fair Queuing arbitration scheme among siblings. This arbitration scheme can be used simultaneously with the strict priority. As a node is configured with a higher rate it gets more BW relative to its siblings. Values are relative like a percentage points, they basically tell how much BW should node take relative to its siblings. ”h]”(j¼ )�”}”(hŒ ``tx_weight``”h]”hò)�”}”(hj& h]”hŒ tx_weight”…”�”}”(hj( h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj$ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j» h³hÇh´Mªhj ubjÕ )�”}”(hhh]”hì)�”}”(hXgAllows for usage of Weighted Fair Queuing arbitration scheme among siblings. This arbitration scheme can be used simultaneously with the strict priority. As a node is configured with a higher rate it gets more BW relative to its siblings. Values are relative like a percentage points, they basically tell how much BW should node take relative to its siblings.”h]”hXgAllows for usage of Weighted Fair Queuing arbitration scheme among siblings. This arbitration scheme can be used simultaneously with the strict priority. As a node is configured with a higher rate it gets more BW relative to its siblings. Values are relative like a percentage points, they basically tell how much BW should node take relative to its siblings.”…”�”}”(hj> h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´M¥hj; ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÔ hj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jµ h³hÇh´Mªhju h²hubj¶ )�”}”(hX\``parent`` Parent node name. Parent node rate limits are considered as additional limits to all node children limits. ``tx_max`` is an upper limit for children. ``tx_share`` is a total bandwidth distributed among children. If the device supports cross-function scheduling, the parent can be from a different function of the same underlying device. ”h]”(j¼ )�”}”(hŒ ``parent``”h]”hò)�”}”(hj^ h]”hŒparent”…”�”}”(hj` h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj\ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j» h³hÇh´M±hjX ubjÕ )�”}”(hhh]”hì)�”}”(hXPParent node name. Parent node rate limits are considered as additional limits to all node children limits. ``tx_max`` is an upper limit for children. ``tx_share`` is a total bandwidth distributed among children. If the device supports cross-function scheduling, the parent can be from a different function of the same underlying device.”h]”(hŒkParent node name. Parent node rate limits are considered as additional limits to all node children limits. ”…”�”}”(hjv h²hh³Nh´Nubhò)�”}”(hŒ ``tx_max``”h]”hŒtx_max”…”�”}”(hj~ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjv ubhŒ! is an upper limit for children. ”…”�”}”(hjv h²hh³Nh´Nubhò)�”}”(hŒ ``tx_share``”h]”hŒtx_share”…”�”}”(hj� h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjv ubhŒ® is a total bandwidth distributed among children. If the device supports cross-function scheduling, the parent can be from a different function of the same underlying device.”…”�”}”(hjv h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´M­hjs ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÔ hjX ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jµ h³hÇh´M±h•¢>ju h²hubj¶ )�”}”(hX–``tc_bw`` Allow users to set the bandwidth allocation per traffic class on rate objects. This enables fine-grained QoS configurations by assigning a relative share value to each traffic class. The bandwidth is distributed in proportion to the share value for each class, relative to the sum of all shares. When applied to a non-leaf node, tc_bw determines how bandwidth is shared among its child elements. ”h]”(j¼ )�”}”(hŒ ``tc_bw``”h]”hò)�”}”(hjº h]”hŒtc_bw”…”�”}”(hj¼ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj¸ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j» h³hÇh´M¹hj´ ubjÕ )�”}”(hhh]”hì)�”}”(hX‹Allow users to set the bandwidth allocation per traffic class on rate objects. This enables fine-grained QoS configurations by assigning a relative share value to each traffic class. The bandwidth is distributed in proportion to the share value for each class, relative to the sum of all shares. When applied to a non-leaf node, tc_bw determines how bandwidth is shared among its child elements.”h]”hX‹Allow users to set the bandwidth allocation per traffic class on rate objects. This enables fine-grained QoS configurations by assigning a relative share value to each traffic class. The bandwidth is distributed in proportion to the share value for each class, relative to the sum of all shares. When applied to a non-leaf node, tc_bw determines how bandwidth is shared among its child elements.”…”�”}”(hjÒ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´M´hjÏ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÔ hj´ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jµ h³hÇh´M¹hju h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j° hj‘ h²hh³hÇh´Nubhì)�”}”(hŒÉ``tx_priority`` and ``tx_weight`` can be used simultaneously. In that case nodes with the same priority form a WFQ subgroup in the sibling group and arbitration among them is based on assigned weights.”h]”(hò)�”}”(hŒ``tx_priority``”h]”hŒ tx_priority”…”�”}”(hjö h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjò ubhŒ and ”…”�”}”(hjò h²hh³Nh´Nubhò)�”}”(hŒ ``tx_weight``”h]”hŒ tx_weight”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjò ubhŒ¨ can be used simultaneously. In that case nodes with the same priority form a WFQ subgroup in the sibling group and arbitration among them is based on assigned weights.”…”�”}”(hjò h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´M»hj‘ h²hubhì)�”}”(hŒ%Arbitration flow from the high level:”h]”hŒ%Arbitration flow from the high level:”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´M¿hj‘ h²hubjˆ )�”}”(hhh]”(j¥)�”}”(hŒ¨Choose a node, or group of nodes with the highest priority that stays within the BW limit and are not blocked. Use ``tx_priority`` as a parameter for this arbitration. ”h]”hì)�”}”(hŒ§Choose a node, or group of nodes with the highest priority that stays within the BW limit and are not blocked. Use ``tx_priority`` as a parameter for this arbitration.”h]”(hŒsChoose a node, or group of nodes with the highest priority that stays within the BW limit and are not blocked. Use ”…”�”}”(hj5h²hh³Nh´Nubhò)�”}”(hŒ``tx_priority``”h]”hŒ tx_priority”…”�”}”(hj=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj5ubhŒ% as a parameter for this arbitration.”…”�”}”(hj5h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´MÁhj1ubah}”(h]”h ]”h"]”h$]”h&]”uh1j¤hj.h²hh³hÇh´Nubj¥)�”}”(hŒŠIf group of nodes have the same priority perform WFQ arbitration on that subgroup. Use ``tx_weight`` as a parameter for this arbitration. ”h]”hì)�”}”(hŒ‰If group of nodes have the same priority perform WFQ arbitration on that subgroup. Use ``tx_weight`` as a parameter for this arbitration.”h]”(hŒWIf group of nodes have the same priority perform WFQ arbitration on that subgroup. Use ”…”�”}”(hj_h²hh³Nh´Nubhò)�”}”(hŒ ``tx_weight``”h]”hŒ tx_weight”…”�”}”(hjgh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj_ubhŒ% as a parameter for this arbitration.”…”�”}”(hj_h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´MÅhj[ubah}”(h]”h ]”h"]”h$]”h&]”uh1j¤hj.h²hh³hÇh´Nubj¥)�”}”(hŒ…Select the winner node, and continue arbitration flow among its children, until leaf node is reached, and the winner is established. ”h]”hì)�”}”(hŒ„Select the winner node, and continue arbitration flow among its children, until leaf node is reached, and the winner is established.”h]”hŒ„Select the winner node, and continue arbitration flow among its children, until leaf node is reached, and the winner is established.”…”�”}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´MÈhj…ubah}”(h]”h ]”h"]”h$]”h&]”uh1j¤hj.h²hh³hÇh´Nubj¥)�”}”(hŒ…If all the nodes from the highest priority sub-group are satisfied, or overused their assigned BW, move to the lower priority nodes. ”h]”hì)�”}”(hŒ„If all the nodes from the highest priority sub-group are satisfied, or overused their assigned BW, move to the lower priority nodes.”h]”hŒ„If all the nodes from the highest priority sub-group are satisfied, or overused their assigned BW, move to the lower priority nodes.”…”�”}”(hj¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´MËhj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1j¤hj.h²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jØ jÙ jÚ hjÛ Œ.”uh1j‡ hj‘ h²hh³hÇh´MÁubhì)�”}”(hŒ×Driver implementations are allowed to support both or either rate object types and setting methods of their parameters. Additionally driver implementation may export nodes/leafs and their child-parent relationships.”h]”hŒ×Driver implementations are allowed to support both or either rate object types and setting methods of their parameters. Additionally driver implementation may export nodes/leafs and their child-parent relationships.”…”�”}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´MÎhj‘ h²hubeh}”(h]”Œrate-object-management”ah ]”h"]”Œrate object management”ah$]”h&]”uh1hÖhjI h²hh³hÇh´Mƒubh×)�”}”(hhh]”(hÜ)�”}”(hŒTerms and Definitions”h]”hŒTerms and Definitions”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjÒh²hh³hÇh´MÓubj()�”}”(hhh]”(hÜ)�”}”(hŒTerms and Definitions”h]”hŒTerms and Definitions”…”�”}”(hjæh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛh³hÇh´MÕhjãubj;)�”}”(hhh]”(j@)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”jJKuh1j?hjôubj@)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”jJKZuh1j?hjôubjU)�”}”(hhh]”(jZ)�”}”(hhh]”(j_)�”}”(hhh]”hì)�”}”(hŒTerm”h]”hŒTerm”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´MØhjubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hj ubj_)�”}”(hhh]”hì)�”}”(hŒ Definitions”h]”hŒ Definitions”…”�”}”(hj)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´MÙhj&ubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jYhj ubjZ)�”}”(hhh]”(j_)�”}”(hhh]”hì)�”}”(hŒ``PCI device``”h]”hò)�”}”(hjKh]”hŒ PCI device”…”�”}”(hjMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjIubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´MÚhjFubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hjCubj_)�”}”(hhh]”hì)�”}”(hŒ[A physical PCI device having one or more PCI buses consists of one or more PCI controllers.”h]”hŒ[A physical PCI device having one or more PCI buses consists of one or more PCI controllers.”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´MÛhjfubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hjCubeh}”(h]”h ]”h"]”h$]”h&]”uh1jYhj ubjZ)�”}”(hhh]”(j_)�”}”(hhh]”hì)�”}”(hŒ``PCI controller``”h]”hò)�”}”(hj‹h]”hŒPCI controller”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´MÝhj†ubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hjƒubj_)�”}”(hhh]”hì)�”}”(hŒeA controller consists of potentially multiple physical functions, virtual functions and subfunctions.”h]”hŒeA controller consists of potentially multiple physical functions, virtual functions and subfunctions.”…”�”}”(hj©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´MÞhj¦ubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hjƒubeh}”(h]”h ]”h"]”h$]”h&]”uh1jYhj ubjZ)�”}”(hhh]”(j_)�”}”(hhh]”hì)�”}”(hŒ``Port function``”h]”hò)�”}”(hjËh]”hŒ Port function”…”�”}”(hjÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjÉubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´MàhjÆubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hjÃubj_)�”}”(hhh]”hì)�”}”(hŒ+An object to manage the function of a port.”h]”hŒ+An object to manage the function of a port.”…”�”}”(hjéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Máhjæubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hjÃubeh}”(h]”h ]”h"]”h$]”h&]”uh1jYhj ubjZ)�”}”(hhh]”(j_)�”}”(hhh]”hì)�”}”(hŒ``Subfunction``”h]”hò)�”}”(hj h]”hŒ Subfunction”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Mâhjubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hjubj_)�”}”(hhh]”hì)�”}”(hŒLA lightweight function that has parent PCI function on which it is deployed.”h]”hŒLA lightweight function that has parent PCI function on which it is deployed.”…”�”}”(hj)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Mãhj&ubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jYhj ubjZ)�”}”(hhh]”(j_)�”}”(hhh]”hì)�”}”(hŒ``Subfunction device``”h]”hò)�”}”(hjKh]”hŒSubfunction device”…”�”}”(hjMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjIubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´MåhjFubah}”(h]”h ]”h"]”h$]”h&]”uh1j^hjCubj_)�”}”(hhh]”hì)�”}”(hŒ