Searched refs:dpni_dev (Results 1 – 1 of 1) sorted by relevance
| /f-stack/dpdk/drivers/net/dpaa2/ |
| H A D | dpaa2_ethdev.c | 2428 ret = dpni_set_primary_mac_addr(dpni_dev, CMD_PRI_LOW, in populate_mac_addr() 2442 ret = dpni_set_primary_mac_addr(dpni_dev, CMD_PRI_LOW, in populate_mac_addr() 2501 struct fsl_mc_io *dpni_dev; in dpaa2_dev_init() local 2509 dpni_dev = rte_malloc(NULL, sizeof(struct fsl_mc_io), 0); in dpaa2_dev_init() 2510 if (!dpni_dev) { in dpaa2_dev_init() 2514 dpni_dev->regs = dpaa2_get_mcp_ptr(MC_PORTAL_INDEX); in dpaa2_dev_init() 2515 eth_dev->process_private = (void *)dpni_dev; in dpaa2_dev_init() 2538 ret = dpni_open(dpni_dev, CMD_PRI_LOW, hw_id, &priv->token); in dpaa2_dev_init() 2543 rte_free(dpni_dev); in dpaa2_dev_init() 2548 ret = dpni_reset(dpni_dev, CMD_PRI_LOW, priv->token); in dpaa2_dev_init() [all …]
|