ethdev: support multi-host in representor
[dpdk.git] / lib / librte_ethdev / ethdev_driver.h
index d68b840..06ff352 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;