On 4/19/2017 2:09 PM, Hemant Agrawal wrote: > Signed-off-by: Hemant Agrawal <hemant.agra...@nxp.com>
<...> > - /*Close the device at underlying layer*/ > - ret = dpni_close(dpni, CMD_PRI_LOW, priv->token); > - if (ret) { > - PMD_INIT_LOG(ERR, "Failure closing dpni device with" > - " error code %d\n", ret); > - } > - > - /*Free the allocated memory for ethernet private data and dpni*/ > - priv->hw = NULL; > - free(dpni); Where this free operation done when it is removed from dpaa2_dev_uninit() ? > - > eth_dev->dev_ops = NULL; > eth_dev->rx_pkt_burst = NULL; > eth_dev->tx_pkt_burst = NULL; >