Hello
Stephen, thanks for your answer.
>Which of the rte_eth_xxx functions are you asking about?
I wonder if the following rte_eth_xxx functions can be used in secondary processes:
rte_eth_rx_burst
rte_eth_tx_burst
rte_eth_stats_reset
rte_eth_xstats_get
rte_eth_rx_queue_setup
rte_eth_tx_queue_setup
rte_eth_macaddr_getueue_setup
rte_eth_dev_set_mtu
rte_eth_dev_rx_queue_stop
rte_eth_dev_tx_queue_stop
rte_eth_dev_info_get
rte_eth_dev_get_name_by_port
rte_eth_dev_start
rte_eth_dev_socket_id
rte_eth_dev_configure
rte_eth_dev_count_avail
I also would like to ask if a secondary process can create and free memory pools using for example the following functions:
rte_pktmbuf_pool_create
rte_mempool_create
rte_mempool_create_empty
rte_mempool_set_ops_byname
rte_mempool_populate_default
rte_mempool_free
The applications I would like to use for shared memory using the DPDK multi-process use these rte_eth_xxx and rte memory pool functions for handling
Ethernet devices and memory pools so I wonder if these applications need to be modified in order to be used as secondary processes.
The NICs I plan to use are Intel 700 series (XL710 40GbE, XXV710 25 GbE) and Mellanox ConnectX-4 Lx 25GbE, ConnectX-5 100 GbE and ConnectX-6 100 GbE.
Can these be used from both the primary and the secondary processes?
Regards
Staffan