Searched refs:dpni_dev (Results 1 – 2 of 2) sorted by relevance
| /dpdk/drivers/net/dpaa2/ |
| H A D | dpaa2_ethdev.c | 2510 ret = dpni_set_primary_mac_addr(dpni_dev, CMD_PRI_LOW, in populate_mac_addr() 2524 ret = dpni_set_primary_mac_addr(dpni_dev, CMD_PRI_LOW, in populate_mac_addr() 2583 struct fsl_mc_io *dpni_dev; in dpaa2_dev_init() local 2591 dpni_dev = rte_malloc(NULL, sizeof(struct fsl_mc_io), 0); in dpaa2_dev_init() 2592 if (!dpni_dev) { in dpaa2_dev_init() 2596 dpni_dev->regs = dpaa2_get_mcp_ptr(MC_PORTAL_INDEX); in dpaa2_dev_init() 2597 eth_dev->process_private = (void *)dpni_dev; in dpaa2_dev_init() 2620 ret = dpni_open(dpni_dev, CMD_PRI_LOW, hw_id, &priv->token); in dpaa2_dev_init() 2625 rte_free(dpni_dev); in dpaa2_dev_init() 2633 ret = dpni_reset(dpni_dev, CMD_PRI_LOW, priv->token); in dpaa2_dev_init() [all …]
|
| H A D | dpaa2_recycle.c | 616 struct fsl_mc_io *dpni_dev = eth_dev->process_private; in dpaa2_dev_recycle_config() local 653 ret = dpni_set_port_cfg(dpni_dev, CMD_PRI_LOW, in dpaa2_dev_recycle_config() 684 struct fsl_mc_io *dpni_dev = eth_dev->process_private; in dpaa2_dev_recycle_deconfig() local 716 ret = dpni_set_port_cfg(dpni_dev, CMD_PRI_LOW, in dpaa2_dev_recycle_deconfig()
|