#include <rte_cycles.h>
#include <rte_kvargs.h>
#include <rte_dev.h>
-#include <rte_ethdev_driver.h>
+#include <ethdev_driver.h>
#include <fslmc_logs.h>
#include <rte_fslmc.h>
}
/* Open the dpci object */
- dpci_node->dpci.regs = rte_mcp_ptr_list[MC_PORTAL_INDEX];
+ dpci_node->dpci.regs = dpaa2_get_mcp_ptr(MC_PORTAL_INDEX);
ret = dpci_open(&dpci_node->dpci,
CMD_PRI_LOW, dpci_id, &dpci_node->token);
if (ret) {