.. index:: pair: struct; test_ethdev_config .. _doxid-structtest__ethdev__config: struct test_ethdev_config ========================= .. toctree:: :hidden: Overview ~~~~~~~~ Information about the configuration of the Ethernet device :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct test_ethdev_config { // fields tapi_env* :ref:`env`; rcf_rpc_server* :ref:`rpcs`; test_ethdev_state :ref:`cur_state`; te_bool :ref:`closed`; int :ref:`argc`; const char** :ref:`argv`; struct tarpc_rte_eth_dev_info :ref:`dev_info`; struct tarpc_rte_eth_conf* :ref:`eth_conf`; const char* :ref:`bus_name`; char :ref:`dev_name`[RPC_RTE_ETH_NAME_MAX_LEN]; uint16_t :ref:`port_id`; int :ref:`socket_id`; uint16_t :ref:`nb_rx_queue`; uint16_t :ref:`nb_tx_queue`; uint16_t :ref:`min_rx_desc`; uint16_t :ref:`min_tx_desc`; uint16_t :ref:`required_mtu`; te_bool :ref:`is_rx_setup`; struct tarpc_rte_eth_rxconf** :ref:`rx_confs`; struct tarpc_rte_eth_txconf** :ref:`tx_confs`; rpc_rte_mempool_p :ref:`mp`; struct :ref:`test_rx_mq`* :ref:`rx_mq`; }; .. _details-structtest__ethdev__config: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Information about the configuration of the Ethernet device Fields ------ .. index:: pair: variable; env .. _doxid-structtest__ethdev__config_1a3a997e072c1b3bcc15e4c8331e14d91f: .. ref-code-block:: cpp :class: doxyrest-title-code-block tapi_env* env Environment binding .. index:: pair: variable; rpcs .. _doxid-structtest__ethdev__config_1a7e4f330467246e062089cd05d92215ae: .. ref-code-block:: cpp :class: doxyrest-title-code-block rcf_rpc_server* rpcs RPC server handle .. index:: pair: variable; cur_state .. _doxid-structtest__ethdev__config_1af6c1385e1c3f98391ea063828be05550: .. ref-code-block:: cpp :class: doxyrest-title-code-block test_ethdev_state cur_state The current device state .. index:: pair: variable; closed .. _doxid-structtest__ethdev__config_1ad55c0f572b254087d1372b0bcd091ee7: .. ref-code-block:: cpp :class: doxyrest-title-code-block te_bool closed Device close call indicator .. index:: pair: variable; argc .. _doxid-structtest__ethdev__config_1a8f9376c09e4cbf01d1e53f3383231169: .. ref-code-block:: cpp :class: doxyrest-title-code-block int argc Number of additional EAL arguments .. index:: pair: variable; argv .. _doxid-structtest__ethdev__config_1aa2a728a4e337cdf23048474d02226ac5: .. ref-code-block:: cpp :class: doxyrest-title-code-block const char** argv Additional EAL arguments .. index:: pair: variable; dev_info .. _doxid-structtest__ethdev__config_1acabb58ab6a96e2158bcf0220a10f1674: .. ref-code-block:: cpp :class: doxyrest-title-code-block struct tarpc_rte_eth_dev_info dev_info Ethernet device information .. index:: pair: variable; eth_conf .. _doxid-structtest__ethdev__config_1a2bf16e31ab78e1950219ec0e1720a72d: .. ref-code-block:: cpp :class: doxyrest-title-code-block struct tarpc_rte_eth_conf* eth_conf A structure used to configure an Ethernet port .. index:: pair: variable; bus_name .. _doxid-structtest__ethdev__config_1a106189f4b4277d128da8e6cf179b17af: .. ref-code-block:: cpp :class: doxyrest-title-code-block const char* bus_name EAL generic bus name .. index:: pair: variable; dev_name .. _doxid-structtest__ethdev__config_1a8e2c757c79954a93b183decb8c2a72f6: .. ref-code-block:: cpp :class: doxyrest-title-code-block char dev_name[RPC_RTE_ETH_NAME_MAX_LEN] Device name .. index:: pair: variable; port_id .. _doxid-structtest__ethdev__config_1a5468de93d58340df8b3368a8b122ecf7: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint16_t port_id The port identifier of the device .. index:: pair: variable; socket_id .. _doxid-structtest__ethdev__config_1a32ef0fddd254faf60b7020911c6c2755: .. ref-code-block:: cpp :class: doxyrest-title-code-block int socket_id The socket identifier where the memory should be allocated .. index:: pair: variable; nb_rx_queue .. _doxid-structtest__ethdev__config_1afe9cedfdf610ab59dfaf389278f6a99a: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint16_t nb_rx_queue The number of receive queues .. index:: pair: variable; nb_tx_queue .. _doxid-structtest__ethdev__config_1ac325b0f4c4a6060b0b60b741310fe2c8: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint16_t nb_tx_queue The number of transmit queues .. index:: pair: variable; min_rx_desc .. _doxid-structtest__ethdev__config_1a3f553ac203af1b8a0719abc54b556d8b: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint16_t min_rx_desc The minimum number of receive descriptors per queue .. index:: pair: variable; min_tx_desc .. _doxid-structtest__ethdev__config_1aa4261a252589a66b7e3110a27d1c36e1: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint16_t min_tx_desc The minimum number of transmit descriptors per queue .. index:: pair: variable; required_mtu .. _doxid-structtest__ethdev__config_1a0e006e2710eece73e1b6c86cdf19b7d9: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint16_t required_mtu The required MTU to which default configuration items will be adjusted .. index:: pair: variable; is_rx_setup .. _doxid-structtest__ethdev__config_1ac2561a1eadaa074ca3e3ade65cf37599: .. ref-code-block:: cpp :class: doxyrest-title-code-block te_bool is_rx_setup The RX queues setup indicator .. index:: pair: variable; rx_confs .. _doxid-structtest__ethdev__config_1a32b4be34a0d3a41fe979f6a924ba7b57: .. ref-code-block:: cpp :class: doxyrest-title-code-block struct tarpc_rte_eth_rxconf** rx_confs Array of structures used to configure RX qeueus .. index:: pair: variable; tx_confs .. _doxid-structtest__ethdev__config_1a704f2b6ead529bd0867e1a3e49b032ee: .. ref-code-block:: cpp :class: doxyrest-title-code-block struct tarpc_rte_eth_txconf** tx_confs Array of structures used to configure TX qeueus .. index:: pair: variable; mp .. _doxid-structtest__ethdev__config_1a37e54f3af4ddef404c2bcf46443b3b30: .. ref-code-block:: cpp :class: doxyrest-title-code-block rpc_rte_mempool_p mp RTE mempool pointer .. index:: pair: variable; rx_mq .. _doxid-structtest__ethdev__config_1a08bfc5525e9a92d53fee6444ccf1a9df: .. ref-code-block:: cpp :class: doxyrest-title-code-block struct :ref:`test_rx_mq`* rx_mq Rx multi-queue setup data