€•'Œ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”Œ//translations/zh_CN/misc-devices/mrvl_cn10k_dpi”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ//translations/zh_TW/misc-devices/mrvl_cn10k_dpi”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ//translations/it_IT/misc-devices/mrvl_cn10k_dpi”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ//translations/ja_JP/misc-devices/mrvl_cn10k_dpi”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ//translations/ko_KR/misc-devices/mrvl_cn10k_dpi”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ//translations/pt_BR/misc-devices/mrvl_cn10k_dpi”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ//translations/sp_SP/misc-devices/mrvl_cn10k_dpi”Œ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³ŒI/var/lib/git/docbuild/linux/Documentation/misc-devices/mrvl_cn10k_dpi.rst”h´KubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒ/Marvell CN10K DMA packet interface (DPI) driver”h]”hŒ/Marvell CN10K DMA packet interface (DPI) driver”…””}”(hhÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhhÊh²hh³hÇh´KubhÉ)”}”(hhh]”(hÎ)”}”(hŒOverview”h]”hŒOverview”…””}”(hhàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhhÝh²hh³hÇh´KubhŒ paragraph”“”)”}”(hŒÎDPI is a DMA packet interface hardware block in Marvell's CN10K silicon. DPI hardware comprises a physical function (PF), its virtual functions, mailbox logic, and a set of DMA engines & DMA command queues.”h]”hŒÐDPI is a DMA packet interface hardware block in Marvell’s CN10K silicon. DPI hardware comprises a physical function (PF), its virtual functions, mailbox logic, and a set of DMA engines & DMA command queues.”…””}”(hhðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K hhÝh²hubhï)”}”(hŒ¡DPI PF function is an administrative function which services the mailbox requests from its VF functions and provisions DMA engine resources to it's VF functions.”h]”hŒ£DPI PF function is an administrative function which services the mailbox requests from its VF functions and provisions DMA engine resources to it’s VF functions.”…””}”(hhþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KhhÝh²hubhï)”}”(hXOmrvl_cn10k_dpi.ko misc driver loads on DPI PF device and services the mailbox commands submitted by the VF devices and accordingly initializes the DMA engines and VF device's DMA command queues. Also, driver creates /dev/mrvl-cn10k-dpi node to set DMA engine and PEM (PCIe interface) port attributes like fifo length, molr, mps & mrrs.”h]”hXQmrvl_cn10k_dpi.ko misc driver loads on DPI PF device and services the mailbox commands submitted by the VF devices and accordingly initializes the DMA engines and VF device’s DMA command queues. Also, driver creates /dev/mrvl-cn10k-dpi node to set DMA engine and PEM (PCIe interface) port attributes like fifo length, molr, mps & mrrs.”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KhhÝh²hubhï)”}”(hŒÓDPI PF driver is just an administrative driver to setup its VF device's queues and provisions the hardware resources, it cannot initiate any DMA operations. Only VF devices are provisioned with DMA capabilities.”h]”hŒÕDPI PF driver is just an administrative driver to setup its VF device’s queues and provisions the hardware resources, it cannot initiate any DMA operations. Only VF devices are provisioned with DMA capabilities.”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KhhÝh²hubeh}”(h]”Œoverview”ah ]”h"]”Œoverview”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KubhÉ)”}”(hhh]”(hÎ)”}”(hŒDriver location”h]”hŒDriver location”…””}”(hj3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj0h²hh³hÇh´Kubhï)”}”(hŒdrivers/misc/mrvl_cn10k_dpi.c”h]”hŒdrivers/misc/mrvl_cn10k_dpi.c”…””}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Khj0h²hubeh}”(h]”Œdriver-location”ah ]”h"]”Œdriver location”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KubhÉ)”}”(hhh]”(hÎ)”}”(hŒ Driver IOCTLs”h]”hŒ Driver IOCTLs”…””}”(hjZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjWh²hh³hÇh´K"ubhï)”}”(hŒ:c:macro:`DPI_MPS_MRRS_CFG` ioctl that sets max payload size & max read request size parameters of a pem port to which DMA engines are wired.”h]”(h)”}”(hŒ:c:macro:`DPI_MPS_MRRS_CFG`”h]”hŒliteral”“”)”}”(hjnh]”hŒDPI_MPS_MRRS_CFG”…””}”(hjrh²hh³Nh´Nubah}”(h]”h ]”(Œxref”Œc”Œc-macro”eh"]”h$]”h&]”uh1jphjlubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œmisc-devices/mrvl_cn10k_dpi”Œ refdomain”j}Œreftype”Œmacro”Œ refexplicit”‰Œrefwarn”‰Œ reftarget”ŒDPI_MPS_MRRS_CFG”uh1hh³hÇh´K$hjhubhŒr ioctl that sets max payload size & max read request size parameters of a pem port to which DMA engines are wired.”…””}”(hjhh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K$hjWh²hubhï)”}”(hŒl:c:macro:`DPI_ENGINE_CFG` ioctl that sets DMA engine's fifo sizes & max outstanding load request thresholds.”h]”(h)”}”(hŒ:c:macro:`DPI_ENGINE_CFG`”h]”jq)”}”(hj¡h]”hŒDPI_ENGINE_CFG”…””}”(hj£h²hh³Nh´Nubah}”(h]”h ]”(j|j}Œc-macro”eh"]”h$]”h&]”uh1jphjŸubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j‰Œ refdomain”j}Œreftype”Œmacro”Œ refexplicit”‰Œrefwarn”‰jŒDPI_ENGINE_CFG”uh1hh³hÇh´K)hj›ubhŒU ioctl that sets DMA engine’s fifo sizes & max outstanding load request thresholds.”…””}”(hj›h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K)hjWh²hubeh}”(h]”Œ driver-ioctls”ah ]”h"]”Œ driver ioctls”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´K"ubhÉ)”}”(hhh]”(hÎ)”}”(hŒUser space code example”h]”hŒUser space code example”…””}”(hjÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÐh²hh³hÇh´K.ubhï)”}”(hŒÝDPI VF devices are probed and accessed from user space applications using vfio-pci driver. Below is a sample dpi dma application to demonstrate on how applications use mailbox and ioctl services from DPI PF kernel driver.”h]”hŒÝDPI VF devices are probed and accessed from user space applications using vfio-pci driver. Below is a sample dpi dma application to demonstrate on how applications use mailbox and ioctl services from DPI PF kernel driver.”…””}”(hjáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K0hjÐh²hubhï)”}”(hŒ;https://github.com/MarvellEmbeddedProcessors/dpi-sample-app”h]”hŒ reference”“”)”}”(hjñh]”hŒ;https://github.com/MarvellEmbeddedProcessors/dpi-sample-app”…””}”(hjõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”jñuh1jóhjïubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K4hjÐh²hubeh}”(h]”Œuser-space-code-example”ah ]”h"]”Œuser space code example”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´K.ubeh}”(h]”Œ-marvell-cn10k-dma-packet-interface-dpi-driver”ah ]”h"]”Œ/marvell cn10k dma packet interface (dpi) driver”ah$]”h&]”uh1hÈhhh²hh³hÇh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÇuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(hÍNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”j<Œerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÇŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(jjj-j*jTjQjÍjÊjj uŒ nametypes”}”(j‰j-‰jT‰j͉j‰uh}”(jhÊj*hÝjQj0jÊjWj jÐuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.