]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_ethdev/ethdev_driver.h
ethdev: support multi-host in representor
[dpdk.git] / lib / librte_ethdev / ethdev_driver.h
index d68b8401e7d4dbfdc2d8dcbc58dc4d8a54f02dcc..06ff35266f5effc4398d060c10d387e6ba572d04 100644 (file)
@@ -1222,6 +1222,10 @@ rte_eth_switch_domain_free(uint16_t domain_id);
  * One type of representor each structure.
  */
 struct rte_eth_devargs {
+       uint16_t mh_controllers[RTE_MAX_MULTI_HOST_CTRLS];
+       /** controller/s number in case of multi-host */
+       uint16_t nb_mh_controllers;
+       /** number of controllers in multi-host controllers field */
        uint16_t ports[RTE_MAX_ETHPORTS];
        /** port/s number to enable on a multi-port single function */
        uint16_t nb_ports;