:orphan: .. index:: pair: group; PCI devices configuration of Test Agents .. _doxid-group__tapi__conf__ovs: PCI devices configuration of Test Agents ======================================== .. toctree:: :hidden: enum_tapi_cfg_ovs_cfg_type.rst struct_tapi_cfg_ovs_cfg.rst Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block // typedefs typedef enum :ref:`tapi_cfg_ovs_cfg_type` :ref:`tapi_cfg_ovs_cfg_type`; typedef struct :ref:`tapi_cfg_ovs_cfg` :ref:`tapi_cfg_ovs_cfg`; // enums enum :ref:`tapi_cfg_ovs_cfg_type`; // structs struct :ref:`tapi_cfg_ovs_cfg`; // global variables const char*const :ref:`tapi_cfg_ovs_cfg_name`[] = { [TAPI_CFG_OVS_CFG_DPDK_ALLOC_MEM] = TAPI_OVS_OTHER_CFG ":dpdk-alloc-mem", [TAPI_CFG_OVS_CFG_DPDK_SOCKET_MEM] = TAPI_OVS_OTHER_CFG ":dpdk-socket-mem", [TAPI_CFG_OVS_CFG_DPDK_LCORE_MASK] = TAPI_OVS_OTHER_CFG ":dpdk-lcore-mask", [TAPI_CFG_OVS_CFG_DPDK_HUGEPAGE_DIR] = TAPI_OVS_OTHER_CFG ":dpdk-hugepage-dir", [TAPI_CFG_OVS_CFG_DPDK_SOCKET_LIMIT] = TAPI_OVS_OTHER_CFG ":dpdk-socket-limit", [TAPI_CFG_OVS_CFG_DPDK_EXTRA] = TAPI_OVS_OTHER_CFG ":dpdk-extra", }; // global functions :ref:`te_errno` :ref:`tapi_cfg_ovs_convert_eal_args`(int argc, const char*const* argv, :ref:`tapi_cfg_ovs_cfg`* ovs_cfg); .. _details-group__tapi__conf__ovs: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Typedefs -------- .. index:: pair: typedef; tapi_cfg_ovs_cfg_type .. _doxid-group__tapi__conf__ovs_1ga174c6f879cfd87553b01efee8dcce8a5: .. ref-code-block:: cpp :class: doxyrest-title-code-block typedef enum :ref:`tapi_cfg_ovs_cfg_type` tapi_cfg_ovs_cfg_type Configuration entry type, see tapi_cfg_ovs_cfg_name for details .. index:: pair: typedef; tapi_cfg_ovs_cfg .. _doxid-group__tapi__conf__ovs_1gafb2dc8d2a9e66f7b02072b261f196f6f: .. ref-code-block:: cpp :class: doxyrest-title-code-block typedef struct :ref:`tapi_cfg_ovs_cfg` tapi_cfg_ovs_cfg Open vSwitch Configuration entry array Global Variables ---------------- .. index:: pair: variable; tapi_cfg_ovs_cfg_name .. _doxid-group__tapi__conf__ovs_1ga565ae5d17fb5c55be98577251b439e98: .. ref-code-block:: cpp :class: doxyrest-title-code-block const char*const tapi_cfg_ovs_cfg_name[] = { [TAPI_CFG_OVS_CFG_DPDK_ALLOC_MEM] = TAPI_OVS_OTHER_CFG ":dpdk-alloc-mem", [TAPI_CFG_OVS_CFG_DPDK_SOCKET_MEM] = TAPI_OVS_OTHER_CFG ":dpdk-socket-mem", [TAPI_CFG_OVS_CFG_DPDK_LCORE_MASK] = TAPI_OVS_OTHER_CFG ":dpdk-lcore-mask", [TAPI_CFG_OVS_CFG_DPDK_HUGEPAGE_DIR] = TAPI_OVS_OTHER_CFG ":dpdk-hugepage-dir", [TAPI_CFG_OVS_CFG_DPDK_SOCKET_LIMIT] = TAPI_OVS_OTHER_CFG ":dpdk-socket-limit", [TAPI_CFG_OVS_CFG_DPDK_EXTRA] = TAPI_OVS_OTHER_CFG ":dpdk-extra", } Configuration entry name. Names correspond to Open vSwitch configuration entries. Global Functions ---------------- .. index:: pair: function; tapi_cfg_ovs_convert_eal_args .. _doxid-group__tapi__conf__ovs_1gac9517ceb996370de616e6052818b17f8: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`te_errno` tapi_cfg_ovs_convert_eal_args(int argc, const char*const* argv, :ref:`tapi_cfg_ovs_cfg`* ovs_cfg) Convert raw DPDK EAL arguments into Open vSwitch configuration entries. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - argc - Number of arguments * - argv - EAL arguments * - ovs_cfg - Open vSwitch configuraion .. rubric:: Returns: Status code