The availability of certain API calls from a secondary process depends on the ENA driver version.
Up to ENA v2.5.0 (Experimental)
MP support was experimental and many calls were restricted because they required the ENA admin queue, which is only accessible via the primary process. The following calls were not supported from the secondary process:
rte_eth_stats_get()rte_eth_xstats_get()rte_eth_xstats_get_by_id() (specifically when requesting ENI limiters)
ENA v2.6.0 and later (DPDK v22.03+)
MP support was improved. The following functions can now be used safely from the secondary process:
rte_eth_stats_get()rte_eth_xstats_get()rte_eth_xstats_get_by_id()rte_eth_dev_set_mtu()rte_eth_dev_rss_reta_query()rte_eth_dev_rss_reta_update()
Note: Operations explicitly forbidden by DPDK documentation (such as those requiring memory allocations) will never be supported in secondary processes.